Page 1 of 1

Lots of new services!

Posted: 2021-07-20 18:03
by CwF
It looks like things are about to get real fun!

How much will I have to undo, or redo the misdo.

I've been working in the directory /etc/systemd/system/
Usually just a few files in the way of finding the few units I've created. Now, there are 30+ *.service's of 0 bytes linked to /dev/null as of the last bullseye update.
Interesting!
I got suspicious, and typed 'systemctl edit my-custom-mount.mount' and got a wonderful notice of failure creating the *.mount.d/override.conf file.
hmmm. it used to open the file directly... on edit, never mind, figured that out (user vs.system)
and no strike through property in the forum menu!?

Fun.

Re: Lots of new services!

Posted: 2021-07-20 19:51
by craigevil
There are a few there:

Code: Select all

sudo ls -l  /etc/systemd/system/
total 84
-rw-r--r-- 1 root root 1551 Jan 27 04:57 autologin@.service
drwxr-xr-x 2 root root 4096 May 12 00:11 bluetooth.target.wants
drwxr-xr-x 2 root root 4096 Jul 18 14:10 cloud-final.service.wants
lrwxrwxrwx 1 root root   42 Mar  4 18:04 dbus-fi.w1.wpa_supplicant1.service -> /lib/systemd/system/wpa_supplicant.service
lrwxrwxrwx 1 root root   37 Mar  4 18:03 dbus-org.bluez.service -> /lib/systemd/system/bluetooth.service
lrwxrwxrwx 1 root root   40 Mar  4 18:03 dbus-org.freedesktop.Avahi.service -> /lib/systemd/system/avahi-daemon.service
lrwxrwxrwx 1 root root   44 May 12 02:13 dbus-org.freedesktop.resolve1.service -> /lib/systemd/system/systemd-resolved.service
lrwxrwxrwx 1 root root   45 Mar  4 18:00 dbus-org.freedesktop.timesync1.service -> /lib/systemd/system/systemd-timesyncd.service
lrwxrwxrwx 1 root root   36 May 13 16:10 default.target -> /lib/systemd/system/graphical.target
drwxr-xr-x 2 root root 4096 May 11 23:07 default.target.wants
lrwxrwxrwx 1 root root   34 Mar  4 18:04 dhcpcd5.service -> /lib/systemd/system/dhcpcd.service
lrwxrwxrwx 1 root root   35 May 11 23:11 display-manager.service -> /lib/systemd/system/lightdm.service
-rw-r--r-- 1 root root  193 May 30 21:43 fbcp.service
drwxr-xr-x 2 root root 4096 May 14 00:08 fstrim.timer.d
drwxr-xr-x 2 root root 4096 Jun  1 13:05 getty.target.wants
drwxr-xr-x 2 root root 4096 Mar  4 18:10 getty@tty1.service.d
drwxr-xr-x 2 root root 4096 May 28 11:34 graphical.target.wants
drwxr-xr-x 2 root root 4096 Mar  4 18:02 halt.target.wants
drwxr-xr-x 2 root root 4096 Jul 20 13:22 multi-user.target.wants
drwxr-xr-x 2 root root 4096 May 11 23:10 network-online.target.wants
drwxr-xr-x 2 root root 4096 Mar  4 18:02 poweroff.target.wants
drwxr-xr-x 2 root root 4096 Mar  4 18:09 printer.target.wants
drwxr-xr-x 2 root root 4096 Mar  4 18:04 rc-local.service.d
drwxr-xr-x 2 root root 4096 Mar  4 18:02 reboot.target.wants
drwxr-xr-x 2 root root 4096 Mar  4 18:03 remote-fs.target.wants
drwxr-xr-x 2 root root 4096 Jun 11 15:06 sleep.target.wants
drwxr-xr-x 2 root root 4096 Jul 18 14:10 sockets.target.wants
drwxr-xr-x 2 root root 4096 Jul 20 13:24 sysinit.target.wants
lrwxrwxrwx 1 root root   35 Mar  4 18:00 syslog.service -> /lib/systemd/system/rsyslog.service
drwxr-xr-x 2 root root 4096 Jul 12 00:28 timers.target.wants

Re: Lots of new services!

Posted: 2021-07-20 20:11
by CwF
craigevil wrote: 2021-07-20 19:51 There are a few there:

Code: Select all

sudo ls -l /etc/systemd/system/
total 84
84 might be right, but your listing doesn't show the links.
And they were not there yesterday!

here, trimmed down...

Code: Select all

:/etc/systemd/system# ls -l
total 56
drwxr-xr-x 2 root root 4096 Feb 26  2017 bluetooth.target.wants
lrwxrwxrwx 1 root root    9 Dec  4  2018 bootlogs.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 bootmisc.service -> /dev/null
lrwxrwxrwx 1 root root    9 Jan 14  2019 brightness.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 checkfs.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 checkroot-bootclean.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 checkroot.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 halt.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 hostname.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 killprocs.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 motd.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 mountall-bootclean.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 mountall.service -> /dev/null
lrwxrwxrwx 1 root root    9 Jul 18  2020 mount-configfs.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 mountdevsubfs.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 mountkernfs.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 mountnfs-bootclean.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 mountnfs.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 rc.local.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 reboot.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 rmnologin.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 sendsigs.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 single.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 umountfs.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 umountnfs.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 umountroot.service -> /dev/null
lrwxrwxrwx 1 root root    9 Dec  4  2018 urandom.service -> /dev/null