kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #130323
[Bug 1483325] [NEW] mount -t overlayfs misinforms when nonexisting directories are provided
Public bug reported:
Consider the directory structure like this:
root@MIKE /tmp/ofs> ls -al
total 20
drwxr-xr-x 5 root root 4096 Aug 10 18:09 .
drwxrwxrwt 9 root root 4096 Aug 10 18:09 ..
drwxr-xr-x 2 root root 4096 Aug 10 18:09 lower
drwxr-xr-x 2 root root 4096 Aug 10 18:09 mounting
drwxr-xr-x 2 root root 4096 Aug 10 18:09 upper
Mounting upper over lower on mounting mount point works just fine:
root@MIKE /tmp/ofs> mount -t overlayfs myoverlay -o lowerdir=lower,upperdir=upper mounting/
root@MIKE /tmp/ofs> df -Th mounting/
Filesystem Type Size Used Avail Use% Mounted on
myoverlay overlayfs 219G 94G 114G 46% /tmp/ofs/mounting
root@MIKE /tmp/ofs>
However if the directory name is misspelled (that is, we're providing
wrong directory), the error message is misleading:
32 root@MIKE /tmp/ofs> mount -t overlayfs myoverlay -o lowerdir=IAMWRONG,upperdir=upper mounting/
mount: special device myoverlay does not exist
I'm running this on Ubuntu 14.04.3 LTS, using 3.13.0-61-generic kernel.
I'm not sure if this fits under 'linux' package, but I can't seem to be
able to find 'mount' package in Launchpad.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1483325
Title:
mount -t overlayfs misinforms when nonexisting directories are
provided
Status in linux package in Ubuntu:
New
Bug description:
Consider the directory structure like this:
root@MIKE /tmp/ofs> ls -al
total 20
drwxr-xr-x 5 root root 4096 Aug 10 18:09 .
drwxrwxrwt 9 root root 4096 Aug 10 18:09 ..
drwxr-xr-x 2 root root 4096 Aug 10 18:09 lower
drwxr-xr-x 2 root root 4096 Aug 10 18:09 mounting
drwxr-xr-x 2 root root 4096 Aug 10 18:09 upper
Mounting upper over lower on mounting mount point works just fine:
root@MIKE /tmp/ofs> mount -t overlayfs myoverlay -o lowerdir=lower,upperdir=upper mounting/
root@MIKE /tmp/ofs> df -Th mounting/
Filesystem Type Size Used Avail Use% Mounted on
myoverlay overlayfs 219G 94G 114G 46% /tmp/ofs/mounting
root@MIKE /tmp/ofs>
However if the directory name is misspelled (that is, we're providing
wrong directory), the error message is misleading:
32 root@MIKE /tmp/ofs> mount -t overlayfs myoverlay -o lowerdir=IAMWRONG,upperdir=upper mounting/
mount: special device myoverlay does not exist
I'm running this on Ubuntu 14.04.3 LTS, using 3.13.0-61-generic kernel.
I'm not sure if this fits under 'linux' package, but I can't seem to
be able to find 'mount' package in Launchpad.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1483325/+subscriptions
Follow ups
-
[Bug 1483325] Re: mount -t overlayfs misinforms when nonexisting directories are provided
From: Andy Whitcroft, 2016-03-10
-
[Bug 1483325] Re: mount -t overlayfs misinforms when nonexisting directories are provided
From: Andy Whitcroft, 2016-02-01
-
[Bug 1483325] Re: mount -t overlayfs misinforms when nonexisting directories are provided
From: Andy Whitcroft, 2016-01-19
-
[Bug 1483325] Re: mount -t overlayfs misinforms when nonexisting directories are provided
From: Andy Whitcroft, 2015-12-07
-
[Bug 1483325] Re: mount -t overlayfs misinforms when nonexisting directories are provided
From: Andy Whitcroft, 2015-11-04
-
[Bug 1483325] Re: mount -t overlayfs misinforms when nonexisting directories are provided
From: Andy Whitcroft, 2015-10-04
-
[Bug 1483325] Re: mount -t overlayfs misinforms when nonexisting directories are provided
From: Andy Whitcroft, 2015-09-01
-
[Bug 1483325] Re: mount -t overlayfs misinforms when nonexisting directories are provided
From: Joseph Salisbury, 2015-08-12
-
[Bug 1483325] Re: mount -t overlayfs misinforms when nonexisting directories are provided
From: Andy Whitcroft, 2015-08-11
-
[Bug 1483325] Re: mount -t overlayfs misinforms when nonexisting directories are provided
From: Tim Gardner, 2015-08-11
-
[Bug 1483325] WifiSyslog.txt
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] UdevLog.txt
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] UdevDb.txt
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] RfKill.txt
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] PulseList.txt
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] ProcModules.txt
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] ProcInterrupts.txt
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] ProcEnviron.txt
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] ProcCpuinfo.txt
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] Lsusb.txt
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] Lspci.txt
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] IwConfig.txt
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] CurrentDmesg.txt
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] CRDA.txt
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] BootDmesg.txt
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] Re: mount -t overlayfs misinforms when nonexisting directories are provided
From: Mario Splivalo, 2015-08-10
-
[Bug 1483325] Missing required logs.
From: Brad Figg, 2015-08-10