Public bug reported:

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@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@desktop:~#

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

#Status
root@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@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?

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: fstab mount systemd

** Description changed:

  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@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@desktop:~# 
+ root@desktop:~#
  
  #mount -v -l
  /dev/sda5 on /home/schiggn/Daten type ext4 (rw,relatime,data=ordered) [Daten]
  
  #Status
- root@desktop:~# systemctl status home-schiggn-Daten.mount 
+ root@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
+    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@desktop:~# 
+ root@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?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1600525

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to