[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2017-10-26 Thread Bug Watch Updater
Launchpad has imported 5 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=463728.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2008-09-24T09:43:15+00:00 Hans wrote:

Description of problem:
When the fsck of a network based blockdevice (nbd/iscsi) fails, the netfs 
initscript will drop the user to a root shell to repair things and then issue
"shutdown -r now"

upstart seems to try to continue entering the runlevel it was busy with
entering despite the reboot command being given.

While at the same time (in parallel??) starting a runlevel switch to the
new (reboot) runlevel.

Most noticeably here is that upstart spews messages like:
-process tty1 died, respawning 
-process prefdm died, respawning
(not the exact text but like that)

While its busy shutting down services for the reboot.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/66002/comments/11


On 2008-09-24T14:01:05+00:00 Bill wrote:

Hm, looking at a tty, for example:

start on stopped rc2
start on stopped rc3
start on stopped rc4
start on started prefdm

stop on runlevel 0
stop on runlevel 1
stop on runlevel 6

So, it may start quickly (on the stop of the runlevel) but then stop
again (on the start of runlevel 0/1/6)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/66002/comments/12


On 2008-11-26T03:12:22+00:00 Bug wrote:


This bug appears to have been reported against 'rawhide' during the Fedora 10 
development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/66002/comments/13


On 2009-11-18T08:25:19+00:00 Bug wrote:


This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '10'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 10's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 10 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/66002/comments/23


On 2009-12-18T06:25:49+00:00 Bug wrote:


Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/66002/comments/24


** Changed in: upstart (Fedora)
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/66002

Title:
  entering 'reboot' at the rescue console brings up gdm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/66002/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2009-12-17 Thread Bug Watch Updater
** Changed in: upstart (Fedora)
   Status: In Progress => Won't Fix

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2009-12-05 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/upstart

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2009-07-14 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/upstart/ubuntu

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2009-06-18 Thread Launchpad Bug Tracker
This bug was fixed in the package upstart - 0.3.10-2

---
upstart (0.3.10-2) karmic; urgency=low

  * debian/upstart.postinst: Use telinit u to re-exec, rather than
kill just in case it's not Upstart that's running.  LP: #92177.
  * debian/event.d/system-services/tty*: Run getty in 8-bit clean
mode.  LP: #273189.
  * debian/event.d/upstart-compat-sysv/rc-default:
- Don't use grep -w, instead split on $IFS and iterate.  LP: #385911.
- Check for any valid runlevel, not just S.  LP: #85014.
- Make console owner, since it may spawn sulogin.
  * debian/event.d/upstart-compat-sysv/rcS:
- Spawn sulogin if given -b or "emergency".  LP: #193810.
  * debian/event.d/upstart-compat-sysv/rcS:
- Make console owner.  LP: #211402.
  * debian/event.d/upstart-compat-sysv/rcS-sulogin:
- Place the telinit code in post-stop, checking $UPSTART_EVENT first so
  we don't change the runlevel if we were stopped due to a runlevel
  change.  LP: #66002.

 -- Scott James RemnantThu, 18 Jun 2009 16:19:34
+0100

** Changed in: upstart (Ubuntu)
   Status: In Progress => Fix Released

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2009-06-18 Thread Scott James Remnant
Actually, we have to check $1 as well - $UPSTART_EVENT is not reset if
the stop command is by exit, so it still contains "runlevel" because
that's what started the job.

if [ "${UPSTART_EVENT}" = "runlevel" -a "$1" != "S" ]
then
exit 100
fi

Seems right

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2009-06-18 Thread Scott James Remnant
100 being for debugging, obv

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2009-06-18 Thread Scott James Remnant
Moving the telinit code into post-stop and checking $UPSTART_EVENT looks
like it does the trick

** Changed in: upstart (Ubuntu)
   Status: Confirmed => In Progress

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2009-06-18 Thread Scott James Remnant
Though also thinking about it, we really want the rc-default job to be
run - and therefore the stopping event to know why it stopped ;)

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2009-06-18 Thread Scott James Remnant
Ok, so here's my current working theory on this bug.

When you are in single-user mode, the rcS-default job is running: this
is what runs "sulogin".  Once "sulogin" finishes, this then runs
"telinit" to switch to the default runlevel.

If you type "reboot" inside the "sulogin" shell, that will run
"shutdown" which will send a runlevel event to change the runlevel (to
6).

Now, what's supposed to happen is this:

 * the rcS-sulogin job is stopped (stop on runlevel)
 * the rcS-sulogin script, sulogin, etc. are sent the TERM signal and die
 * the rc6 job is started (start on runlevel 6)
 * shutdown begins

When I try it, that's what happens.

Now, what I think *MIGHT* happen for some people is:

 * the rcS-sulogin job is stopped (stop on runlevel)
 * the sulogin script gets sent the TERM signal
 * the rcS-sulogin script continues, and gets to run "telinit 2"
 * the rcS-sulogin script gets send the TERM signal
 * _but_ telinit2 sends the "runlevel 2" event
 * the rc6 job is stopped (stop on runlevel [!6])
 * the rc2 job is started (start on runlevel 2)
 * normal boot begins

So this would be a race condition.

0.3 gives us an easy way to fix this, the job stop cause is in
$UPSTART_EVENT for the post-stop script, so all we need to do is move
the telinit into post-stop and only run if if $UPSTART_EVENT != runlevel

Interestingly this is impossible with 0.5 because it doesn't reveal why
a process was stopped, and this makes we realise that we do need that
functionality

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2009-06-18 Thread Bug Watch Updater
** Changed in: upstart (Fedora)
   Status: Unknown => In Progress

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2009-06-18 Thread Scott James Remnant
Fedora bug looks like the same thing, just expressed differently

** Bug watch added: Red Hat Bugzilla #463728
   https://bugzilla.redhat.com/show_bug.cgi?id=463728

** Also affects: upstart (Fedora) via
   https://bugzilla.redhat.com/show_bug.cgi?id=463728
   Importance: Unknown
   Status: Unknown

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2009-04-28 Thread Paul O'Malley
8.04.2 remote use of reboot -f leaves the user in server mode having to
make a journey to the on off button or find someone who can

not great when it is a test firewall but better than it being in
production

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2008-12-21 Thread Josef Wolf
In Ubuntu 8.10, the wording has been changed to reflect the actual
beahvior. It now reads "press ctrl-D to resume boot". I don't think this
is a proper solution to the problem. IMHO there _have_ to be a way to
properly shutdown without continuing the boot.  E.g. one might want to
make a copy of the corrupted filesystem before trying to repair it.
Continuing the boot is the worst thing one can do in such a situation.

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2008-07-13 Thread Tormod Volden
Still there in Ubuntu 8.04.1. I think its especially bad because fsck
tells me to reboot (I guess that's recommended after root file system
repair) and when I type "reboot" it starts up everything (which must be
not recommended for the same reasons).

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2008-04-20 Thread Josef Wolf
No, this is not printed.  And in fact, ctrl-D won't reboot, either.
There is really, really no way to properly reboot at this stage.

"reboot -f" is _not_ a proper workaround, since it will not umount/sync
filesystems properly.

BTW: This bug still exists in 8.04rc. :-(

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2007-12-01 Thread Krzysztof Janowski
Isn't it printed on the screen after dropping to maintenance console,
that after doing maintenance you have to press Control+D to reboot?

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2007-10-08 Thread Scott James Remnant
** Changed in: upstart (Ubuntu)
 Assignee: Scott James Remnant (keybuk) => (unassigned)

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2007-10-08 Thread Scott James Remnant
Need to figure out what's causing this

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2007-06-24 Thread Tormod Volden
Seeing the same in Gutsy. It does not start to shutdown after starting
gdm.

-- 
entering 'reboot' at the rescue console brings up gdm
https://bugs.launchpad.net/bugs/66002
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2007-02-06 Thread Scott James Remnant
** Changed in: upstart (Ubuntu)
   Importance: Low => High

-- 
entering 'reboot' at the rescue console brings up gdm
https://launchpad.net/bugs/66002

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2006-10-16 Thread Scott James Remnant
Actually, sorry, scratch that last -- the reboot event can be issued
when processes are in start

-- 
entering 'reboot' at the rescue console brings up gdm
https://launchpad.net/bugs/66002

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2006-10-16 Thread Scott James Remnant
Oh, right, the gettys would be running and thus save the system from
shutdown -- ho-hum :)

-- 
entering 'reboot' at the rescue console brings up gdm
https://launchpad.net/bugs/66002

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2006-10-14 Thread Reinhard Tartler
no, I had to select 'reboot' at the gdm prompt.

Perhaps I was to fast pressing reboot, however (30seks).

-- 
entering 'reboot' at the rescue console brings up gdm
https://launchpad.net/bugs/66002

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2006-10-14 Thread Scott James Remnant
Known, use "reboot -f"

-- 
entering 'reboot' at the rescue console brings up gdm
https://launchpad.net/bugs/66002

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66002] Re: entering 'reboot' at the rescue console brings up gdm

2006-10-14 Thread Scott James Remnant
Caused by the fact that the rcS job is still running, reboot issues the
"shutdown" event but that won't actually complete until rcS and then rc2
have finished ... you'll probably find that the moment it hits gdm, it
starts shutting down again?

** Changed in: upstart (Ubuntu)
   Importance: Undecided => Low
 Assignee: (unassigned) => Scott James Remnant
   Status: Unconfirmed => Confirmed

-- 
entering 'reboot' at the rescue console brings up gdm
https://launchpad.net/bugs/66002

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs