From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 Epiphany/1.0.4 Description of problem: ntsysv used to work. Now that I'm running 2.6.1-1.43 kernel from rawhide, when I run ntsysv, it shows me all non-xinetd services off. Running with strace I see that it's looking into /etc/rc.d/rc0.d/ chkconfig works as it's expected. system-config-services generates python errors and refuses to run so I cannot check that one. Version-Release number of selected component (if applicable): ntsysv-1.3.9-1 How reproducible: Always Steps to Reproduce: 1. Boot with 2.6 kernel from rawhide 2. Run ntsysv 3. Actual Results: All non-xinetd services are off Expected Results: Some services should be on Additional info:
What's the output of the 'runlevel' command?
[root@mces root]# runlevel unknown
Sorry Bill, seems to be a problem from my side. I've got no /var/run/utmp nor /var/run/wtmp. Don't know why. Just that 'strace runlevel' shows that it looks for them. Do you have any idea how they can disappear? I'm sure ntsysv was working.
Not off the top of my head. I'd do the obvious checks for trojans/compromises.
Well, actually a second check shows that I've got a healthy /var/log/wtmp, so last(1) works. What runlevel is looking for and I don't have is /var/run/utmpx and /var/run/utmp. So, you know how runlevel is supposed to work.
Apparently this has been a minor problem in my side. Now I see there is a /var/run/utml and runlevel works fine. Closing.