Mailinglist Archive: opensuse-bugs (13069 mails)

< Previous Next >
[Bug 464453] Disabling automounter during installation does not work
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 19 Jan 2009 08:43:17 -0700 (MST)
  • Message-id: <20090119154317.700E7CC7D4@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=464453

User vuntz@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=464453#c13


Vincent Untz <vuntz@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |REOPENED
Info Provider|vuntz@xxxxxxxxxx |




--- Comment #13 from Vincent Untz <vuntz@xxxxxxxxxx> 2009-01-19 08:43:16 MST
---
(In reply to comment #12)
yast2-live-installer is run as root; the devices are not in fstab at all
(resp.
they are written to fstab in chrooted environment, hope that is not a
problem).

It shouldn't be an issue, but I don't really know gnome-mount -- I just guess
from what I can see from upstream comments.

Since I'm not a hal or GNOME expert (and AFAIK neither is Arvin), could you,
please, provide us with a list of commands to disable and reenable the
automounter which we can run from bash while the live installer is already
running? I can imagine that very same problem can occurre also in other cases
than the live installation.

I really think you should not play with gconf and use the hal stuff (either via
hal-lock or via a mini app which would be based on hal-lock). I can't really
help with the hal part.

However, if you want to go the gconf way, here's what to do:

gconftool-2 --get /apps/nautilus/preferences/media_automount
=> this gets the current value of the pref
gconftool-2 --set /apps/nautilus/preferences/media_automount --type boolean
false
=> this disables the automounter
(and then you can set it back to the old value you saved)

Note that is a hack and this is broken in many ways:

+ the user can reenable the pref manually
+ you're playing with a user pref and what I wrote here won't exactly restore
the pref (ie, it will restore the value, but it will lose the information of
whether this is the default value or not). This is probably fine for the live
installer, though.

Give me 20 minutes to look if I can write a small helper based on hal-lock for
you.

--
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.

< Previous Next >
References