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.

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.

33 questions
24
votes
1 answer

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-headless python-tk python-pip python-dev libxml2-dev libxslt-dev…
djangofan
  • 4,002
  • 5
  • 21
  • 19
23
votes
2 answers

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 stop job is running for LSB: PM2 init script (... /…
Jason C
  • 1,341
  • 3
  • 13
  • 29
21
votes
4 answers

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/3491328 blocks [ 6.645242] intel_rapl: no valid…
Jealie
  • 312
  • 1
  • 2
  • 7
9
votes
1 answer

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

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 LSB specs say about this?
Evan Carroll
  • 28,578
  • 45
  • 164
  • 290
8
votes
2 answers

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 of systemd version 229 (on Ubuntu 16.04), systemctl…
mpb
  • 1,501
  • 1
  • 15
  • 23
6
votes
2 answers

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 mostly the Linux kernel with a few exceptions like…
Displaced Hoser
  • 163
  • 1
  • 4
5
votes
2 answers

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 CODENAME lsb-release |sed s/^.*=//g) main"
rubo77
  • 27,777
  • 43
  • 130
  • 199
4
votes
2 answers

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.
WestFlame
  • 141
  • 2
4
votes
1 answer

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 /lib/lsb/init-functions, to redirect the daemon's…
thb
  • 1,125
  • 12
  • 21
4
votes
1 answer

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 and 6. # Default-Start: S # Default-Stop: …
Martin Vegter
  • 69
  • 66
  • 195
  • 326
4
votes
1 answer

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 they are not necessarily provided by any…
goldilocks
  • 86,451
  • 30
  • 200
  • 258
4
votes
1 answer

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 uses LSB headers to determine the order in which…
Jens Wegar
  • 141
  • 1
  • 4
3
votes
2 answers

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 repositories, I have to use some community…
smbanaei
  • 141
  • 6
3
votes
5 answers

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 download the .deb packages from here, but it…
LuxGiammi
  • 347
  • 1
  • 2
  • 12
3
votes
0 answers

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. There seems to be no XDG environment variable for…
dv_
  • 141
  • 2
1
2 3