fstab mount with option "nofail" not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
schroot (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
We need for our schroot environment a few initial mounts. This mounts are configured in the schroot config fstab file with the following parameters:
#/yocto-build /yocto-build none bind,defaults,
Important for us is the option "nofail" because there are some temporary mounts which must not exist. This "nofail" option is working as follows with no errors as expected:
sudo mount -o nofail,bind /NOT_EXISTING_DIR /mnt
But with the configured option in the fstab for schroot the following errors appears:
E: 10mount: mount: /var/lib/
E: 10mount:
E: 10mount: In some cases useful info is found in syslog - try
E: 10mount: dmesg | tail or so.
E: jessie: Chroot setup failed: stage=setup-start
There are no relevant syslog or dmesg entries...
Description: Ubuntu 16.04.1 LTS
Release: 16.04
schroot:
Installiert: 1.6.10-1ubuntu3
Installations
Versionstabelle:
*** 1.6.10-1ubuntu3 500
500 http://
100 /var/lib/
Try removing the 'defaults' option. The options contained in 'defaults' could be incompatible with the 'bind' option.