The officially official Devuan Forum!

You are not logged in.

#1 2018-03-04 20:17:54

Registered: 2016-11-25
Posts: 2,103  

Why are systemd files present in Devuan?

Why are there systemd files present in Devuan?  That question has been asked and answered several times including recently on the DNG mail list at the end of this post:

I issued $locate systemd
and got 200 lines of output, including
/etc/systemd/system/* (23 files)
/lib/systemd/system/* (60 files)
/lib/x86_64-linux-gnu/ (and 0.17.0)
/usr/lib/systemd (25 files)
/usr/bin/deb-systemd-helper ((and deb-systemd-invoke)
/var/lib/systemd/deb-systemd-helper-enabled/* (68 files)
/var/lib/dpkg/info/libsystemd):amd64* (5 files)

This seems a lot to me.  Please could you confirm that an ascii
installation should contain 200 systemd files as part of a normal
ascii installation.  Sorry to trouble you if these are trivial
questions, but they feel far from that.
Many thanks

Most of those "alarming" files are just systemd units files, put there
by daemons/packages/utilities who "also" support systemd in a way or
another. So they are not alarming but just *totally* *harmless* if you
don't have a running systemd as PID 1, since only systemd understands
and can run them.  It would be *totally* *useless* (and utterly
*stupid* IMHO) to fork, rebuild, and maintain a few more hundred
packages only because they happen to provide a systemd unit file for
those systems where systemd is used.

libsystemd0 is used by some daemons to verify if systemd is running or
not. If it's not, libsystemd is *totally* *harmless*.




#2 2018-03-05 21:53:52

Registered: 2017-04-07
Posts: 426  

Re: Why are systemd files present in Devuan?

Good info Golinux!

Lots of examples of this, I personally try to NOT use Pulseaudio, but installing VLC drags in libpulse, not because VLC won't work on ALSA, but so it can communicate if need be with another machine on a network that does use it. So in practice it's never used expect for the above scenario. I simply deleted most of the pulse files and made it into a dummy package. Not that it wasn't a dummy to start with. wink
Vuu-do GNU/Linux, minimal 64 and 32 bit Devuan-based openbox and mate systems to build on, maximal versions if you prefer your linux fully-loaded.

Please donate to support Devuan and init freedom!


#3 2018-06-04 19:19:50

Registered: 2017-09-02
Posts: 61  

Re: Why are systemd files present in Devuan?

I did check in my installation (in Jessie):

sudo apt-get --no-install-recommends install sudo gpm clex xinit xserver-common xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-mouse xserver-xorg-video-modesetting xserver-xorg-video-intel x11-apps x11-common x11-session-utils x11-utils x11-xkb-utils x11-xserver-utils xfonts-base xfonts-encodings xfonts-scalable xfonts-utils xserver-xorg xserver-xorg-video-vmware xterm menu 9menu ratpoison jwm choosewm merkaartor mpv deborphan rxvt alsa-base alsa-tools alsa-utils alsa-tools-gui pulseaudio cups-client cups-common cups-server-common ssl-cer

(I did only add manually QtWeb and Seamonkey, each the last proposed download from the sites of both, and from my last (32 bit) Debian Jessie installation...)

I did really find in my absolutely minimal installation a subdir /lib/systemd with an impressive content!


#4 2020-12-06 00:52:00

Registered: 2019-08-21
Posts: 10  

Re: Why are systemd files present in Devuan?

Those are called 'stubs' in computer science. They are put there as a deprecation to keep apps & utilities that reference them from failing catastrophically. (It's kinda like having a "guest" bedroom, but never inviting anyone to spend the night (which demonstrates that you are socially competent, but you don't actually have to go there)).

Last edited by Jafa (2020-12-06 01:16:20)


Board footer