The officially official Devuan Forum!

You are not logged in.

#1 2017-04-20 17:36:56

nathg
Member
Registered: 2017-04-20
Posts: 11  

upgraded jessie have some systemd files

I have a upgraded jessie system, which is working fine for my normal daily use. There are some '/etc/systemd/', '/var/lib/systemd', '/lib/systemd/' and 'deb-systemd-helper'. Those are associated with package 'init-system-helpers'.
It seems that those dir/files are actually redundant now and hope will not be included in newly installed system.

Offline

#2 2017-04-20 19:20:17

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: upgraded jessie have some systemd files

Some of them are from udev, and yeah, they will be there on a fresh install.

Offline

#3 2017-04-21 00:35:23

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 1,106  

Re: upgraded jessie have some systemd files

With a simple command like

dpkg -l | awk '$1=="ii" {print $2}' | xargs -rn1 -I+ sh -c "dpkg -L + | grep --label=+ -Hw systemd" > systemd-references.txt

you'll get a listing of how all installed packages have paths with the word "systemd" in their name.

On my laptop (Devuan beta fully upgraded), I find "systemd" mentioned by 29 packages in a total of 148 times, of which 90 are plain files (the other are directory paths). Specifically:

acpid:/lib/systemd/system/acpid.socket
acpid:/lib/systemd/system/acpid.path
acpid:/lib/systemd/system/acpid.service
alsa-utils:/lib/systemd/system/alsa-state.service
alsa-utils:/lib/systemd/system/alsa-store.service
alsa-utils:/lib/systemd/system/alsa-restore.service
alsa-utils:/lib/systemd/system/basic.target.wants/alsa-state.service
alsa-utils:/lib/systemd/system/basic.target.wants/alsa-restore.service
alsa-utils:/lib/systemd/system/alsa-utils.service
alsa-utils:/lib/systemd/system/shutdown.target.wants/alsa-store.service
anacron:/lib/systemd/system/anacron.service
anacron:/lib/systemd/system/anacron-resume.service
at:/lib/systemd/system/atd.service
augeas-lenses:/usr/share/augeas/lenses/dist/tests/test_systemd.aug
augeas-lenses:/usr/share/augeas/lenses/dist/systemd.aug
binfmt-support:/lib/systemd/system/binfmt-support.service
consolekit:/lib/systemd/system/console-kit-log-system-restart.service
consolekit:/lib/systemd/system/console-kit-log-system-stop.service
consolekit:/lib/systemd/system/console-kit-log-system-start.service
consolekit:/lib/systemd/system/console-kit-daemon.service
consolekit:/lib/systemd/system/reboot.target.wants/console-kit-log-system-restart.service
consolekit:/lib/systemd/system/poweroff.target.wants/console-kit-log-system-stop.service
consolekit:/lib/systemd/system/halt.target.wants/console-kit-log-system-stop.service
consolekit:/lib/systemd/system/basic.target.wants/console-kit-log-system-start.service
cron:/lib/systemd/system/cron.service
devuan-baseconf:/etc/apt/preferences.d/avoid-systemd
dmeventd:/lib/systemd/system/dm-event.socket
dmeventd:/lib/systemd/system/dm-event.service
dnsmasq:/lib/systemd/system/dnsmasq.service
ifupdown:/lib/systemd/system/networking.service
ifupdown:/lib/systemd/system/ifup@.service
init-system-helpers:/usr/share/man/man1/deb-systemd-helper.1p.gz
init-system-helpers:/usr/share/man/man1/deb-systemd-invoke.1p.gz
init-system-helpers:/usr/bin/deb-systemd-invoke
init-system-helpers:/usr/bin/deb-systemd-helper
libsystemd0:amd64:/usr/share/doc/libsystemd0
libsystemd0:amd64:/usr/share/doc/libsystemd0/changelog.Debian.gz
libsystemd0:amd64:/usr/share/doc/libsystemd0/copyright
libsystemd0:amd64:/lib/x86_64-linux-gnu/libsystemd.so.0.15.0
libsystemd0:amd64:/lib/x86_64-linux-gnu/libsystemd.so.0
libsystemd0:i386:/lib/i386-linux-gnu/libsystemd.so.0.15.0
libsystemd0:i386:/usr/share/doc/libsystemd0
libsystemd0:i386:/usr/share/doc/libsystemd0/changelog.Debian.gz
libsystemd0:i386:/usr/share/doc/libsystemd0/copyright
libsystemd0:i386:/lib/i386-linux-gnu/libsystemd.so.0
lintian:/usr/share/lintian/checks/systemd.desc
lintian:/usr/share/lintian/checks/systemd.pm
lm-sensors:/lib/systemd/system/lm-sensors.service
lvm2:/lib/systemd/system/lvm2-pvscan@.service
lvm2:/lib/systemd/system/lvm2-monitor.service
lvm2:/lib/systemd/system/lvm2-lvmetad.socket
lvm2:/lib/systemd/system/lvm2-lvmetad.service
lvm2:/lib/systemd/system/lvm2-activation.service
lvm2:/lib/systemd/system/lvm2-activation-early.service
lvm2:/lib/systemd/system/lvm2.service
openssh-server:/lib/systemd/system/ssh.service
openssh-server:/lib/systemd/system/ssh.socket
openssh-server:/lib/systemd/system/ssh@.service
pulseaudio:/usr/lib/systemd/user/pulseaudio.socket
pulseaudio:/usr/lib/systemd/user/pulseaudio.service
pulseaudio:/usr/lib/pulse-7.1/modules/module-systemd-login.so
rsync:/lib/systemd/system/rsync.service
screen:/lib/systemd/system/screen-cleanup.service
slim:/lib/systemd/system/slim.service
sudo:/lib/systemd/system/sudo.service
system-config-printer-udev:/lib/systemd/system/configure-printer@.service
udev:/usr/share/man/man8/systemd-udevd.service.8.gz
udev:/usr/share/man/man8/systemd-hwdb.8.gz
udev:/bin/systemd-hwdb
udev:/lib/systemd/systemd-udevd
udev:/lib/systemd/system/systemd-hwdb-update.service
udev:/lib/systemd/system/systemd-udevd.service
udev:/lib/systemd/system/systemd-udevd-kernel.socket
udev:/lib/systemd/system/systemd-udevd-control.socket
udev:/lib/systemd/system/systemd-udev-trigger.service
udev:/lib/systemd/system/systemd-udev-settle.service
udev:/lib/systemd/network/99-default.link
udev:/usr/share/man/man8/systemd-udevd-control.socket.8.gz
udev:/usr/share/man/man8/systemd-udevd.8.gz
udev:/usr/share/man/man8/systemd-udevd-kernel.socket.8.gz
udev:/lib/systemd/system/udev.service
udev:/lib/systemd/system/sysinit.target.wants/systemd-hwdb-update.service
udev:/lib/systemd/system/sysinit.target.wants/systemd-udevd.service
udev:/lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service
udev:/lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket
udev:/lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket
usb-modeswitch:/lib/systemd/system/usb_modeswitch@.service
wpasupplicant:/lib/systemd/system/wpa_supplicant.service
xserver-xorg-input-wacom:/lib/systemd/system/wacom-inputattach@.service
zsh-common:/usr/share/zsh/functions/Completion/Unix/_systemd

Offline

#4 2017-04-21 05:34:36

nathg
Member
Registered: 2017-04-20
Posts: 11  

Re: upgraded jessie have some systemd files

Yes, no problem with those files in system except those associated with some essential packages like udev etc not maintained by devuan. I understand now those service files and some zero bite files can be removed if i don't like "systemd" on my system. As i don't have package systemd , hope those socket, path files are no longer used by respective packages. Actually /lib/systemd/ is used by few other packages like slim. So i have some doubt before removing.

Offline

#5 2017-04-21 16:14:45

Nili
Member
From: $HOME/♫♪
Registered: 2016-12-01
Posts: 230  
Website

Re: upgraded jessie have some systemd files

Thanks for the command ralph,
I did not hesitate to do a system check right now, these comes up.

alsa-utils:/lib/systemd
alsa-utils:/lib/systemd/system
alsa-utils:/lib/systemd/system/alsa-store.service
alsa-utils:/lib/systemd/system/basic.target.wants
alsa-utils:/lib/systemd/system/alsa-restore.service
alsa-utils:/lib/systemd/system/alsa-state.service
alsa-utils:/lib/systemd/system/shutdown.target.wants
alsa-utils:/lib/systemd/system/basic.target.wants/alsa-restore.service
alsa-utils:/lib/systemd/system/basic.target.wants/alsa-state.service
alsa-utils:/lib/systemd/system/alsa-utils.service
alsa-utils:/lib/systemd/system/shutdown.target.wants/alsa-store.service
cron:/lib/systemd
cron:/lib/systemd/system
cron:/lib/systemd/system/cron.service
devuan-baseconf:/etc/apt/preferences.d/avoid-systemd
init-system-helpers:/var/lib/systemd
init-system-helpers:/etc/systemd
init-system-helpers:/etc/systemd/system
init-system-helpers:/usr/share/man/man1/deb-systemd-helper.1p.gz
init-system-helpers:/usr/share/man/man1/deb-systemd-invoke.1p.gz
init-system-helpers:/usr/bin/deb-systemd-invoke
init-system-helpers:/usr/bin/deb-systemd-helper
sudo:/lib/systemd
sudo:/lib/systemd/system
sudo:/lib/systemd/system/sudo.service
udev:/usr/share/man/man8/systemd-udevd.service.8.gz
udev:/lib/systemd
udev:/lib/systemd/systemd-udevd
udev:/lib/systemd/system
udev:/lib/systemd/system/udev-finish.service
udev:/lib/systemd/system/sysinit.target.wants
udev:/lib/systemd/system/sockets.target.wants
udev:/lib/systemd/system/systemd-udevd.service
udev:/lib/systemd/system/systemd-udevd-kernel.socket
udev:/lib/systemd/system/systemd-udevd-control.socket
udev:/lib/systemd/system/systemd-udev-trigger.service
udev:/lib/systemd/system/systemd-udev-settle.service
udev:/usr/share/man/man8/systemd-udevd.8.gz
udev:/usr/share/man/man8/systemd-udevd-control.socket.8.gz
udev:/usr/share/man/man8/systemd-udevd-kernel.socket.8.gz
udev:/lib/systemd/system/udev.service
udev:/lib/systemd/system/sysinit.target.wants/udev-finish.service
udev:/lib/systemd/system/sysinit.target.wants/systemd-udevd.service
udev:/lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service
udev:/lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket
udev:/lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket
udevil:/usr/lib/i386-linux-gnu/systemd
udevil:/usr/lib/i386-linux-gnu/systemd/system
udevil:/usr/lib/i386-linux-gnu/systemd/system/devmon@.service

I don't really know what to do with them, to get rids or just ignoring by leaving where they are?

Regards!


openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

Offline

#6 2017-04-22 01:53:40

golinux
Administrator
Registered: 2016-11-25
Posts: 3,137  

Re: upgraded jessie have some systemd files

I'm drowning in systemd files too.  I'd really, REALLY like to get rid of them:

acpi-fakekey:/lib/systemd
acpi-fakekey:/lib/systemd/system
acpi-fakekey:/lib/systemd/system/acpi-fakekey.service
acpi-fakekey:/lib/systemd/system/acpi-fakekey.socket
acpid:/lib/systemd
acpid:/lib/systemd/system
acpid:/lib/systemd/system/acpid.service
acpid:/lib/systemd/system/acpid.socket
acpid:/lib/systemd/system/acpid.path
alsa-utils:/lib/systemd
alsa-utils:/lib/systemd/system
alsa-utils:/lib/systemd/system/alsa-store.service
alsa-utils:/lib/systemd/system/basic.target.wants
alsa-utils:/lib/systemd/system/alsa-restore.service
alsa-utils:/lib/systemd/system/alsa-state.service
alsa-utils:/lib/systemd/system/shutdown.target.wants
alsa-utils:/lib/systemd/system/basic.target.wants/alsa-restore.service
alsa-utils:/lib/systemd/system/basic.target.wants/alsa-state.service
alsa-utils:/lib/systemd/system/alsa-utils.service
alsa-utils:/lib/systemd/system/shutdown.target.wants/alsa-store.service
anacron:/lib/systemd
anacron:/lib/systemd/system
anacron:/lib/systemd/system/anacron.service
anacron:/lib/systemd/system/anacron-resume.service
avahi-daemon:/lib/systemd
avahi-daemon:/lib/systemd/system
avahi-daemon:/lib/systemd/system/avahi-daemon.service
avahi-daemon:/lib/systemd/system/avahi-daemon.socket
cgmanager:/lib/systemd
cgmanager:/lib/systemd/system
cgmanager:/lib/systemd/system/cgmanager.service
cgmanager:/lib/systemd/system/cgproxy.service
colord:/lib/systemd
colord:/lib/systemd/system
colord:/lib/systemd/system/colord.service
consolekit:/lib/systemd
consolekit:/lib/systemd/system
consolekit:/lib/systemd/system/reboot.target.wants
consolekit:/lib/systemd/system/poweroff.target.wants
consolekit:/lib/systemd/system/halt.target.wants
consolekit:/lib/systemd/system/basic.target.wants
consolekit:/lib/systemd/system/console-kit-log-system-restart.service
consolekit:/lib/systemd/system/console-kit-log-system-stop.service
consolekit:/lib/systemd/system/console-kit-log-system-start.service
consolekit:/lib/systemd/system/console-kit-daemon.service
consolekit:/lib/systemd/system/reboot.target.wants/console-kit-log-system-restart.service
consolekit:/lib/systemd/system/poweroff.target.wants/console-kit-log-system-stop.service
consolekit:/lib/systemd/system/halt.target.wants/console-kit-log-system-stop.service
consolekit:/lib/systemd/system/basic.target.wants/console-kit-log-system-start.service
cron:/lib/systemd
cron:/lib/systemd/system
cron:/lib/systemd/system/cron.service
cups-browsed:/lib/systemd
cups-browsed:/lib/systemd/system
cups-browsed:/lib/systemd/system/cups-browsed.service
devuan-baseconf:/etc/apt/preferences.d/avoid-systemd

Offline

#7 2017-08-16 01:55:41

shevy
Member
Registered: 2017-08-16
Posts: 8  

Re: upgraded jessie have some systemd files

Seems to be pretty hard to cleanse the system from systemd. :>

Offline

#8 2017-08-16 08:25:20

FOSSuser
Member
From: Surrey/Hants border UK
Registered: 2016-12-11
Posts: 167  

Re: upgraded jessie have some systemd files

It's a cancer spreading throughout Linuxland, unfortunately. sad

Last edited by FOSSuser (2017-08-16 08:26:14)

Offline

#9 2017-08-17 01:11:00

garyz.dev1
Member
From: U.S.-South Carolina
Registered: 2017-06-15
Posts: 89  

Re: upgraded jessie have some systemd files

I am writing this from an ascii version and the above "dpkg command" gives me
172 lines of files! (according to Pluma)
make that 171 -
this is line  56  -devuan-baseconf:/etc/apt/preferences.d/avoid-systemd
'
I thought ASCII was going to do away with systemd altogether ??!!
there is some work to do --
Jessie got rid of systemd as a PID 1 init. -

Offline

Board footer