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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1653887

Title:
  fstab mount with option "nofail" not working

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

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

Reply via email to