[Bug 1600525] Re: systemd fails to mount on startup via /etc/fstab

Launchpad Bug Tracker 1600525 at bugs.launchpad.net
Sun Nov 4 12:31:31 UTC 2018


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: systemd (Ubuntu)
       Status: New => Confirmed

-- 
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/1600525

Title:
  systemd fails to mount on startup via /etc/fstab

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  Hello!

  (partially) informations first:

  #Kubuntu 16.04:
  #uname -a
  Linux desktop 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

  #lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 16.04 LTS
  Release:        16.04
  Codename:       xenial

  #sudo blkid
  /dev/sda5: LABEL="Daten" UUID="fa600d38-2bda-4a98-8297-4f6bd7ca909c" TYPE="ext4" PARTUUID="4dc4a374-05"

  #/etc/fstab (yes, there's an empty line at the end)
  UUID=fa600d38-2bda-4a98-8297-4f6bd7ca909c /home/schiggn/Daten ext4 defaults 0 0

  #journalctl -b -r | grep "Daten"
  Jul 09 20:09:20 desktop systemd[1]: Mounted /home/schiggn/Daten.
  Jul 09 20:09:20 desktop systemd[1]: Mounting /home/schiggn/Daten...
  Jul 09 20:09:20 desktop systemd[1]: Found device WDC_WD10EARS-00Y5B1 Daten.

  #show folder after startup
  root at desktop:~# ls -lha /home/schiggn/Daten/
  insgesamt 8,0K
  drwxrwxr-x  2 schiggn schiggn 4,0K Jun 30 21:35 .
  drwx------ 25 schiggn schiggn 4,0K Jul  9 20:09 ..
  root at desktop:~#

  #mount -v -l
  /dev/sda5 on /home/schiggn/Daten type ext4 (rw,relatime,data=ordered) [Daten]

  #Status
  root at desktop:~# systemctl status home-schiggn-Daten.mount
  ● home-schiggn-Daten.mount - /home/schiggn/Daten
     Loaded: loaded (/etc/fstab; bad; vendor preset: enabled)
     Active: active (mounted) since Sa 2016-07-09 20:09:20 CEST; 52min ago
      Where: /home/schiggn/Daten
       What: /dev/sda5
       Docs: man:fstab(5)
             man:systemd-fstab-generator(8)
    Process: 753 ExecMount=/bin/mount /dev/disk/by-uuid/fa600d38-2bda-4a98-8297-4f6bd7ca909c /home/schiggn/D

  Jul 09 20:09:20 desktop systemd[1]: Mounting /home/schiggn/Daten...
  Jul 09 20:09:20 desktop systemd[1]: Mounted /home/schiggn/Daten.
  root at desktop:~#

  #systemd --version
  systemd 229
  +PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN

  Problem is, that systemd is mounting correctly with no errors, but the
  folder is still empty.

  sudo mount -a results in an "/home/schiggn/Daten      : already
  mounted"

  a manually "sudo mount /dev/sda5 /home/schiggn/Daten" works as
  expected and the files are shown.

  Can you please help me how to track this?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1600525/+subscriptions



More information about the foundations-bugs mailing list