Mailing List Archive

Loggers confused after multiple merges/unmerges?
Hello,

I recently reinstalled my gentoo-alpha system after the data loss I
reported on this list about a month and a half ago. This time, I wanted
to try loggers out before arbitrarily choosing one, so I first emerged
syslog-ng with logrotate, then unmerged it and emerged metalog, and
finally unmerged metalog to re-emerge syslog-ng and logrotate. (I think
I've settled on that one now :-)

The problem is that ever since I first unmerged syslog-ng, emerge and
rc-update give me the following messages :

* Service 'metalog' already provide 'logger'!;
* Not adding service 'syslog-ng'...

And they still give me those messages, even though metalog is supposed
to be uninstalled. In case it has anything to do with it, I had stopped
the services and run "rc-update del" before unmerging them.

What's causing this, and how do I fix it? It's not really that
important, the logs get written anyways, but it's annoying.

Thanks in advance,

--
___________________________________________
Jean-Sébastien Guay jean_seb@videotron.ca
http://whitestar02.webhop.org/

--
gentoo-alpha@gentoo.org mailing list
Re: Loggers confused after multiple merges/unmerges? [ In reply to ]
Hi Jean-Sébastien:

Jean-Sébastien Guay wrote:

>
> The problem is that ever since I first unmerged syslog-ng, emerge and
> rc-update give me the following messages :
>
> * Service 'metalog' already provide 'logger'!;
> * Not adding service 'syslog-ng'...
>
> What's causing this, and how do I fix it? It's not really that
> important, the logs get written anyways, but it's annoying.

After using "rc-update del syslog-ng <runlevel>" i think you have to
remove /etc/init.d/syslog-ng since both provide "logger" service. Hope
this helps.

Regards.

-----------------------------
YosWinK @ gentoo.org
Gentoo Alpha
Gentoo Doc
--
gentoo-alpha@gentoo.org mailing list
Re: Loggers confused after multiple merges/unmerges? [ In reply to ]
Hello Jose Luis,

> After using "rc-update del syslog-ng <runlevel>" i think you have to
> remove /etc/init.d/syslog-ng since both provide "logger" service.
> Hope this helps.


Thanks, that fixed it! So simple!

--
___________________________________________
Jean-Sébastien Guay jean_seb@videotron.ca
http://whitestar02.webhop.org/

--
gentoo-alpha@gentoo.org mailing list
Re: Loggers confused after multiple merges/unmerges? [ In reply to ]
Jean-Sébastien Guay wrote:[Mon Jun 06 2005, 10:42:45PM EDT]
> Thanks, that fixed it! So simple!

Problem is that /etc/init.d is part of CONFIG_PROTECT, so portage
doesn't dare to remove the file during uninstall.

Generally I put /etc/init.d in CONFIG_PROTECT_MASK so the init-scripts
are automatically removed. In fact, here is what I use on my
workstation:

CONFIG_PROTECT_MASK="
/etc/gconf
/etc/init.d
/etc/openldap
/etc/postfix/sample
/etc/sound
/etc/X11/app-defaults
/etc/X11/rstart
/etc/X11/serverconfig
/etc/X11/Sessions
/etc/X11/starthere
/etc/X11/sysconfig
/etc/X11/xdm
/etc/X11/xinit
/etc/X11/xkb
"

Hth,
Aron

--
Aron Griffis
Gentoo Linux Developer