public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] you are stopping a boot service
@ 2011-05-14  5:39 Hartmut Figge
  2011-05-14 11:06 ` [gentoo-user] " Nicolas Sebrecht
  2011-05-14 13:20 ` [gentoo-user] " Florian Philipp
  0 siblings, 2 replies; 6+ messages in thread
From: Hartmut Figge @ 2011-05-14  5:39 UTC (permalink / raw
  To: gentoo-user

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? :)

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: you are stopping a boot service
  2011-05-14  5:39 [gentoo-user] you are stopping a boot service Hartmut Figge
@ 2011-05-14 11:06 ` Nicolas Sebrecht
  2011-05-14 12:28   ` Hartmut Figge
  2011-05-14 13:20 ` [gentoo-user] " Florian Philipp
  1 sibling, 1 reply; 6+ messages in thread
From: Nicolas Sebrecht @ 2011-05-14 11:06 UTC (permalink / raw
  To: gentoo-user; +Cc: 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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: you are stopping a boot service
  2011-05-14 11:06 ` [gentoo-user] " Nicolas Sebrecht
@ 2011-05-14 12:28   ` Hartmut Figge
  0 siblings, 0 replies; 6+ messages in thread
From: Hartmut Figge @ 2011-05-14 12:28 UTC (permalink / raw
  To: gentoo-user

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
alsasound    fsck      keymaps     mtab    root    termencoding
bootmisc     hostname  localmount  net.lo  swap    urandom
consolefont  hwclock   modules     procfs  sysctl

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] you are stopping a boot service
  2011-05-14  5:39 [gentoo-user] you are stopping a boot service Hartmut Figge
  2011-05-14 11:06 ` [gentoo-user] " Nicolas Sebrecht
@ 2011-05-14 13:20 ` Florian Philipp
  2011-05-14 14:09   ` [gentoo-user] " Hartmut Figge
  1 sibling, 1 reply; 6+ messages in thread
From: Florian Philipp @ 2011-05-14 13:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 673 bytes --]

Am 14.05.2011 07:39, schrieb Hartmut Figge:
> 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
>

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?

Regards,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: you are stopping a boot service
  2011-05-14 13:20 ` [gentoo-user] " Florian Philipp
@ 2011-05-14 14:09   ` Hartmut Figge
  2011-05-14 14:23     ` Florian Philipp
  0 siblings, 1 reply; 6+ messages in thread
From: Hartmut Figge @ 2011-05-14 14:09 UTC (permalink / raw
  To: gentoo-user

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  :-)




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Re: you are stopping a boot service
  2011-05-14 14:09   ` [gentoo-user] " Hartmut Figge
@ 2011-05-14 14:23     ` Florian Philipp
  0 siblings, 0 replies; 6+ messages in thread
From: Florian Philipp @ 2011-05-14 14:23 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]

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. ;-)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-05-14 14:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-14  5:39 [gentoo-user] you are stopping a boot service Hartmut Figge
2011-05-14 11:06 ` [gentoo-user] " Nicolas Sebrecht
2011-05-14 12:28   ` Hartmut Figge
2011-05-14 13:20 ` [gentoo-user] " Florian Philipp
2011-05-14 14:09   ` [gentoo-user] " Hartmut Figge
2011-05-14 14:23     ` Florian Philipp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox