mount is broken/misbehaving

Bug #1692109 reported by Jens Elkner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

"/bin/mount -t zfs -o defaults,atime,dev,exec,rw,suid,nomand,zfsutil rpool/zones/bla /zones/bla"
fails, if env var POSIXLY_CORRECT is set, because it calls
"/sbin/mount.zfs rpool/zones/bla /zones/bla -o rw,zfsutil", which is obviously a bug. Options should always come first and operands last ...

Revision history for this message
Jens Elkner (jelmd) wrote :

mount from util-linux 2.27.1 (libmount 2.27.0: selinux, assert, debug)
Description: Ubuntu 16.04.2 LTS

Revision history for this message
Jens Elkner (jelmd) wrote :

AFAICS the problem is libmount/src/context_mount.c:exec_helper() which is uses operands in a wrong/not posixly incorrect way. See also http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.