[Bug 712485] New: Udevmountd does not work
https://bugzilla.novell.com/show_bug.cgi?id=712485 https://bugzilla.novell.com/show_bug.cgi?id=712485#c0 Summary: Udevmountd does not work Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: anixx@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.1.19) Gecko/20110420 SUSE/2.0.14-2.1 SeaMonkey/2.0.14 I have the following rules in /etc/udev/rules.d/81-mount.rules: # Udev rules for udevmountd # Skip 'add' events for device-mapper ACTION=="add", SUBSYSTEM=="block", KERNEL=="dm-*", GOTO="skip_mount" ACTION=="add", SUBSYSTEM=="block", KERNEL=="md*", GOTO="skip_mount" # don't handle crypto devices, boot.crypto does that already (bnc#569942) ACTION=="change", SUBSYSTEM=="block", KERNEL=="dm-*", ENV{DM_TARGET_TYPES}=="crypt", GOTO="skip_mount" ACTION=="add|change", SUBSYSTEM=="block", ENV{FSTAB_OPTS}=="*nofail*", IMPORT="udevmountd" ACTION=="add|change", ENV{FSCK_STATE}=="unknown|clean", RUN+="udevmountd add" ACTION=="remove", ENV{FSTAB_OPTS}=="*nofail*", RUN+="udevmountd remove" LABEL="skip_mount" Should it make all disks including CDROMs and USB ones automount? Seems this does not work. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=712485 https://bugzilla.novell.com/show_bug.cgi?id=712485#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |mt@suse.com |ovo.novell.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=712485 https://bugzilla.novell.com/show_bug.cgi?id=712485#c Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mt@suse.com |hare@suse.com -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=712485 https://bugzilla.novell.com/show_bug.cgi?id=712485#c Ihno Krumreich <ihno@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Other |Linux -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=712485 https://bugzilla.novell.com/show_bug.cgi?id=712485#c1 Petr Uzel <puzel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |puzel@suse.com --- Comment #1 from Petr Uzel <puzel@suse.com> 2011-11-27 14:32:54 UTC --- (In reply to comment #0)
Should it make all disks including CDROMs and USB ones automount?
No, its purpose is to mount those filesystems from /etc/fstab, which are not handled by other initscripts (like filesystems on iSCSI devices and such).
Seems this does not work.
This is also true :) 1. in 12.1, udev no longer runs fstab_import helper (it was dropped), which is needed to make udevmountd work - Hannes, do you know how it is supposed to work now? (some systemd magic perhaps???) 2. udevmountd creates its lockfile in /dev/.udev, which no longer exists. This is easily fixable, but due to 1. above, I don't think it makes sense to do it :/ -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=712485 https://bugzilla.novell.com/show_bug.cgi?id=712485#c2 --- Comment #2 from Ilya Chernykh <anixx@opensuse.org> 2012-03-30 06:16:23 UTC --- Maybe it is better to drop it? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=712485 https://bugzilla.novell.com/show_bug.cgi?id=712485#c3 --- Comment #3 from Hannes Reinecke <hare@suse.com> 2012-03-30 06:31:45 UTC --- Oh, sure. If you provide me with an alternative way of mounting iSCSI devices... -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=712485 https://bugzilla.novell.com/show_bug.cgi?id=712485#c4 --- Comment #4 from Hannes Reinecke <hare@suse.com> 2012-03-30 06:42:42 UTC --- But yes, you are correct. Automatic mounting of iSCSI devices probably doesn't work with systemd. That's one of the open issues, integrate iSCSI with systemd. A full integration would mean that we can express a dependency tree like: - mount point /mnt - depends on device /dev/X - (depends on device /dev/XX) - (depends on device /dev/XXX etc) - device /dev/X...X is located on iSCSI target YYY - iSCSI target YYY is at network address AAA.BBB.CCC.DDD - network address AAA.BBB.CCC.DDD is reachable via ethZ then everything would work just fine; whenever ethZ comes up the device will be mounted at /mnt. However, currently systemd is only able to kick off the network scripts once ethZ becomes _available_. The entire network setup is done somewhere else (networkmanager etc). Which makes it quite hard to implement something like the above. But rumours have that Kay and Lennart are working on integration the network setup into systemd. So once that's done iSCSI integration is relatively easy. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=712485 https://bugzilla.novell.com/show_bug.cgi?id=712485#c Ihno Krumreich <ihno@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Linux |openSUSE 12.1 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=712485 https://bugzilla.novell.com/show_bug.cgi?id=712485#c5 Hannes Reinecke <hare@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #5 from Hannes Reinecke <hare@suse.com> 2012-09-21 10:54:28 UTC --- I guess we won't be fixing it with 12.1. We should concentrate on 12.2 / Factory to get things to work there. -- 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.
participants (1)
-
bugzilla_noreply@novell.com