[Bug 1815987] Re: Systemd-tmpfiles-setup won't launch in Ubuntu 18.04 LTS
Kris B.
1815987 at bugs.launchpad.net
Fri Apr 26 02:44:39 UTC 2019
krisbee at mythserver2018:~$ sudo ls -la /
total 120
drwxr-xr-x 25 root root 4096 Apr 11 18:41 .
drwxr-xr-x 25 root root 4096 Apr 11 18:41 ..
drwxr-xr-x 2 root root 4096 Apr 20 15:34 bin
drwxr-xr-x 3 root root 4096 Apr 20 15:37 boot
drwxrwxr-x 2 root root 4096 Jul 8 2018 cdrom
drwxr-xr-x 21 root root 4580 Apr 25 07:32 dev
drwxr-xr-x 157 root root 12288 Apr 20 15:37 etc
drwxr-xr-x 5 root root 4096 Feb 1 21:37 home
lrwxrwxrwx 1 root root 33 Apr 7 16:19 initrd.img -> boot/initrd.img-4.15.0-47-generic
lrwxrwxrwx 1 root root 33 Apr 7 16:19 initrd.img.old -> boot/initrd.img-4.15.0-46-generic
drwxr-xr-x 21 root root 4096 Sep 6 2018 lib
drwxr-xr-x 2 root root 4096 Jul 29 2018 lib32
drwxr-xr-x 2 root root 4096 Apr 26 2018 lib64
drwx------ 2 root root 16384 Jul 8 2018 lost+found
drwxr-xr-x 3 root root 4096 Jul 8 2018 media
drwxr-xr-x 4 root root 4096 Jul 11 2018 mnt
drwxr-xr-x 5 root root 4096 Mar 5 19:57 opt
dr-xr-xr-x 294 root root 0 Apr 20 15:38 proc
drwx------ 6 root root 4096 Nov 23 17:51 root
drwxr-xr-x 33 root root 1120 Apr 25 06:30 run
drwxr-xr-x 2 root root 12288 Apr 20 15:35 sbin
drwxr-xr-x 2 root root 4096 Jul 8 2018 snap
drwxr-xr-x 2 root root 4096 Apr 26 2018 srv
dr-xr-xr-x 13 root root 0 Apr 25 22:40 sys
drwxrwxrwt 22 root root 12288 Apr 25 22:39 tmp
drwxr-xr-x 12 root root 4096 Jun 11 2010 usr
drwxr-xr-x 15 root root 4096 May 23 2010 var
lrwxrwxrwx 1 root root 30 Apr 7 16:19 vmlinuz -> boot/vmlinuz-4.15.0-47-generic
lrwxrwxrwx 1 root root 30 Apr 7 16:19 vmlinuz.old -> boot/vmlinuz-4.15.0-46-generic
krisbee at mythserver2018:~$ sudo ls -la /var/
total 60
drwxr-xr-x 15 root root 4096 May 23 2010 .
drwxr-xr-x 25 root root 4096 Apr 11 18:41 ..
drwxr-xr-x 2 root root 4096 Apr 21 00:06 backups
drwxr-xr-x 20 root root 4096 Jul 27 2018 cache
drwxrwsrwt 2 root whoopsie 4096 Apr 23 00:05 crash
drwxr-xr-x 90 krisbee krisbee 4096 Apr 7 16:16 lib
drwxrwsr-x 2 root staff 4096 Apr 24 2018 local
lrwxrwxrwx 1 root root 9 Jul 8 2018 lock -> /run/lock
drwxrwxr-x 18 root syslog 4096 Apr 25 00:06 log
drwxrwsr-x 2 root mail 4096 Apr 25 22:40 mail
drwxrwsrwt 2 root whoopsie 4096 Apr 26 2018 metrics
drwxr-xr-x 2 root root 4096 Apr 26 2018 opt
lrwxrwxrwx 1 root root 4 Jul 8 2018 run -> /run
drwxr-xr-x 2 root root 4096 Apr 16 2018 snap
drwxr-xr-x 10 root root 4096 Oct 20 2018 spool
drwxrwxrwt 10 root root 4096 Apr 25 22:39 tmp
drwxr-xr-x 3 root root 4096 Jul 10 2018 www
krisbee at mythserver2018:~$ sudo ls -la /var/lib/
total 360
drwxr-xr-x 90 krisbee krisbee 4096 Apr 7 16:16 .
drwxr-xr-x 15 root root 4096 May 23 2010 ..
drwxr-xr-x 4 root root 4096 Apr 26 2018 AccountsService
drwxr-xr-x 2 root root 4096 Apr 30 2013 acpi-support
drwxr-xr-x 2 root root 4096 Apr 20 15:38 alsa
drwxr-xr-x 5 root root 4096 Jul 10 2018 apache2
drwxr-xr-x 4 root root 4096 Apr 20 15:32 app-info
drwxr-xr-x 5 root root 4096 Apr 20 15:34 apt
drwxr-xr-x 2 root root 4096 Apr 23 00:10 apt-xapian-index
drwxr-xr-x 2 root root 4096 Apr 26 2018 aspell
drwxr-xr-x 2 avahi-autoipd avahi-autoipd 4096 Apr 26 2018 avahi-autoipd
drwxr-xr-x 2 root root 4096 Apr 20 15:35 binfmts
drwxr-xr-x 2 root root 4096 Feb 21 2018 bluetooth
drwxr-xr-x 7 krisbee krisbee 4096 Jul 25 2018 cache
drwxr-xr-x 4 colord colord 4096 Dec 28 07:06 colord
drwxr-xr-x 2 root root 4096 Apr 23 2018 command-not-found
drwxr-xr-x 2 root root 4096 Jul 8 2018 dbus
drwxr-xr-x 2 root root 4096 Apr 16 2018 dhcp
drwxr-xr-x 4 root root 4096 Apr 26 2018 dictionaries-common
drwxr-xr-x 7 root root 4096 Apr 20 15:37 dpkg
drwxr-xr-x 3 root root 4096 Apr 26 2018 emacsen-common
drwxr-xr-x 3 root root 4096 Apr 26 2018 fwupd
drwxr-xr-x 2 root root 4096 Feb 14 2018 fwupdate
drwxr-xr-x 5 root root 4096 Apr 26 2018 gconf
drwxr-xr-x 3 root root 4096 Apr 26 2018 gems
drwxr-xr-x 2 geoclue geoclue 4096 Jul 20 2017 geoclue
drwxr-xr-x 4 root root 4096 Apr 26 2018 ghostscript
drwxr-xr-x 2 root root 4096 May 31 2018 git
drwxr-xr-x 3 root root 4096 Apr 7 16:16 grub
drwxr-xr-x 2 root root 4096 Mar 7 2018 hp
drwxr-xr-x 3 root root 4096 Apr 26 2018 ieee-data
drwxr-xr-x 2 root root 4096 Apr 8 06:06 initramfs-tools
drwxr-xr-x 2 root root 4096 Apr 26 2018 ispell
drwxr-xr-x 3 root root 4096 Apr 26 2018 libreoffice
drwxr-xr-x 3 root root 4096 Jul 10 2018 libxml-sax-perl
drwxr-xr-x 3 root root 4096 Apr 26 2018 locales
drwxr-xr-x 2 root root 4096 Apr 25 00:06 logrotate
drwxr-xr-x 2 root root 4096 Apr 26 2018 man-db
drwxr-xr-x 2 root root 4096 Apr 24 2018 misc
drwxr-xr-x 2 root root 4096 Apr 25 00:07 mlocate
drwxr-xr-x 4 mpd audio 4096 Apr 20 15:38 mpd
drwxr-xr-x 3 root root 4096 Jul 8 2018 mplayer
drwxr-xr-x 2 root root 4096 Jul 27 2018 msttcorefonts
drwx------ 6 mysql mysql 4096 Apr 20 15:39 mysql
drwx------ 2 mysql mysql 4096 Jan 24 18:13 mysql-files
drwx------ 2 mysql mysql 4096 Jul 8 2018 mysql-keyring
drwxr-xr-x 2 root root 4096 Apr 24 2018 mysql-upgrade
drwxrwsr-x 3 mythtv mythtv 4096 Jul 10 2018 mythdvd
drwxr-xr-x 12 root root 4096 Jul 10 2018 mythtv
drwxr-xr-x 2 root root 4096 Apr 20 15:39 NetworkManager
drwxr-xr-x 2 ntp ntp 4096 Apr 25 22:39 ntp
drwxr-xr-x 2 root root 4096 Jul 8 2018 os-prober
drwxr-xr-x 2 root root 4096 Jul 25 2018 PackageKit
drwxr-xr-x 2 root root 4096 Apr 20 15:37 pam
drwxr-xr-x 4 root root 4096 Jul 10 2018 php
drwxr-xr-x 3 plex plex 4096 Jul 10 2018 plexmediaserver
drwxr-xr-x 2 krisbee krisbee 4096 Mar 8 2017 Plugins
drwxr-xr-x 2 root root 4096 Jul 8 2018 plymouth
drwx------ 3 root root 4096 Apr 26 2018 polkit-1
drwxr-xr-x 2 postfix postfix 4096 Oct 20 2018 postfix
drwxr-xr-x 3 krisbee krisbee 4096 Jul 26 2018 prefs
drwx------ 3 root root 4096 Jul 8 2018 private
drwxr-xr-x 2 root root 4096 Apr 26 2018 python
drwxr-xr-x 5 root root 4096 Jul 27 2018 samba
drwxr-x--- 7 sddm sddm 4096 Jul 8 2018 sddm
drwxr-xr-x 2 root root 4096 Nov 14 18:29 setserial
drwxr-xr-x 2 root root 4096 Feb 1 18:51 sgml-base
drwxr-xr-x 3 root root 4096 Apr 25 22:39 smartmontools
drwxr-xr-x 14 root root 4096 Apr 20 15:37 snapd
drwxr-xr-x 2 root root 4096 Feb 20 2018 snmp
drwxr-xr-x 5 squeezeboxserver nogroup 4096 Apr 23 2017 squeezeboxserver
drwxr-xr-x 3 root root 4096 Apr 26 2018 sudo
drwxr-xr-x 8 root root 4096 Dec 28 07:04 systemd
drwxrwxr-x 2 root root 4096 Jul 8 2018 ubiquity
drwxr-xr-x 2 root root 4096 Jul 8 2018 ubuntu-drivers-common
drwxr-xr-x 2 root root 4096 Apr 23 00:11 ubuntu-release-upgrader
drwxr-xr-x 3 root root 4096 Apr 7 16:17 ucf
drwx------ 2 root root 4096 Apr 25 07:32 udisks2
drwxr-xr-x 2 root root 4096 Jul 8 2018 update-manager
drwxr-xr-x 4 root root 4096 Apr 20 15:37 update-notifier
drwxr-xr-x 2 root root 4096 Mar 13 18:00 upower
drwxr-xr-x 3 root root 4096 Apr 20 15:40 ureadahead
drwxr-xr-x 2 root root 4096 Mar 6 2018 usb_modeswitch
drwxr-xr-x 2 root root 4096 Apr 26 2018 usbutils
drwxr-xr-x 3 root root 4096 Apr 26 2018 vim
drwxr-xr-x 2 root root 4096 Apr 20 15:39 whoopsie
drwxr-xr-x 2 root root 4096 Apr 26 2018 xfonts
drwxr-xr-x 2 root root 4096 Jul 18 2018 xine
drwxr-xr-x 2 root root 4096 Apr 25 19:38 xkb
drwxr-xr-x 2 root root 4096 Feb 1 18:51 xml-core
krisbee at mythserver2018:~$ sudo ls -la /var/lib/colord
total 60
drwxr-xr-x 4 colord colord 4096 Dec 28 07:06 .
drwxr-xr-x 90 krisbee krisbee 4096 Apr 7 16:16 ..
drwx------ 2 colord colord 4096 Jul 8 2018 .cache
drwxr-xr-x 2 colord colord 4096 Dec 28 07:05 icc
-rw-r--r-- 1 colord colord 16384 Jul 8 2018 mapping.db
-rw-r--r-- 1 colord colord 28672 Jul 8 2018 storage.db
krisbee at mythserver2018:~$ sudo ls -la /var/lib/colord/icc
total 8
drwxr-xr-x 2 colord colord 4096 Dec 28 07:05 .
drwxr-xr-x 4 colord colord 4096 Dec 28 07:06 ..
krisbee at mythserver2018:~$ sudo ls -la /var/lib/systemd
total 36
drwxr-xr-x 8 root root 4096 Dec 28 07:04 .
drwxr-xr-x 90 krisbee krisbee 4096 Apr 7 16:16 ..
drwxr-xr-x 2 root root 4096 Apr 20 15:34 catalog
drwxr-xr-x 2 root root 4096 Dec 28 07:04 coredump
drwxr-xr-x 2 root root 4096 Jul 8 2018 coredumpold
drwxr-xr-x 20 root root 4096 Apr 20 15:37 deb-systemd-helper-enabled
drwxr-xr-x 2 root root 4096 Nov 14 18:31 deb-systemd-helper-masked
-rw------- 1 root root 512 Apr 20 15:38 random-seed
drwxr-xr-x 2 root root 4096 Jul 10 2018 timers
lrwxrwxrwx 1 root root 27 Jul 8 2018 timesync -> ../private/systemd/timesync
krisbee at mythserver2018:~$ sudo ls -la /var/lib/systemd/coredump
total 8
drwxr-xr-x 2 root root 4096 Dec 28 07:04 .
drwxr-xr-x 8 root root 4096 Dec 28 07:04 ..
krisbee at mythserver2018:~$
SO - it looks like I took ownership of some stuff somehow.... but I have no idea how/why....
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1815987
Title:
Systemd-tmpfiles-setup won't launch in Ubuntu 18.04 LTS
Status in systemd package in Ubuntu:
New
Bug description:
I am using Ubuntu 18.04LTS, fresh install from the summer, and
tmpfiles won't launch since November.
$ sudo systemctl start systemd-tmpfiles-setup
Job for systemd-tmpfiles-setup.service failed because the control process exited with error code.
See "systemctl status systemd-tmpfiles-setup.service" and "journalctl -xe" for details.
$ sudo systemctl status systemd-tmpfiles-setup
● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
Loaded: loaded (/lib/systemd/system/systemd-tmpfiles-setup.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2019-02-14 19:48:36 EST; 8s ago
Docs: man:tmpfiles.d(5)
man:systemd-tmpfiles(8)
Process: 28934 ExecStart=/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev (code=exited, status=1/FAILURE)
Main PID: 28934 (code=exited, status=1/FAILURE)
Feb 14 19:48:35 mythserver2018 systemd[1]: Starting Create Volatile Files and Directories...
Feb 14 19:48:35 mythserver2018 systemd-tmpfiles[28934]: Unsafe symlinks encountered in /var/lib/colord/icc, refusing.
Feb 14 19:48:35 mythserver2018 systemd-tmpfiles[28934]: Unsafe symlinks encountered in /var/lib/systemd/coredump, refusing.
Feb 14 19:48:36 mythserver2018 systemd[1]: systemd-tmpfiles-setup.service: Main process exited, code=exited, status=1/FAILURE
Feb 14 19:48:36 mythserver2018 systemd[1]: systemd-tmpfiles-setup.service: Failed with result 'exit-code'.
Feb 14 19:48:36 mythserver2018 systemd[1]: Failed to start Create Volatile Files and Directories.
Looking at /var/lib/colord/icc:
kris at mythserver2018:/var/lib/colord/icc$ ls -a
. ..
kris at mythserver2018:/var/lib/colord/icc$
I have also deleted these directories and rebuilt them, just to be sure - they are NOT symlinked and have no permission issues:
kris at mythserver2018:/var/lib/systemd$ ls -l
total 28
drwxr-xr-x 2 root root 4096 Feb 9 16:04 catalog
drwxr-xr-x 2 root root 4096 Dec 28 07:04 coredump
drwxr-xr-x 2 root root 4096 Jul 8 2018 coredumpold
drwxr-xr-x 20 root root 4096 Feb 9 16:08 deb-systemd-helper-enabled
drwxr-xr-x 2 root root 4096 Nov 14 18:31 deb-systemd-helper-masked
-rw------- 1 root root 512 Feb 9 17:34 random-seed
drwxr-xr-x 2 root root 4096 Jul 10 2018 timers
lrwxrwxrwx 1 root root 27 Jul 8 2018 timesync -> ../private/systemd/timesync
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1815987/+subscriptions
More information about the foundations-bugs
mailing list