user1@teki3:~# sudo mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=8173592k,nr_inodes=2043398,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1640840k,mode=755) /dev/sda3 on / type ext4 (rw,relatime,data=ordered) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=378) debugfs on /sys/kernel/debug type debugfs (rw,relatime) mqueue on /dev/mqueue type mqueue (rw,relatime) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) configfs on /sys/kernel/config type configfs (rw,relatime) /var/lib/snapd/snaps/core_6259.snap on /snap/core/6259 type squashfs (ro,nodev,relatime,x-gdu.hide) /var/lib/snapd/snaps/core_6130.snap on /snap/core/6130 type squashfs (ro,nodev,relatime,x-gdu.hide) /var/lib/snapd/snaps/core_6034.snap on /snap/core/6034 type squashfs (ro,nodev,relatime,x-gdu.hide) /dev/md0 on /aurdata type ext4 (rw,relatime,data=ordered) lxcfs on /var/lib/lxcfs type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other) tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=1640836k,mode=700)
user1@teki3:~# sudo ls -latr / total 132 drwxr-xr-x 10 root root 4096 Apr 26 2018 usr drwxr-xr-x 2 root root 4096 Apr 26 2018 srv drwxr-xr-x 2 root root 4096 Apr 26 2018 opt drwxr-xr-x 2 root root 4096 Apr 26 2018 mnt drwxr-xr-x 2 root root 4096 Apr 26 2018 media drwxr-xr-x 2 root root 4096 Apr 26 2018 lib64 drwxr-xr-x 22 root root 4096 Apr 26 2018 lib drwxr-xr-x 13 root root 4096 Apr 26 2018 var drwx------ 2 root root 16384 Jun 30 2018 lost+found drwxr-xr-x 4 root root 4096 Jun 30 2018 snap drwxr-xr-x 2 root root 4096 Jul 1 2018 aur_sda4 drwxrwxrwx 2 user1 user1 4096 Jul 1 2018 aurCCmount drwxr-xr-x 2 root root 4096 Jul 3 2018 aurTemp1 drwxr-xr-x 2 root root 4096 Jul 4 2018 aurmd8 drwxr-xr-x 13 root root 4096 Aug 3 09:51 home drwxr-xr-x 2 root root 4096 Sep 3 17:57 aurstripe drwxrwx--- 17 user1 pub 4096 Sep 12 09:17 aurdata drwxr-xr-x 2 root root 4096 Sep 28 09:43 aursdd1 drwx------ 7 root root 4096 Sep 28 10:48 root drwxr-xr-x 2 root root 4096 Nov 14 20:16 aur2Mount drwxrwx--- 9 user1 user1 4096 Jan 13 20:33 abirx drwxr-xr-x 2 root root 12288 Jan 18 17:06 sbin drwxr-xr-x 2 root root 4096 Jan 18 17:06 bin lrwxrwxrwx 1 root root 30 Jan 29 20:43 vmlinuz.old -> boot/vmlinuz-4.15.0-43-generic lrwxrwxrwx 1 root root 30 Jan 29 20:43 vmlinuz -> boot/vmlinuz-4.15.0-44-generic lrwxrwxrwx 1 root root 33 Jan 29 20:43 initrd.img.old -> boot/initrd.img-4.15.0-43-generic lrwxrwxrwx 1 root root 33 Jan 29 20:43 initrd.img -> boot/initrd.img-4.15.0-44-generic drwxrwxrwx 32 user1 user1 4096 Jan 29 20:43 .. drwxrwxrwx 32 user1 user1 4096 Jan 29 20:43 . drwxr-xr-x 3 root root 4096 Jan 29 20:43 boot drwxr-xr-x 106 root root 4096 Jan 29 21:04 etc dr-xr-xr-x 179 root root 0 Jan 29 21:06 proc dr-xr-xr-x 13 root root 0 Jan 29 21:06 sys drwxr-xr-x 19 root root 4120 Jan 29 21:07 dev drwxrwxrwt 4 root root 4096 Jan 29 21:08 tmp drwxr-xr-x 24 root root 800 Jan 29 21:12 run -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1804603 Title: systemd-tmpfiles-setup.service fails on btrfs Status in systemd package in Ubuntu: Fix Released Status in systemd source package in Bionic: Fix Released Status in systemd source package in Cosmic: Fix Released Status in systemd source package in Disco: Fix Released Bug description: [Impact] * Last security update introduced a regression on btrfs based systems, causing systemd-tmpfiles-setup.service to fail to start, resulting in degraded machines. * Cherrypick upstream fixes to resolve this. [Test Case] * Install VM using btrfs for / * Boot, check that systemd-tmpfiles-setup.service is started successfully with: $ systemctl status systemd-tmpfiles-setup.service [Regression Potential] * btrfs fd doesn't support the set of flags that systemd used, with this patch, a compat set of flags is set instead, thus resolving the introduced regression. The worst case scenario is that creating subvolumes/directories is still broken (as in, the current status quo). [Other Info] * Example bad output After update to systemd 237-3ubuntu10.9 systemd-tmpfiles-setup.service fails with: Nov 21 13:44:12 node-blc49 systemd[1]: Starting Create Volatile Files and Directories... Nov 21 13:44:12 node-blc49 systemd-tmpfiles[1226]: Failed to create directory or subvolume "/var": Bad file descriptor Nov 21 13:44:12 node-blc49 systemd-tmpfiles[1226]: Failed to create directory or subvolume "/home": Bad file descriptor Nov 21 13:44:12 node-blc49 systemd-tmpfiles[1226]: Failed to create directory or subvolume "/srv": Bad file descriptor Nov 21 13:44:12 node-blc49 systemd[1]: systemd-tmpfiles-setup.service: Main process exited, code=exited, status=1/FAILURE Nov 21 13:44:12 node-blc49 systemd[1]: systemd-tmpfiles-setup.service: Failed with result 'exit-code'. Nov 21 13:44:12 node-blc49 systemd[1]: Failed to start Create Volatile Files and Directories. This happens on btrfs root filesystems in real hardware and on our virtualized servers as well. 237-3ubuntu10.6 didnt show this errors and going back to 237-3ubuntu10 removes them as well. # lsb_release -rd Description: Ubuntu 18.04.1 LTS Release: 18.04 # apt-cache policy systemd systemd: Installiert: 237-3ubuntu10.9 Installationskandidat: 237-3ubuntu10.9 Versionstabelle: *** 237-3ubuntu10.9 500 500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages 100 /var/lib/dpkg/status 237-3ubuntu10 500 500 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1804603/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp