[Bug 216805] New: dhcdbd fills hard disk if dbus is not running
https://bugzilla.novell.com/show_bug.cgi?id=216805 Summary: dhcdbd fills hard disk if dbus is not running Product: openSUSE 10.2 Version: Beta 1 plus Platform: PowerPC OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: rml@novell.com ReportedBy: olh@novell.com QAContact: qa@suse.de 10.2b1 I booted into runlevel 2 and run dhcpcd eth0 ; rcsshd start to copy some files onto this system. The disk was constantly busy. dhcdbd complains to syslog about lack of dbus every 3 seconds. The network just works fine. It should just shut up and not complain about lack of dbus. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 jpr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|rml@novell.com |tambet@ximian.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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 tambet@ximian.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |olh@novell.com ------- Comment #1 from tambet@ximian.com 2006-11-03 01:56 MST ------- I'm not sure I understand your problem correctly: You say you run dhcpcd and then have issues with dhcdbd? dhcdbd is a daemon that implements DBUS interface for dhcp client. It's only job is to implement a DBUS interface to control dhcp client. If you don't want to run DBUS, surely you have no use for dhcdbd? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|olh@novell.com | ------- Comment #2 from olh@novell.com 2006-11-03 02:44 MST ------- just try it. install 10.2b1 boot straight into runlevel 2 run 'dhcpcd eth0' tail -f /var/log/messages thats 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 tambet@ximian.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|tambet@ximian.com |zoz@novell.com Status|ASSIGNED |NEW ------- Comment #3 from tambet@ximian.com 2006-11-03 03:01 MST ------- /etc/init.d/network starts dhcdbd on runlevel 2 which requires DBUS, which is by default started only on runlevels 3 and 5. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 zoz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tambet@ximian.com, kukuk@novell.com Platform|PowerPC |All ------- Comment #4 from zoz@novell.com 2006-11-06 05:19 MST ------- But basic network has to run on runlevel 2. Just network services should not run. Or am i wrong? We start network in runlevel 2 since the very beginning of sysconfig.rpm in year 2001. And i guess (not verified) we did that also before.
From /etc/init.d/skeleton: # Note on runlevels: # 0 - halt/poweroff 6 - reboot # 1 - single user 2 - multiuser without network exported # 3 - multiuser w/ network (text mode) 5 - multiuser w/ network and X11 (xdm)
From /etc/inittab: # runlevel 2 is Local multiuser without remote network (e.g. NFS)
Tambet, what about making dhcdbd not complainig every three seconds. This seems to be the real bug. Olaf, you should not control network interfaces manually while NM is running. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 ------- Comment #5 from tambet@ximian.com 2006-11-06 06:45 MST ------- On runlevel 2, neither NetworkManager nor dhcdbd should be started, since DBUS isn't running and both of them need it. Either that or start DBUS on runlevel 2 as well. Running dhcdbd and NetworkManager without DBUS only wastes memory and startup time, it really is a hard dependency for both. That seems to be the real bug. The spam in log files is a cosmetic issue caused by the real issue, but yeah, I agree, it should get fixed as well. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 ------- Comment #6 from olh@novell.com 2006-11-06 08:25 MST ------- are you saying NM is taking away my rights to configure the network? we are talking mostly about a useless printf here. anyway, get rid of that syslog message, or print it only once. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 zoz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thoenig@novell.com ------- Comment #7 from zoz@novell.com 2006-11-06 11:19 MST ------- To comment 5: The question is if network interfaces should be set up in runlevel 2. In other words if service network has to be started or not. And in my understanding LSB says that service network should be started. http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generi... Now if network is controled by NM, then NM has to run. And if that needs dbus, then dbus has to run as well. Timo, what do you think of 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 ------- Comment #8 from zoz@novell.com 2006-11-06 11:23 MST ------- To comment 6: What i mean is that: NM is a daemon that is controlling network devices. And you should better not fiddle around with resources that are controled by a daemon. If you need to do that then stop the daemon. And yes, dhcdbd should print _one_ message. That's enough. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 ------- Comment #9 from thoenig@novell.com 2006-11-06 12:11 MST ------- (In reply to comment #7)
The question is if network interfaces should be set up in runlevel 2. In other words if service network has to be started or not. And in my understanding LSB says that service network should be started.
http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generi...
Now if network is controled by NM, then NM has to run. And if that needs dbus, then dbus has to run as well. Timo, what do you think of that?
Moving D-Bus to an earlier point of the booting process certainly does not hurt. However, I'm not sure whether we want to start network in init 2. The LSB is unclear as it only refers to network services; not the network setup itself. Personally, I expect init 2 not to start the network environment, but distributions tend to disagree (cf. http://en.wikipedia.org/wiki/Runlevel#Typical_Linux_runlevels). -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 ------- Comment #10 from zoz@novell.com 2006-11-06 12:29 MST ------- We start network in runlevel 2 since ages. At least since SuSE Linux 8.0 (the first release with sysconfig.rpm/ifup). And since dbus is not exported via network i see no problem in starting it in runlevel 2. It seems we have to discuss that on research. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 ------- Comment #11 from thoenig@novell.com 2006-11-06 12:35 MST ------- Thanks for clarifying. I probably used Debian a couple of years too long :-) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 ------- Comment #12 from thoenig@novell.com 2006-11-06 12:38 MST ------- Back to this issue, all services using D-Bus and syslog currently issue a message every x seconds. So while we're at it, we probably want to have those services to shut up. However, we should maintain a verbose switch for debugging. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 ------- Comment #13 from thoenig@novell.com 2006-11-06 12:39 MST ------- (In reply to comment #12)
Back to this issue, all services using D-Bus and syslog currently issue a message every x seconds.
..once the D-Bus system bus goes down. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 zoz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dkukawka@novell.com AssignedTo|zoz@novell.com |thoenig@novell.com ------- Comment #14 from zoz@novell.com 2006-11-09 05:11 MST ------- The main bug here is that dbus is not running despite required (That is what the error messages want to tell you). So reducing the number of error messages does not fix anything. Please start dbus also in runlevel 2. Then please assign to dkukawka for hal, which must also be started in rl 2. The error message frequency is just a cosmetic issue, which of course may be enhanced as well. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 thoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|thoenig@novell.com |dkukawka@novell.com ------- Comment #15 from thoenig@novell.com 2006-11-09 05:22 MST ------- Submitted D-Bus to STABLE. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #16 from dkukawka@novell.com 2006-11-11 16:18 MST ------- submitted hal and policykit to STABLE -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 behlert@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216805 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|Other |Development -- 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