Bug#310064: initscripts: init S doesn't shut down X properly

2005-05-23 Thread Miquel van Smoorenburg
On Sat, 2005-05-21 at 21:27 +0930, Arthur Marsh wrote:
 Package: initscripts
 Version: 2.86.ds1-1
 Severity: important
 
 
 I previously have used init S from both an xterm and from a console 
 login to enter single user mode then re-enter multi-user mode with X and 
 networking, but presently init S from an xterm leaves X in an unusable 
 state and init S from a console login doesn't shut down X properly and I 
 get the message that xdm is already running when returning to multiuser 
 mode only X is then unusable.

That is completely correct. init s changes to the single-user mode
runlevel but DOES NOT kill any user processes. You're supposed to go to
runlevel 1 first.

So use init 1 to go to single user mode, or even better, use the
standard and more portable command shutdown now which effectively does
an init 1 for you.

Not a bug, closing.

Mike.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#310064: initscripts: init S doesn't shut down X properly

2005-05-23 Thread Arthur Marsh



Miquel van Smoorenburg wrote:

On Sat, 2005-05-21 at 21:27 +0930, Arthur Marsh wrote:


Package: initscripts
Version: 2.86.ds1-1
Severity: important


I previously have used init S from both an xterm and from a console 
login to enter single user mode then re-enter multi-user mode with X and 
networking, but presently init S from an xterm leaves X in an unusable 
state and init S from a console login doesn't shut down X properly and I 
get the message that xdm is already running when returning to multiuser 
mode only X is then unusable.



That is completely correct. init s changes to the single-user mode
runlevel but DOES NOT kill any user processes. You're supposed to go to
runlevel 1 first.

So use init 1 to go to single user mode, or even better, use the
standard and more portable command shutdown now which effectively does
an init 1 for you.

Not a bug, closing.

Mike.




OK, thanks for the information.

Regards,

Arthur.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#310064: initscripts: init S doesn't shut down X properly

2005-05-21 Thread Arthur Marsh
Package: initscripts
Version: 2.86.ds1-1
Severity: important


I previously have used init S from both an xterm and from a console 
login to enter single user mode then re-enter multi-user mode with X and 
networking, but presently init S from an xterm leaves X in an unusable 
state and init S from a console login doesn't shut down X properly and I 
get the message that xdm is already running when returning to multiuser 
mode only X is then unusable.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-386
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages initscripts depends on:
ii  coreutils   5.2.1-2  The GNU core utilities
ii  dpkg1.10.27  Package maintenance system for Deb
ii  e2fsprogs   1.37+1.38-WIP-0509-1 ext2 file system utilities and lib
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  mount   2.12p-4  Tools for mounting and manipulatin
ii  util-linux  2.12p-4  Miscellaneous system utilities

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]