Systemd errors after updates 2018-11-19

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
ehoitinga
Level 1
Level 1
Posts: 7
Joined: Wed Aug 08, 2018 5:37 am

Systemd errors after updates 2018-11-19

Post by ehoitinga » Fri Nov 23, 2018 4:14 pm

Hello all,

After the update of systemd-sysv version 237-3ubuntu10.6 to 237-3ubuntu10.9 on 2018-11-19 I got some errors regarding systemd when the system boots up. The first error concerns systemd-tmpfiles-setup.service. At boot time I get the message:

[FAILED] Failed to start Create Volatile Files and Directories.

When I do a "systemctl status systemd-tmpfiles-setup.service" after the system has booted I get:

Code: Select all

● 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 Tue 2018-11-20 11:04:12 CET; 9min ago
     Docs: man:tmpfiles.d(5)
           man:systemd-tmpfiles(8)
  Process: 800 ExecStart=/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev (code=exited, status=1/FAILURE)
 Main PID: 800 (code=exited, status=1/FAILURE)

nov 20 11:04:12 LAPTOP-ERIK systemd[1]: Starting Create Volatile Files and Directories...
nov 20 11:04:12 LAPTOP-ERIK systemd-tmpfiles[800]: Failed to create directory or subvolume "/var": Bad file descriptor
nov 20 11:04:12 LAPTOP-ERIK systemd-tmpfiles[800]: Failed to create directory or subvolume "/home": Bad file descriptor
nov 20 11:04:12 LAPTOP-ERIK systemd-tmpfiles[800]: Failed to create directory or subvolume "/srv": Bad file descriptor
nov 20 11:04:12 LAPTOP-ERIK systemd[1]: systemd-tmpfiles-setup.service: Main process exited, code=exited, status=1/FAILURE
nov 20 11:04:12 LAPTOP-ERIK systemd[1]: systemd-tmpfiles-setup.service: Failed with result 'exit-code'.
nov 20 11:04:12 LAPTOP-ERIK systemd[1]: Failed to start Create Volatile Files and Directories.
The second and the third one concerns the systemd-resolved.service and systemd-timesyncd.service. At boot time I get the error messages:

[FAILED] Failed to start Network Name Resolution
[FAILED] Failed to start Network Time Synchonisation

But when I execute the command "systemctl status systemd-resolved.service" and "systemctl status systemd-timesyncd.service" after the system has booted these services seem to run normal:

Code: Select all

● systemd-resolved.service - Network Name Resolution
   Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2018-11-20 11:04:13 CET; 10min ago
     Docs: man:systemd-resolved.service(8)
           https://www.freedesktop.org/wiki/Software/systemd/resolved
           https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
           https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
 Main PID: 895 (systemd-resolve)
   Status: "Processing requests..."
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/systemd-resolved.service
           └─895 /lib/systemd/systemd-resolved

nov 20 11:04:13 LAPTOP-ERIK systemd[1]: Starting Network Name Resolution...
nov 20 11:04:13 LAPTOP-ERIK systemd-resolved[895]: Positive Trust Anchors:
nov 20 11:04:13 LAPTOP-ERIK systemd-resolved[895]: . IN DS 19036 8 2 49aac11d7b6f6446702e54a1607371607a1a41855200fd2ce1cdde32f24e8fb
nov 20 11:04:13 LAPTOP-ERIK systemd-resolved[895]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8
nov 20 11:04:13 LAPTOP-ERIK systemd-resolved[895]: Negative trust anchors: 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 1
nov 20 11:04:13 LAPTOP-ERIK systemd-resolved[895]: Using system hostname 'LAPTOP-ERIK'.
nov 20 11:04:13 LAPTOP-ERIK systemd[1]: Started Network Name Resolution.

● systemd-timesyncd.service - Network Time Synchronization
   Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2018-11-20 11:04:13 CET; 10min ago
     Docs: man:systemd-timesyncd.service(8)
 Main PID: 898 (systemd-timesyn)
   Status: "Synchronized to time server 192.168.1.254:123 (192.168.1.254)."
    Tasks: 2 (limit: 4915)
   CGroup: /system.slice/systemd-timesyncd.service
           └─898 /lib/systemd/systemd-timesyncd

nov 20 11:04:13 LAPTOP-ERIK systemd[1]: Starting Network Time Synchronization...
nov 20 11:04:13 LAPTOP-ERIK systemd[1]: Started Network Time Synchronization.
nov 20 11:04:45 LAPTOP-ERIK systemd-timesyncd[898]: Synchronized to time server 192.168.1.254:123 (192.168.1.254).
These are the specs of my system:

Code: Select all

erik@LAPTOP-ERIK:~$ inxi -Fxz
System:    Host: LAPTOP-ERIK Kernel: 4.15.0-39-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu1) Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: Dell product: XPS 15 9550 serial: N/A
           Mobo: Dell model: 0N7TVV v: A01 serial: N/A UEFI: Dell v: 1.9.0 date: 10/11/2018
Battery    BAT0: charge: 49.5 Wh 100.0% condition: 49.5/84.0 Wh (59%)
           model: LGC-LGC3.67 DELL T453X6B status: Full
           hidpp__0: charge: N/A condition: NA/NA Wh model: Logitech Performance MX status: Discharging
CPU:       Quad core Intel Core i7-6700HQ (-MT-MCP-) arch: Skylake-S rev.3 cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 20736
           clock speeds: max: 3500 MHz 1: 1807 MHz 2: 1578 MHz 3: 2167 MHz 4: 2105 MHz 5: 1884 MHz 6: 2112 MHz
           7: 1961 MHz 8: 2325 MHz
Graphics:  Card-1: Intel HD Graphics 530 bus-ID: 00:02.0
           Card-2: NVIDIA GM107M [GeForce GTX 960M] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@59.93hz
           OpenGL: renderer: GeForce GTX 960M/PCIe/SSE2 version: 4.6.0 NVIDIA 390.77 Direct Render: Yes
Audio:     Card Intel Sunrise Point-H HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.15.0-39-generic
Network:   Card-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter driver: ath10k_pci bus-ID: 02:00.0
           IF: wlp2s0 state: down mac: <filter>
           Card-2: Atheros usb-ID: 001-003
           IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 512.1GB (27.0% used)
           ID-1: /dev/nvme0n1 model: THNSN5512GPUK_NVMe_TOSHIBA_512GB size: 512.1GB
Partition: ID-1: / size: 461G used: 114G (25%) fs: btrfs dev: /dev/nvme0n1p2
           ID-2: /home size: 461G used: 114G (25%) fs: btrfs dev: /dev/nvme0n1p2
           ID-3: swap-1 size: 17.18GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 66.0C mobo: N/A gpu: 0.0:44C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 280 Uptime: 33 min Memory: 1642.6/15889.4MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
Has anyone encountered these problems?

Many thanks,

Erik
Last edited by ehoitinga on Mon Nov 26, 2018 4:41 am, edited 1 time in total.


ehoitinga
Level 1
Level 1
Posts: 7
Joined: Wed Aug 08, 2018 5:37 am

Re: Systemd errors after updates 2018-11-19

Post by ehoitinga » Sat Nov 24, 2018 8:26 am

Thanks. Indeed btrfs.

I was away for a couple days of holiday and did not yet see that a bug was filed concerning this subject.

I read the bug report and I can confirm that this bug is also present in my installation.

Code: Select all

erik@LAPTOP-ERIK:~$ lsb_release -rd
Description:	Linux Mint 19 Tara
Release:	19
erik@LAPTOP-ERIK:~$ 

Code: Select all

erik@LAPTOP-ERIK:~$ inxi -po
Partition: ID-1: / size: 461G used: 85G (19%) fs: btrfs dev: /dev/nvme0n1p2
           ID-2: /boot/efi size: 511M used: 16M (4%) fs: vfat dev: /dev/nvme0n1p1
           ID-3: /home size: 461G used: 85G (19%) fs: btrfs dev: /dev/nvme0n1p2
           ID-4: /home/erik/Backup size: 8.8T used: 5.5T (63%) fs: cifs remote: //xxx.xxx.xxx.xxx/backup
           ID-5: /home/erik/Documents size: 8.8T used: 5.5T (63%) fs: cifs remote: //xxx.xxx.xxx.xxx/documents
           ID-6: /home/erik/Downloads size: 8.8T used: 5.5T (63%) fs: cifs remote: //xxx.xxx.xxx.xxx/download
           ID-7: /home/erik/Fax size: 8.8T used: 5.5T (63%) fs: cifs remote: //xxx.xxx.xxx.xxx/fax
           ID-8: /home/erik/Music size: 8.8T used: 5.5T (63%) fs: cifs remote: //xxx.xxx.xxx.xxx/music
           ID-9: /home/erik/Pictures size: 8.8T used: 5.5T (63%) fs: cifs remote: //xxx.xxx.xxx.xxx/photo
           ID-10: /home/erik/Scans size: 8.8T used: 5.5T (63%) fs: cifs remote: //xxx.xxx.xxx.xxx/scans
           ID-11: /home/erik/Videos size: 8.8T used: 5.5T (63%) fs: cifs remote: //xxx.xxx.xxx.xxx/video
           ID-12: /home/erik/Websites size: 8.8T used: 5.5T (63%) fs: cifs remote: //xxx.xxx.xxx.xxx/web
           ID-13: /mnt/timeshift/backup size: 461G used: 85G (19%) fs: btrfs dev: /dev/nvme0n1p2
           ID-14: swap-1 size: 17.18GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p3
Unmounted: ID-1: /dev/nvme0n1 size: 512.11G label: N/A uuid: N/A
erik@LAPTOP-ERIK:~$
Will survey the bug and wait till it is solved. Is there a way to contribute in supplying relevant log file(s) snippets for example?

Thanks administrollaattori for pointing me to this bug report.

Erik

Post Reply

Return to “Installation & Boot”