https://bugzilla.novell.com/show_bug.cgi?id=725412
https://bugzilla.novell.com/show_bug.cgi?id=725412#c7
Marius Tomaschewski changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|mt@suse.com |bnc-team-screening@forge.pr
| |ovo.novell.com
--- Comment #7 from Marius Tomaschewski 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.