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
1answer
56 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....
2
votes
1answer
106 views

Why lsb_release -c command , returns n/a?

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 ...
1
vote
2answers
70 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 ...
1
vote
0answers
454 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
3answers
4k 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 ...
1
vote
0answers
20 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
1answer
118 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, ...
7
votes
1answer
12k 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 ...
2
votes
1answer
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 ...
1
vote
1answer
9k 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 ...
20
votes
2answers
38k 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
vote
2answers
8k 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 ...
3
votes
1answer
4k 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 /...
2
votes
0answers
81 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. ...
4
votes
1answer
572 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
1answer
153 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
1answer
335 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 ...
2
votes
1answer
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....
9
votes
1answer
18k 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-...
1
vote
0answers
377 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 ...
16
votes
4answers
36k views

How to change 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/...
1
vote
1answer
677 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 ...
2
votes
1answer
2k 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
2answers
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
0answers
615 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
1answer
737 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 ...
1
vote
1answer
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
1answer
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
1answer
181 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 ...
5
votes
2answers
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 ...
1
vote
1answer
151 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
0answers
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 ...
5
votes
2answers
211 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.