View previous topic :: View next topic |
Author |
Message |
iplayfast l33t
Joined: 08 Jul 2002 Posts: 642 Location: Cambridge On,CA
|
Posted: Sat Sep 21, 2002 5:17 am Post subject: more then one virtual service logger? |
|
|
Quote: | rc-update add xdm default
* xdm added to runlevel default...
* Caching service dependencies...
* PROVIDE: it usually is not a good idea to have more than one
* service provide the same virtual service (logger)! [ ok ]
* rc-update complete. |
OK, I know I've done something dumb, but this error message isn't helping. What did I do? (Fresh gentoo 1.4 install). |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sat Sep 21, 2002 5:32 am Post subject: |
|
|
There is probably something in /etc/init.d duplicating xdm. Do you have any files in there that you've copied as a 'backup' or something similar? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
iplayfast l33t
Joined: 08 Jul 2002 Posts: 642 Location: Cambridge On,CA
|
Posted: Sat Sep 21, 2002 1:33 pm Post subject: |
|
|
No, and doing a grep in the init.d directory reveals only one file that deals with xdm. (the xdm file).
Thinking back, I think this behaviour started when I did
Code: | emerge sys-apps/sysklogd
rc-update add sysklogd default |
|
|
Back to top |
|
|
smtanner Tux's lil' helper
Joined: 12 May 2002 Posts: 106 Location: Colorado
|
Posted: Wed Oct 02, 2002 11:26 pm Post subject: |
|
|
I just did a
rc-update del metalog default
rc-update add sysklogd default
and now I have the same error message. I double checked and metalog was removed from the default run-level. This must be some kind of bug. |
|
Back to top |
|
|
zhware Retired Dev
Joined: 19 Jun 2002 Posts: 23
|
Posted: Fri Oct 04, 2002 7:12 am Post subject: |
|
|
See what you have in /etc/init.d/ I think there are several files for starting loggers. That's why
you recieved this worning. unmerge doesn't remove files from /etc/init.d/ |
|
Back to top |
|
|
kybber Apprentice
Joined: 25 Jun 2002 Posts: 228 Location: Trondheim, Norway
|
Posted: Fri Oct 04, 2002 8:51 am Post subject: |
|
|
This will show a list of all files providing or depending on logger:
Code: | >grep -i logger /etc/init.d/*
|
Simply check whether or not there's more than one file containing the text 'provide logger'. |
|
Back to top |
|
|
ajaustin n00b
Joined: 18 Oct 2002 Posts: 38 Location: Surrey UK
|
Posted: Tue Oct 29, 2002 10:22 pm Post subject: |
|
|
I had this problem and posted the following to Gentoo Buzilla (bug 9457):
Quote: | I just built a new Gentoo 1.4-rc1 system and chose metalog at first.
It worked but I did not like metalog so I thought I would try sysklogd instead.
I tried to remove metalog from my /etc/runlevels setup using:-
rc-update del metalog
and it said it had removed it.
I them emerged sysklogd and did:-
rc-update add sysklogd boot
which gave me a warning about having more than one logging service (sorry I
can't find the exact words, but other people have reported the message on the
forums). This message persisted on a re-boot and seemed impossible to remove
with rc-update.
In the end I did manage to get rid of the warning message by unmerging metalog
and removing absolutely every trace that I could find of metalog from /etc and
/mnt/.init.d. It took several attempts to get it to go because it just kept on
coming back - all the files kept re-appearing in /mnt/init.d; most odd.
I am sure there must be a bug in rc-update as it was impossible to change
loggers simply by using this script.
|
Which produced the following reply:
Quote: | ------- Additional Comment #1 From Martin Schlemmer 2002-10-25 16:25 -------
Due to CONFIG_PROTECT, the rc-script will still be in /etc/init.d/. Please
delete it, then run 'depscan.sh'.
|
|
|
Back to top |
|
|
|