[gentoo-user] Re: you are stopping a boot service

2011-05-14 Thread Nicolas Sebrecht
On Sat, May 14, 2011 at 07:39:03AM +0200, Hartmut Figge wrote:
 
 Greetings,
 
 i am always booting to a console and switch later to X using startx. Now
 i have noticed a message appearing after typing the password:
 
 i5 login: 
 Password:
 Last login: Sat May 14 06:58:55 CEST 2011 on tty1
  * WARNING: you are stopping a boot service
 
 Same thing happens after switching from X to a console with e.g.
 ctrl-altl-F2. Hm? :)

You may have a service in the wrong runlevel called boot. What do you
have in it? ( 'ls /etc/runlevels/boot' )

-- 
Nicolas Sebrecht



[gentoo-user] Re: you are stopping a boot service

2011-05-14 Thread Hartmut Figge
Nicolas Sebrecht:
 On Sat, May 14, 2011 at 07:39:03AM +0200, Hartmut Figge wrote:

 Same thing happens after switching from X to a console with e.g.
 ctrl-altl-F2. Hm? :)
 
 You may have a service in the wrong runlevel called boot.

Mhm, i do not see how the runlevel 'boot' can be involved by switching
to a console and a login there.

 What do you have in it? ( 'ls /etc/runlevels/boot' )

hafi@i5 ~ $ ls /etc/runlevels/boot
alsasoundfsck  keymaps mtabroottermencoding
bootmisc hostname  localmount  net.lo  swapurandom
consolefont  hwclock   modules procfs  sysctl

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




[gentoo-user] Re: you are stopping a boot service

2011-05-14 Thread Hartmut Figge
Florian Philipp:
 Am 14.05.2011 07:39, schrieb Hartmut Figge:

 i am always booting to a console and switch later to X using startx. Now
 i have noticed a message appearing after typing the password:
 
 i5 login: 
 Password:
 Last login: Sat May 14 06:58:55 CEST 2011 on tty1
  * WARNING: you are stopping a boot service
 
 I guess there is something odd either in
  - /etc/pam.d
  - /etc/profile*
  - /etc/bash/bashrc
  - ~/.bashrc

:)

  - ~/.bash_profile
 
 Same thing happens after switching from X to a console with e.g.
 ctrl-altl-F2. Hm? :)
 
 Do you mean, every time you switch? Even if you do not log in?

Only after typing the password during login on a console. But that is
solved now thanks to your hint. :)

In the past there must have been a reason why i had added these lines to
my ~/.bashrc which i have now commented out:

- .bashrc -
#if [ $TERM = linux ]
#then
# sudo /etc/init.d/consolefont restart  /dev/null
#fi
---

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




Re: [gentoo-user] Re: you are stopping a boot service

2011-05-14 Thread Florian Philipp
Am 14.05.2011 16:09, schrieb Hartmut Figge:
 Florian Philipp:
 Am 14.05.2011 07:39, schrieb Hartmut Figge:
 
 i am always booting to a console and switch later to X using startx. Now
 i have noticed a message appearing after typing the password:

 i5 login: 
 Password:
 Last login: Sat May 14 06:58:55 CEST 2011 on tty1
  * WARNING: you are stopping a boot service

 I guess there is something odd either in
  - /etc/pam.d
  - /etc/profile*
  - /etc/bash/bashrc
  - ~/.bashrc
 
 :)
 
  - ~/.bash_profile

 Same thing happens after switching from X to a console with e.g.
 ctrl-altl-F2. Hm? :)

 Do you mean, every time you switch? Even if you do not log in?
 
 Only after typing the password during login on a console. But that is
 solved now thanks to your hint. :)
 
 In the past there must have been a reason why i had added these lines to
 my ~/.bashrc which i have now commented out:
 
 - .bashrc -
 #if [ $TERM = linux ]
 #then
 # sudo /etc/init.d/consolefont restart  /dev/null
 #fi
 ---
 
 Hartmut

Glad I could help. It could have been worse, though. I once had a user
who wrote `exit 0` at the end of his ~/.bashrc file in order to
properly finish that script. It took a while to figure out why he
couldn't log in. ;-)



signature.asc
Description: OpenPGP digital signature