[Bug 725412] New: systemd is not applying /lib/sysctl.d/sysctl.conf
https://bugzilla.novell.com/show_bug.cgi?id=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c0 Summary: systemd is not applying /lib/sysctl.d/sysctl.conf Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: fcrozat@suse.com ReportedBy: idonmez@suse.com QAContact: qa@suse.de Found By: --- Blocker: --- I am adding the following to the end of /lib/sysctl.d/sysctl.conf: dev.cdrom.autoclose = 0 Upon reboot I check the value:
sysctl -a|grep dev.cdrom.autoclose = 1
After I manually run sysctl:
sudo /sbin/sysctl -e -q --system sysctl -a|grep dev.cdrom.autoclose = 0
So looks like systemd is not applying the sysctl.conf -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c1 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fcrozat@suse.com AssignedTo|fcrozat@suse.com |mt@suse.com --- Comment #1 from Frederic Crozat <fcrozat@suse.com> 2011-10-20 11:31:15 UTC --- after some debugging, values are correctly set by /lib/systemd/systemd-sysctl But it seems network going up (or down) is clearing sysctl value. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c2 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|systemd is not applying |sysctl settings get reset |/lib/sysctl.d/sysctl.conf |after network up/down --- Comment #2 from Ismail Donmez <idonmez@suse.com> 2011-10-20 11:34:10 UTC --- Reproduced with SystemV init too, fixing title. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c3 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |idonmez@suse.com --- Comment #3 from Marius Tomaschewski <mt@suse.com> 2011-10-20 11:46:44 UTC --- ifup is not clearing any sysctl settings without configuration as /etc/sysconfig/network/ifsysctl*. Are you using ifup or NM? I've no idea if NM does something. In the _past_ (don't know now), there were some code in libzypp changing some cdrom settings... and of course the hal daemon on request of something... -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c4 --- Comment #4 from Marius Tomaschewski <mt@suse.com> 2011-10-20 11:48:26 UTC --- And... which action exactly resets the settings? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c5 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|idonmez@suse.com | --- Comment #5 from Ismail Donmez <idonmez@suse.com> 2011-10-20 11:48:52 UTC --- I am using ifup. And hal is gone from 12.1, but don't know if libzypp is doing anything but I don't invoke zypper during testing. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c6 --- Comment #6 from Frederic Crozat <fcrozat@suse.com> 2011-10-20 11:59:30 UTC --- rcnetwork stop is clearing kernel.domainname here (I didn't test any other value). -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c7 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mt@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com --- Comment #7 from Marius Tomaschewski <mt@suse.com> 2011-10-20 13:58:12 UTC --- Well... resetting kernel.domainname is fine and is something completely different than dev.cdrom.autoclose. "rcnetwork stop" calls "netconfig update" that makes a cleanup of the network settings (dns, nis, ntp) applied by "start" e.g. as received from dhcp or also from NETCONFIG_* variables in the /etc/sysconfig/network/config. In this case, /etc/netconfig.d/nis calls /bin/nisdomainname '' (or /bin/ypdomainname ''): # sysctl -w kernel.domainname=foo kernel.domainname = foo # # VERBOSE=yes /etc/netconfig.d/nis debug: nis Module called debug: Keep Static debug: format_static[-1] called debug: Other: * debug: exec manage_interfaceconfig: /var/run/netconfig/br1000 debug: exit manage_interfaceconfig: /var/run/netconfig/br1000 debug: exec manage_interfaceconfig: /var/run/netconfig/eth0 debug: exec get_nis_settings: /var/run/netconfig/eth0/netconfig0 debug: exit get_nis_settings: /var/run/netconfig/eth0/netconfig0 debug: exit manage_interfaceconfig: /var/run/netconfig/eth0 debug: exec manage_interfaceconfig: /var/run/netconfig/lo debug: exit manage_interfaceconfig: /var/run/netconfig/lo debug: No changes for /etc/yp.conf debug: set nis domainname to '' debug: nis domainname '' is up to date # sysctl kernel.domainname ; grep -v ^# /etc/yp.conf kernel.domainname = # The netconfig nis code didn't changed since ... something like 11.1 or 11.2 and is IMO correct. When you don't like it, disable netconfig (default policy "auto"), e.g. using: sed -ie 's/\(NETCONFIG.*POLICY\)=.*/\1=""/g' /etc/sysconfig/network/config Something else resets dev.cdrom.autoclose -- resetting assignee. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c8 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|sysctl settings get reset |(some?) sysctl settings get |after network up/down |reset --- Comment #8 from Ismail Donmez <idonmez@suse.com> 2011-10-20 14:01:03 UTC --- Fixing title again... -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c9 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mt@suse.com Summary|(some?) sysctl settings get |sysctl settings get reset |reset |after network up/down --- Comment #9 from Marius Tomaschewski <mt@suse.com> 2011-10-20 14:11:17 UTC --- BTW: It could be, that there is some hook installed by some program, e.g. /etc/sysconfig/network/if-{up,down}.d/*, or that the "stop" triggers udev event and there is a udev rule doing this. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|sysctl settings get reset |(some?) sysctl settings get |after network up/down |reset -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |659153 -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c10 Malvern Star <malv_star@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |malv_star@hotmail.com --- Comment #10 from Malvern Star <malv_star@hotmail.com> 2011-10-26 01:22:51 UTC --- Any improvement to this situation in RC1? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |werner@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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c11 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@suse.com, | |os.gnome.maintainers@gmail. | |com, werner@suse.com AssignedTo|werner@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com --- Comment #11 from Dr. Werner Fink <werner@suse.com> 2011-10-27 10:43:10 UTC --- Guess: the cdrom module becomes unload and reloaded after a while. I don't think this is network related ... nevertheless in both cases this bug does not belong to me. The only thing I donßt know if the NetworkManager wll clear out sysctl setups by using e.g. its ifsysctl files. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c12 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |idonmez@suse.com --- Comment #12 from Andreas Jaeger <aj@suse.com> 2011-10-27 10:46:41 UTC --- So, who is doing the change? Ismail, could you figure out which program does it and nail it down a bit more, please? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c13 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|idonmez@suse.com | --- Comment #13 from Ismail Donmez <idonmez@suse.com> 2011-10-28 07:49:10 UTC --- Ok the problem is "cdrom" module is not loaded when sysctl.service is started, thats why setting autoclose fails. There are some possible solutions to fix this, 1. Load sysctl.service late in the cycle to make sure cdrom module is loaded. 2. Make cdrom a built-in not a module. 3. Autoload cdrom module and make systctl.service is started after systemd-modules-autoload.service What do you guys think? This is blocking bug #659153 which is rather ugly. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c14 --- Comment #14 from Dr. Werner Fink <werner@suse.com> 2011-10-28 08:00:16 UTC --- 4. Add cdrom module to the line of the variable INITRD_MODULES and run mkinitrd -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c15 --- Comment #15 from Ismail Donmez <idonmez@suse.com> 2011-10-28 08:04:50 UTC --- (In reply to comment #14)
4. Add cdrom module to the line of the variable INITRD_MODULES and run mkinitrd
This seems to be a way better fix. Is there any downside doing this? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c16 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |fcrozat@suse.com AssignedTo|bnc-team-screening@forge.pr |fcrozat@suse.com |ovo.novell.com | --- Comment #16 from Dr. Werner Fink <werner@suse.com> 2011-10-28 09:10:43 UTC --- I'm not aware of ... nevertheless for a real fix point 3 is the better way that is insert modules before running sysctl ... simply by adding systemd-modules-load.service in the Before= line Frederic? Would this be an option? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c17 --- Comment #17 from Ismail Donmez <idonmez@suse.com> 2011-10-28 09:25:11 UTC --- (In reply to comment #16)
I'm not aware of ... nevertheless for a real fix point 3 is the better way that is insert modules before running sysctl ... simply by adding systemd-modules-load.service in the Before= line
Frederic? Would this be an option?
That won't help as is. The service is looking at the following directories: ConditionDirectoryNotEmpty=|/lib/modules-load.d ConditionDirectoryNotEmpty=|/usr/lib/modules-load.d ConditionDirectoryNotEmpty=|/usr/local/lib/modules-load.d ConditionDirectoryNotEmpty=|/etc/modules-load.d ConditionDirectoryNotEmpty=|/run/modules-load.d So we have to manually add "cdrom" to one of these files. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c18 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|fcrozat@suse.com | --- Comment #18 from Frederic Crozat <fcrozat@suse.com> 2011-10-31 12:49:05 UTC --- no opposition for the added dependency, ping me if you want me to add it (I guess it should also go upstream). -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c19 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |fcrozat@suse.com --- Comment #19 from Ismail Donmez <idonmez@suse.com> 2011-10-31 14:26:24 UTC --- (In reply to comment #18)
no opposition for the added dependency, ping me if you want me to add it (I guess it should also go upstream).
Well this alone doesn't solve the problem, we need systemd-modules-load.service to load "cdrom" module as well. Can we do this in default systemd setup? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c20 --- Comment #20 from Frederic Crozat <fcrozat@suse.com> 2011-10-31 14:49:04 UTC --- It isn't systemd job to "load" modules (be it cdrom or any other modules). Something else should create (or package) a cdrom.conf file in /lib/modules-load.d -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c21 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|fcrozat@suse.com | --- Comment #21 from Ismail Donmez <idonmez@suse.com> 2011-10-31 17:34:25 UTC --- (In reply to comment #20)
It isn't systemd job to "load" modules (be it cdrom or any other modules).
Something else should create (or package) a cdrom.conf file in /lib/modules-load.d
We should just make cdrom loaded in initrd. Werner, what do you think? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |werner@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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c22 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|werner@suse.com |fcrozat@suse.com --- Comment #22 from Dr. Werner Fink <werner@suse.com> 2011-11-02 11:55:22 UTC --- Hmmm ... this may help as workaround, nevertheless it is not required for initrd therefore I suppose to use an other way. Btw: for what is systemd-modules-load.service good for if loading modules is not the job of systemd? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c23 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|fcrozat@suse.com | --- Comment #23 from Frederic Crozat <fcrozat@suse.com> 2011-11-02 12:45:53 UTC --- you misread my comment : systemd "package" shouldn't own policies file, such as loading cdrom module. If we want cdrom module to be loaded at boot, the config file for that should be in a package, but not in systemd package. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c24 --- Comment #24 from Ismail Donmez <idonmez@suse.com> 2011-11-02 12:53:13 UTC --- Since "cdrom" is a basic module it should be loaded by initrd. Any objections to this? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c25 --- Comment #25 from Malvern Star <malv_star@hotmail.com> 2011-11-07 07:11:12 UTC --- I'd say there are no objections Ismail. Since this bug: https://bugzilla.novell.com/show_bug.cgi?id=659153 is still present in RC2, I assume this one has not been fixed either at this stage. Any chance of a fix before final? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c26 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |werner@suse.com --- Comment #26 from Ismail Donmez <idonmez@suse.com> 2011-12-05 14:22:52 UTC --- Werner, Can you tell me the preferred way of loading "cdrom" kernel module early in the boot cycle? Thanks. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c27 --- Comment #27 from Marius Tomaschewski <mt@suse.com> 2011-12-05 16:13:15 UTC --- I'm not Werner, but there are IMO two ways to load them as workaround: either append them to /etc/sysconfig/kernel:INITRD_MODULES="" and call mkinitrd or to /etc/sysconfig/kernel:MODULES_LOADED_ON_BOOT="", so the /etc/init.d/boot.loadmodules will script will load them "quite early". -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c28 --- Comment #28 from Ismail Donmez <idonmez@suse.com> 2011-12-05 16:17:09 UTC --- (In reply to comment #27)
I'm not Werner, but there are IMO two ways to load them as workaround: either append them to /etc/sysconfig/kernel:INITRD_MODULES="" and call mkinitrd or to /etc/sysconfig/kernel:MODULES_LOADED_ON_BOOT="", so the /etc/init.d/boot.loadmodules will script will load them "quite early".
Thanks a lot, INITRD_MODULES seems to the best way to load the module. Werner, do you have any objections/suggestions? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c29 --- Comment #29 from Malvern Star <malv_star@hotmail.com> 2011-12-19 05:40:53 UTC --- I've pinged Werner to get his feedback on your proposal. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c30 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|werner@suse.com | --- Comment #30 from Dr. Werner Fink <werner@suse.com> 2011-12-23 18:48:51 UTC --- (In reply to comment #29) IMHO all modules not required for boot the system from disk should not be part of initrd. That is that my suggestion is to read as workaround for the reporter and we may use an other clear mechanism to load the cdrom module later on as this would be done with SysVinit. I've no idea *why* systemd API does not provide such a scheme. The only thing wich is currently clear: it ignores /etc/sysconfig. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c31 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |fcrozat@suse.com --- Comment #31 from Ismail Donmez <idonmez@suse.com> 2011-12-28 13:43:19 UTC --- Frederic, I have to agree with Werner here, we need a systemd way of loading modules as early as possible, initrd is not really the right way to do this. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c32 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|fcrozat@suse.com |idonmez@suse.com --- Comment #32 from Frederic Crozat <fcrozat@suse.com> 2012-01-03 12:59:16 UTC --- could you test with package from home:fcrozat:systemd / systemd ? I fixed a bug where MODULES_LOADED_ON_BOOT in /etc/sysconfig/kernel was not always properly handled by systemd (and it is part of the pending 12.1 maintenance release). -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c33 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|idonmez@suse.com | --- Comment #33 from Ismail Donmez <idonmez@suse.com> 2012-01-03 13:15:25 UTC --- It doesn't seem to load modules as early enough : [~]> grep MODULES_LOADED_ON_BOOT /etc/sysconfig/kernel MODULES_LOADED_ON_BOOT="cdrom" [~]> grep cdrom /lib/sysctl.d/sysctl.conf dev.cdrom.autoclose = 0 [~]> sysctl -a | grep dev.cdrom.autoclose dev.cdrom.autoclose = 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c34 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |idonmez@suse.com --- Comment #34 from Frederic Crozat <fcrozat@suse.com> 2012-01-03 14:27:52 UTC --- could you try copying /lib/systemd/system/systemd-sysctl.service to /etc/systemd/system and add After=systemd-modules-load.service in the [Unit] section. Currently, there is no ordering defined between those two services (which are "early services" so this omission doesn't affect most of other services) -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c35 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|idonmez@suse.com | --- Comment #35 from Ismail Donmez <idonmez@suse.com> 2012-01-03 15:41:30 UTC --- (In reply to comment #34)
could you try copying /lib/systemd/system/systemd-sysctl.service to /etc/systemd/system
and add After=systemd-modules-load.service
in the [Unit] section.
Currently, there is no ordering defined between those two services (which are "early services" so this omission doesn't affect most of other services)
Yes, it works like this! I guess you'll apply this change to systemd package too? Then I can add cdrom to MODULES_LOADED_ON_BOOT and then we can close this bug :-) Happy new year btw! ;) -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c36 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |idonmez@suse.com --- Comment #36 from Frederic Crozat <fcrozat@suse.com> 2012-01-04 07:47:49 UTC --- Could you test package from home:fcrozat:systemd / systemd (and remove /etc/systemd/system/systemd-sysctl.service) to confirm the fix in the package is working properly ? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c37 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|idonmez@suse.com | --- Comment #37 from Ismail Donmez <idonmez@suse.com> 2012-01-04 09:45:25 UTC --- (In reply to comment #36)
Could you test package from home:fcrozat:systemd / systemd (and remove /etc/systemd/system/systemd-sysctl.service) to confirm the fix in the package is working properly ?
Works! Thanks. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c38 --- Comment #38 from Frederic Crozat <fcrozat@suse.com> 2012-01-04 10:14:35 UTC --- Ok, it will be part of a future 12.1 maintenance update for systemd (no date scheduled at all for now) and will also be fixed in Factory. Keeping this bug opened so I don't forget about 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c39 --- Comment #39 from Malvern Star <malv_star@hotmail.com> 2012-01-07 10:06:07 UTC --- Thanks Federic. Looking forward to that update. Are we talking weeks? Months? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c40 --- Comment #40 from Frederic Crozat <fcrozat@suse.com> 2012-01-10 13:53:48 UTC --- (In reply to comment #39)
Thanks Federic. Looking forward to that update. Are we talking weeks? Months?
weeks.. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c41 --- Comment #41 from Malvern Star <malv_star@hotmail.com> 2012-02-13 15:47:35 UTC --- Federic, any news on when that systemd update is coming? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c42 --- Comment #42 from Frederic Crozat <fcrozat@suse.com> 2012-02-13 16:34:01 UTC --- I should start the process soon, I need to review pending bugs for 12.1 systemd. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c43 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #43 from Frederic Crozat <fcrozat@suse.com> 2012-03-14 16:43:20 UTC --- update released. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c44 --- Comment #44 from Michal Marek <mmarek@suse.com> 2012-03-22 10:28:49 UTC --- Why don't you simply add 'options cdrom autoclose=1' to a file in /etc/modprobe.d, instead the sysctl setting? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c45 --- Comment #45 from Ismail Donmez <idonmez@suse.com> 2012-03-22 11:05:27 UTC --- (In reply to comment #44)
Why don't you simply add 'options cdrom autoclose=1' to a file in /etc/modprobe.d, instead the sysctl setting?
Anything problematic with the sysctl method? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c46 --- Comment #46 from Malvern Star <malv_star@hotmail.com> 2012-03-26 14:35:51 UTC --- Sorry Federic, has this fix shipped? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c47 --- Comment #47 from Frederic Crozat <fcrozat@suse.com> 2012-03-26 14:45:25 UTC --- yes, as stated in comment 43 -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c48 Cristian Rodríguez <crrodriguez@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |crrodriguez@opensuse.org Resolution|FIXED | --- Comment #48 from Cristian Rodríguez <crrodriguez@opensuse.org> 2013-05-27 22:10:48 CLT --- THis patch has been rejected in upstream: Reason being that modules are loaded in an async fashion and there is no warranty at all that this will continue to work the way it is expected. module specific sysctls have to be either: -Set via udev rule - or two, by the only correct suggestion in this bug report, comment 44 by Mmarek. :-) -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c49 --- Comment #49 from Malvern Star <malv_star@hotmail.com> 2013-06-22 11:31:55 UTC --- Bug does not appear present in 13.1 M2. Can anybody else confirm? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c50 --- Comment #50 from Cristian Rodríguez <crrodriguez@opensuse.org> 2013-06-22 08:48:26 CLT --- (In reply to comment #49)
Bug does not appear present in 13.1 M2. Can anybody else confirm?
No, it is not present but the underlying problem persists, it was swapped under the rug. The permanent correct solution is to do this --> Michal Marek 2012-03-22 06:28:49 CLT Why don't you simply add 'options cdrom autoclose=1' to a file in /etc/modprobe.d, instead the sysctl setting? Such file should belong to the suse-module-tools package and the patch to systemd should be reverted entirely. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c51 Malvern Star <malv_star@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |Other Platform|Other |PC Version|Factory |13.1 Milestone 4 AssignedTo|fcrozat@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE 12.1 |openSUSE Factory OS/Version|Other |SUSE Other --- Comment #51 from Malvern Star <malv_star@hotmail.com> 2013-08-16 20:09:43 UTC --- Cristian, So what's going to happen here? Can the underlying issue be fixed in time for 13.1? It seems ridiculous to allow the problem to persist when the fix is so relatively simple. Also, I've tested against 13.1 M4 and the CD-ROM works but as you say, the underlying problem still persists. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c Ye Yuan <yyuan@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yyuan@suse.com AssignedTo|bnc-team-screening@forge.pr |fcrozat@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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|fcrozat@suse.com |lnussel@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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c52 --- Comment #52 from Ludwig Nussel <lnussel@suse.com> 2013-09-30 09:21:25 CEST --- What is expected from me here? sysctl is broken by design unfortunately. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c53 --- Comment #53 from Frederic Crozat <fcrozat@suse.com> 2013-09-30 08:48:19 UTC --- (In reply to comment #52)
What is expected from me here? sysctl is broken by design unfortunately.
I'd say removing the cdrom part from sysctl.conf file and create a drop-in file in /etc/modprobe.d (and still keep this file in aaa_base) -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c54 --- Comment #54 from Ludwig Nussel <lnussel@suse.com> 2013-09-30 11:18:22 CEST --- Ah, ok. I think the proper solution would be an udev rule that calls "/sbin/sysctl --system --pattern '^dev.cdrom'" on module load. Question is which package this belongs to? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c55 --- Comment #55 from Ismail Donmez <idonmez@suse.com> 2013-09-30 09:30:26 UTC --- Note that cdrom sysctl settings seem to be dropped in Factory at least: [~]> grep cdrom /etc/sysctl.conf [~]> When and why I don't know. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c56 --- Comment #56 from Ludwig Nussel <lnussel@suse.com> 2013-09-30 11:40:45 CEST --- The defaults are in procps where the sysctl binary comes from -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c57 --- Comment #57 from Dr. Werner Fink <werner@suse.com> 2013-09-30 14:55:48 UTC --- ??? man 8 sysctl: --system Load settings from all system configuration files. /boot/sysctl.conf-<kernelversion> /run/sysctl.d/*.conf /etc/sysctl.d/*.conf /usr/local/lib/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf /lib/sysctl.d/*.conf /etc/sysctl.conf and from spec file of systemd in the %post install scriptlet # since v207 /etc/sysctl.conf is no longer parsed, however # backward compatibility is provided by /etc/sysctl.d/99-sysctl.conf if [ ! -L /etc/sysctl.d/99-sysctl.conf -a -e /etc/sysctl.conf ]; then /bin/ln -sf /etc/sysctl.conf /etc/sysctl.d/99-sysctl.conf || : fi .. why does this not work? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c58 --- Comment #58 from Frederic Crozat <fcrozat@suse.com> 2013-10-02 14:30:07 UTC --- this issue isn't sysctl itself, but some settings are being reset when module are loaded (cdrom for this specific bug).. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c59 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mmarek@suse.com --- Comment #59 from Dr. Werner Fink <werner@suse.com> 2013-10-04 10:47:12 UTC --- Then it could be that after loading the cdrom or sowhatever module the sysctl settings had to be (re)set again ... by e.g the old way with modprobe and an install within modprobe.conf/modprobe.d/* or more modern with a udev rule. Nevertheless specific cdrom sysctl settings belongs not to procpes but to an own configuration file below /etc/sysctl.conf or /usr/lib/sysctl.d/*.conf -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c60 --- Comment #60 from Frederic Crozat <fcrozat@suse.com> 2013-10-04 11:41:46 UTC --- (In reply to comment #59)
Nevertheless specific cdrom sysctl settings belongs not to procpes but to an own configuration file below /etc/sysctl.conf or /usr/lib/sysctl.d/*.conf
I agree, those configuration / policies should be splitted to a separate package. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c61 Malvern Star <malv_star@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |Other Version|13.1 Milestone 4 |Final AssignedTo|lnussel@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE Factory |openSUSE 13.1 OS/Version|SUSE Other |openSUSE 13.1 --- Comment #61 from Malvern Star <malv_star@hotmail.com> 2013-11-22 06:51:06 UTC --- Bug is presumably still present in 13.1 final. Updated. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c Xiyuan Liu <xyliu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyliu@suse.com AssignedTo|bnc-team-screening@forge.pr |werner@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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c63 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|xyliu@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com --- Comment #63 from Dr. Werner Fink <werner@suse.com> 2013-11-25 08:23:39 UTC --- ... IMHO this could be solved by using the options of the module its self: /suse/werner> modinfo cdrom filename: /lib/modules/2.6.27.57-0-pae/kernel/drivers/cdrom/cdrom.ko license: GPL srcversion: D868CCB0789DA27F51280A8 depends: supported: yes vermagic: 2.6.27.57-0-pae SMP mod_unload modversions CORE2 parm: debug:bool parm: autoclose:bool parm: autoeject:bool parm: lockdoor:bool parm: check_media_type:bool parm: mrw_format_restart:bool that is a line options cdrom autoclose=1 in e.g. /etc/modprobe.conf.local would solve this problem. And if we really want to have this as distribution feature (do we?) then a file /etc/modprobe.d/cdrom could be an option. This file could be part of module-init-tools or it could be written out be YaST2 after the user has configured the cdrom behaviour. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c64 --- Comment #64 from Malvern Star <malv_star@hotmail.com> 2013-11-28 17:58:43 UTC --- I like this idea. Anybody know any reason it might not work? Also, what info is needed for the NEEDINFO flag? -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c65 --- Comment #65 from Dr. Werner Fink <werner@suse.com> 2013-11-29 14:49:06 UTC --- (In reply to comment #64) The needinfo was because I've become asignee even if I can not provide a solution in any of my maintained packages. That is how can systemd or procps sysctl configuration avoid that a modul overrides a already set sysctl configuration. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c66 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEEDINFO |REOPENED InfoProvider|xyliu@suse.com | AssignedTo|bnc-team-screening@forge.pr |mmarek@suse.com |ovo.novell.com | Severity|Major |Normal --- Comment #66 from Dr. Werner Fink <werner@suse.com> 2013-11-29 15:02:59 UTC --- OK ... I'd like to suggest to add a few lines in /etc/modprobe.d/00-system.conf which is part of the package suse-module-tools , that is below the lines # we don't want ide-scsi handle CD drives (bnc#242009) options ide-scsi idescsi_nocd=1 we may add # let the cdrom automatically close its door upon mount options cdrom autoclose=1 @ Michal : Please be so kind and add these two lines in /etc/modprobe.d/00-system.conf thank you a lot. -- 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=725412 https://bugzilla.novell.com/show_bug.cgi?id=725412#c67 Michal Marek <mmarek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WONTFIX --- Comment #67 from Michal Marek <mmarek@suse.com> 2014-03-17 12:20:09 UTC --- autoclose=1 is the default. What Ismail wants is the oposite behavior, but we are not going to change the default (and Ismail did not even request that). -- 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