[Bug 1653887] [NEW] fstab mount with option "nofail" not working
Alexander Bangert
1653887 at bugs.launchpad.net
Wed Jan 4 07:01:59 UTC 2017
Public bug reported:
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,nofail 0 0
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/schroot/mount/jessie/yocto-build is not mountpoint or bad option
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
Installationskandidat: 1.6.10-1ubuntu3
Versionstabelle:
*** 1.6.10-1ubuntu3 500
500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
** Affects: schroot (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to schroot in Ubuntu.
https://bugs.launchpad.net/bugs/1653887
Title:
fstab mount with option "nofail" not working
Status in schroot package in Ubuntu:
New
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,nofail 0
0
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/schroot/mount/jessie/yocto-build is not mountpoint or bad option
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
Installationskandidat: 1.6.10-1ubuntu3
Versionstabelle:
*** 1.6.10-1ubuntu3 500
500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/schroot/+bug/1653887/+subscriptions
More information about the foundations-bugs
mailing list