Questions tagged [lsb]

The Linux Standard Base (LSB) was created to lower the overall costs of supporting the Linux platform. By reducing the differences between individual Linux distributions, the LSB greatly reduces the costs involved with porting applications to different distributions, as well as lowers the cost and effort involved in after-market support of those applications.

Filter by
Sorted by
Tagged with
-3 votes
1 answer
284 views

How can an application compiled for a particular Linux version be run on any version, when there is no ABI compatibility guaranteed?

Let us say, an application - JDK, which is compiled against certain the linux version - say 4.18, available for the download. How can the same application can be run on different linux version - say 3....
  • 215
3 votes
2 answers
2k views

Why lsb_release -c command , returns n/a? [duplicate]

recently I switched from zorin os to deepin 20 for it's outstanding UI and eases of use for daily operations. it's almost OK but if I need some newer packages which are not listed in official deepin ...
  • 141
1 vote
2 answers
184 views

Is a NEWLINE character at line end required by LSB (Linux Standard Base)?

Both POSIX and SUS (Single UNIX Specification) define a line as A sequence of zero or more non-<newline> characters plus a terminating <newline> character. Many distributions are more ...
2 votes
1 answer
1k views

Debian: LSB package for OpenPrinting driver

I have an old printer which requires the LSB package in order to install the OpenPrinting driver in Debian: Preparation of LSB-compliant distributions However, the current version of Debian no longer ...
2 votes
4 answers
19k views

Debian: unable to install lsb package

I have an Epson ET-2600 printer at home. I tried configuring it using CUPS, but the printing is very slow and constantly in a very high quality (which results in a lot of ink being wasted). I tried to ...
  • 337
1 vote
1 answer
39 views

'chkconfig umountnfs.sh on' does not create symlink

on Debian, the init script /etc/init.d/umountnfs.sh has default stop in runlevel 0 and 6. # Default-Stop: 0 6 but there is no symlink in /etc/rc0.d/ or /etc/rc6.d/ on my system. I am trying to ...
1 vote
1 answer
207 views

How to migrate a multi-instance LSB script to systemd?

I wrote an LSB init script that can manage multiple instances of my daemon: rcfoo start starts all the instances (which are found in some /etc configuration file), rcfoo stop stops all the instances, ...
  • 904
8 votes
2 answers
16k views

Can systemctl list all enabled services, including legacy services?

This question asks: "How to list all enabled services from systemctl?" Answers on that page include: systemctl list-unit-files | grep enabled systemctl list-unit-files --state=enabled At least as ...
  • 1,306
2 votes
1 answer
2k views

LSB codename isn't a valid Linux Mint codename, cannot install Wine

Just installed Linux Mint 18.2 Cinnamon yesterday and am now trying to get Wine installed but everything I do results in this same error. Somehow my codename must not match to Linux Mint Cinnamon and ...
8 votes
1 answer
19k views

What is the best method to test if a program exists for a shell script? [duplicate]

I'm just curious to know how to best check if a program exists. I've seen solutions with test command hash type which [ Which is the best method, is there a right answer? What does the POSIX and ...
22 votes
2 answers
55k views

Reducing shutdown timeout for "a stop job is running"

I've got node.js and pm2 installed on a Pi (Raspbian). PM2 was configured to start via pm2 startup and the init scripts it creates. Sometimes when I reboot, shutdown hangs for a few minutes on: A ...
  • 1,271
1 vote
2 answers
9k views

Startup script to run a shell script as daemon

I am using Debian Stretch with systemd version 231-9. I need to run some shell scripts and non-daemon programs in background even when I logout. I used to make simple init.d scripts with LSB header ...
  • 111
4 votes
1 answer
5k views

How to redirect a daemon's stdout and stderr using start-stop-daemon(8)?

I run Debian 8 jessie. I have activated a daemon's debugging facility, which causes the daemon to print debugging info to stdout and/or stderr. How can I persuade start-stop-daemon(8), as invoked by /...
  • 1,115
2 votes
0 answers
189 views

Is there a standard way for getting the media mount path (like /media/user, /run/media/user...)?

In an application, I need to find out where removable media is mounted. On Ubuntu, this happens in /media/username/ . On Arch, it is /run/media/username/ . On other systems, its just /media/ etc. ...
  • 131
4 votes
1 answer
745 views

confusing behavior of LSB Init Scripts in Debian

I am experiencing strange behavior with LSB Init Scripts in Debian Wheezy. I can demonstrate the problem on following example: The script /etc/init.d/resolvconf starts in S and stops in runlevels 0 ...
3 votes
1 answer
209 views

What is it that parses the LSB information in init scripts?

At the top of files in /etc/init.d are comments like the following. ### BEGIN INIT INFO # Provides: ntp # Required-Start: $network $remote_fs $syslog # Required-Stop: $network $remote_fs $...
1 vote
1 answer
824 views

Why have the X server configuration files moved from /etc/Xorg to /usr/share/Xorg?

It used to be the case (since the XFree86 days and maybe earlier) that X server configuration files are to be found under /etc; namely in /etc/Xorg. However, recent distributions (at least, recent ...
  • 7,703
2 votes
1 answer
3k views

Hamachi failing to install/start on debian 8 server

i am trying to set up a headless minecraft server using debian. So far everything is working save for hamachi (portforwarding is coming later). I installed the .deb file from https://secure.logmein....
  • 241
22 votes
1 answer
37k views

Why did pip install a package into ~/.local/bin?

When I install this "Taurus Blazemeter 'bzt'" program with pip, it ends up being installed into ~/.local/bin folder. mkdir ~/bzt && cd ~/bzt sudo apt-get install python default-jre-...
  • 3,630
1 vote
0 answers
452 views

How to write LSB init.d scripts that can run multiple instances of the same service?

Here is the problem I have: I do have to run multiple instances of several services on the same machine and I want to be able to re-use the init.d scripts. You can see here an example of service ...
  • 1,129
20 votes
4 answers
42k views

How to change network interface connection timeout in systemctl

When I boot my Debian system, its startup hangs for approximately 2 minutes on the line: Loading, please wait... [ 5.191043] systemd-fsck[129]: /dev/mmcblk0p2: clean, 234192/873120 files, 2335263/...
  • 302
1 vote
1 answer
725 views

Startup script with LSB headers not working correctly (dependency problem?)

I am creating a startup script for my Ubuntu 14.04.1 LTS server. The script needs to be run after the Rabbit MQ server. The Rabbit MQ startup script says it provides "rabbitmq-server". So ...
  • 203
2 votes
1 answer
3k views

start-stop-daemon returning always 0 (success)

I have set up start-stop-daemon to start my script automatically case "$1" in start) log_begin_msg "starting foo" start-stop-daemon --start --chuid nobody --user nobody --pidfile \ ...
6 votes
2 answers
2k views

Is Android compatible with the Linux Standard Base?

Moved from Stack Overflow, where I realize it was off-topic since it was asking for sources - far as I can tell, the rules forbid that there but not here. I know that the kernel in Android is now ...
1 vote
0 answers
698 views

Ubuntu Trusty Preseed Error

I have a preseed file that installs Trusty but the install is giving me this error: Jul 22 17:52:42 in-target: Setting up sysv-rc (2.88dsf-41+deb7u1) ... Jul 22 17:52:42 in-target: info: Reordering ...
4 votes
1 answer
890 views

What provides LSB virtual boot facilities for Debian?

Debian's version of Sysv init uses scripts which reference various LSB "virtual" boot facilities such as $local_fs and $network as requirements for use by insserv in setting up the boot sequence, but ...
  • 83.6k
1 vote
1 answer
2k views

How to install an Intel binary file on ARM?

I am trying to install a binary file, and I get the output as "Cannot install binary". When I did file .bin, the output is: c64plus-imglib_2_02_00_00_Linux-x86_Setup.bin: ELF 32-bit LSB executable, ...
4 votes
1 answer
3k views

How do I run a script just before halt using LSB headers on Raspbian

I'm building a shutdown button for my Raspberry pi, and for that I have a python script that needs to change a GPIO pin on my Raspberry Pi just before the system runs the halt script. Now Raspbian ...
1 vote
1 answer
199 views

Setting up Bind9 - lsb-base not in sources

I've been having real trouble installing Bind9 following this tutorial http://forums.debian.net/viewtopic.php?f=16&t=39146 When I get to entering these commands: apt-get -y build-dep lsb-base ...
  • 111
5 votes
2 answers
3k views

How do I get the DISTRIB_CODENAME?

Which is the shortest way to get the variable $DISTRIB_CODENAME from /etc/lsb-release? I want to make this somewhat shorter: $ sudo add-apt-repository \ "deb http://some-repo/ubuntu $(grep ...
  • 25.6k
1 vote
1 answer
208 views

what does the linux standard base specify about the kernel?

I was taking a look at the Linux standard base (lsb) and could not find much interesting info on the kernel. Does the LSB specify anything at all about the kernel or kernel interface? Is it kernel ...
1 vote
0 answers
56 views

How to interpret the explicit references to GNU in the LSB specifications?

The LSB is a specification, and as such, should be provider neutral. But it contains many “hard‑coded” reference to GNU at many places. Ex. the ELF Linux's specific entries PT_GNU_STACK, PT_GNU_RELRO ...
  • 825
4 votes
2 answers
272 views

Are there any discussions about proposing a new filesystem hierarchy standard?

Are there any current discussions about switch to a different standard directory hierarchy for Linux? The only thing I currently know of is GoboLinux, which looks quite outdated.