summaryrefslogtreecommitdiff
path: root/LICENSE.GPL2
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-11 00:27:37 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-11 23:41:42 -0500
commit17a1c597c5f9be1c25431a764155cd50c0d074b7 (patch)
tree76dc87c40c63d5de2d8a2b2a9a55606d0bb38bf5 /LICENSE.GPL2
parentb9f111b93f9f442f00266f338b14f25ca8685352 (diff)
core/mount: filter out noauto,auto,nofail,fail options
We passed the full option string from fstab to /bin/mount. It would in turn pass the full option string to its helper, if it needed to invoke one. Some helpers would ignore things like "nofail", but others would be confused. We could try to get all helpers to ignore those "meta-options", but it seems better to simply filter them out. In our model, /bin/mount simply has no business in knowing whether the mount was configured as fail or nofail, auto or noauto, in the fstab. If systemd tells invokes a command to mount something, and it fails, it should always return an error. It seems cleaner to filter out the option, since then there's no doubt how the command should behave. https://bugzilla.redhat.com/show_bug.cgi?id=1177823
Diffstat (limited to 'LICENSE.GPL2')
0 files changed, 0 insertions, 0 deletions