Lots of new services!

Here you can discuss every aspect of Debian. Note: not for support requests!
Post Reply
Message
Author
CwF
Posts: 1118
Joined: 2018-06-20 15:16
Has thanked: 1 time
Been thanked: 4 times

Lots of new services!

#1 Post 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.

User avatar
craigevil
Posts: 5258
Joined: 2006-09-17 03:17
Location: Oz
Has thanked: 3 times
Been thanked: 3 times

Re: Lots of new services!

#2 Post 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
Raspberry PI 400 Distro: Raspberry Pi OS (Unstable) Kernel: 5.10.52-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"

CwF
Posts: 1118
Joined: 2018-06-20 15:16
Has thanked: 1 time
Been thanked: 4 times

Re: Lots of new services!

#3 Post 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

Post Reply