Hmmm, using 'comment=systemd.automount' for the 
two partitions in question has them mounted but without
'noauto' I think they might be mounted automatically
when the fstab is parsed as opposed to mounting later
when needed.  For instance I had a dependency on 
'backup.automount' for backuppc.service so that
the backup partition was not mounted until backuppc.service
started, but now backup is fsck'ed and mounted ~25 seconds
before backuppc is started.  Similary the '/av' partition
is checked and mounted some 17 seconds before it's
'WantedBy' service (apache2) started.

        This may be working as designed, but the behavior
is different than what was exhibited with the 
mount and automount units I used (along with no fstab entries
for the two partitions in question):


cat av.automount
[Unit]
Description=Automount /av

[Automount]
Where=/av
DirectoryMode=0755

[Install]
WantedBy=multi-user.target


cat av.mount
[Unit]
Description=Mount file for /av mount
Wants=local-fs.target
After=local-fs.target

[Mount]
What=/dev/sdb1
Where=/av
Type=ext4
#Options=noauto,guest


cat backup.automount
[Unit]
Description=Automount /backup

[Automount]
Where=/backup
DirectoryMode=0755

[Install]
WantedBy=backuppc.service

cat backup.mount
[Unit]
Description=Mount file for /backup mount
Wants=local-fs.target
After=local-fs.target

[Mount]
What=/dev/sdb2
Where=/backup
Type=ext4
#Options=noauto,guest


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to