https://bugzilla.novell.com/show_bug.cgi?id=480250
User mc@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=480250#c2
Michael Calmer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |jengelh@medozas.de
--- Comment #2 from Michael Calmer 2009-02-27 04:59:31 MST ---
Adding author to cc, because I think this is also valid in upstream source.
In rdconf1.c the default for options_required is set to "nosuid,nodev" in
initconfig().
In rc_mntoptions() this default is overwritten with the value from the
configuration file. In your case with "", means set to empty.
Additionally the global static vailable onetime_options_require is set to true,
with the result, that options_required is not deleted again after this call.
Here we have now the status you want and what it expected.
But now initconfig() is called again. The second call happens in session_open.
Now the default(nosuid,nodev) is added again to options_required, but the
variable onetime_options_require is set to true and these values are not
deleted again in rc_mntoptions().
So in session_open you have the default "nosuid,nodev" in the option_required.
I have currently no idea what the best way is to fix this. Maybe Jan has an
idea.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.