Bug 438444
| Summary: | upstart - 'telinit 1' is not doing anything even close to advertised | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michal Jaegermann <michal> |
| Component: | initscripts | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | jes, notting, rvokal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-04-08 05:16:00 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 235706 | ||
|
Description
Michal Jaegermann
2008-03-20 21:59:11 UTC
This sounds like a difference between runlevel configuration in Ubuntu and Fedora? In Ubuntu (and Debian) rc1.d contains K scripts for each of the services found in rc2-5, and the final script which issues "telinit S" to actually put the system into single-user mode Fedora's the same way. Will be fixed in initscripts-8.69-1. http://git.fedorahosted.org/git/?p=initscripts.git;a=commit;h=d61552366c960cae6f5a52d493185ec8d8e716cd *** Bug 441489 has been marked as a duplicate of this bug. *** > Will be fixed in initscripts-8.69-1.
Well, with initscripts-8.69-1 installed I still see after 'telinit 1'
'/usr/sbin/console-kit-daemon' and 'anacron -s' running. The second,
in particular, is somewhat disconcerting as it is not obvious what
it may do and when.
Also what on earth is the following process hanging there:
root 3072 0.0 0.2 11072 1096 tty1 Ss 12:59 0:00 /bin/sh -e -c
?runlevel --set S >/dev/null || true??/bin/bash???runlevel=$(/bin/awk -F ':' '$3
== "initdefault" { print $2 }' /etc/inittab)??[ -z "$runlevel" ] &&
runlevel="3"??telinit $runlevel? /bin/sh S
All of this is surely in a much better shape (thanks!) but is it truly
fixed?
(In reply to comment #5) > > Will be fixed in initscripts-8.69-1. > > Well, with initscripts-8.69-1 installed I still see after 'telinit 1' > '/usr/sbin/console-kit-daemon' and 'anacron -s' running. The second, > in particular, is somewhat disconcerting as it is not obvious what > it may do and when. Those would be bugs in the particular packages. > Also what on earth is the following process hanging there: > > root 3072 0.0 0.2 11072 1096 tty1 Ss 12:59 0:00 /bin/sh -e -c > ?runlevel --set S >/dev/null || true??/bin/bash???runlevel=$(/bin/awk -F ':' '$3 > == "initdefault" { print $2 }' /etc/inittab)??[ -z "$runlevel" ] && > runlevel="3"??telinit $runlevel? /bin/sh S That's the thing that starts the shell. Sort of a consequence as to how upstart executes it. > Those would be bugs in the particular packages.
In that case I better make sure that corresponding reports are filed.
Note that this only really applies to things started by init scripts; it's impossible to track everything that may have been started at some point. |