[gentoo-user] syslog-ng can't be removed by rc-update

2005-10-19 Thread Rob
I recently decided to use sysklogd instead of syslog-ng.  But the
command rc-update del syslog-ng default will not remove the file from
/etc/init.d.

Is it safe to just delete the file manually?  Or is this file needed by
sysklogd or something else?

Thanks,

Rob.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] syslog-ng can't be removed by rc-update

2005-10-19 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-10-19 09:26 -0700, [EMAIL PROTECTED] wrote:
 I recently decided to use sysklogd instead of syslog-ng.  But the
 command rc-update del syslog-ng default will not remove the file from
 /etc/init.d.

It should be deleted when you unmerge syslog-ng.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDVnfidY+HSb3praYRAv47AJ9VBp8vilp+aPQ9JFP+hE+CDwWh/ACfUC8K
ecS1ESLXkeScNJlwtXE6AUw=
=0TfV
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] syslog-ng can't be removed by rc-update

2005-10-19 Thread Dave Nebinger
On Wednesday 19 October 2005 12:26 pm, Rob wrote:
 I recently decided to use sysklogd instead of syslog-ng.  But the
 command rc-update del syslog-ng default will not remove the file from
 /etc/init.d.

rc-update del syslog-ng default just removes the link 
from /etc/runlevels/default; that's the directory that determines which 
services to start at system boot time.

Is it safe to remove manually from /etc/init.d?  Yeah, sure, I guess.  But the 
gentoo way would be to emerge -C syslog-ng and let emerge remove the files 
as it will drop all of the component pieces and not try to keep emerging 
updates when they come out.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] syslog-ng can't be removed by rc-update

2005-10-19 Thread Rob
Michael Kjorling wrote:
 On 2005-10-19 09:26 -0700, [EMAIL PROTECTED] wrote:
 
I recently decided to use sysklogd instead of syslog-ng.  But the
command rc-update del syslog-ng default will not remove the file from
/etc/init.d.
 
 
 It should be deleted when you unmerge syslog-ng.
 
I thought I did that, but I didn't.  However, unmerging syslog-ng still
hasn't gotten rid of the file in /etc/init.d.

Rob.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] syslog-ng can't be removed by rc-update

2005-10-19 Thread Dave Nebinger
On Wednesday 19 October 2005 01:05 pm, Ciaran McCreesh wrote:
 On Wed, 19 Oct 2005 16:44:18 + Michael Kjorling

 [EMAIL PROTECTED] wrote:
 | On 2005-10-19 09:26 -0700, [EMAIL PROTECTED] wrote:
 |  I recently decided to use sysklogd instead of syslog-ng.  But the
 |  command rc-update del syslog-ng default will not remove the file
 |  from /etc/init.d.
 |
 | It should be deleted when you unmerge syslog-ng.

 No it shouldn't.

Okay, I'll bite, why shouldn't it?  If the package is unmerged, why would this 
file be kept on the system?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] syslog-ng can't be removed by rc-update

2005-10-19 Thread Alastair Murray

Rob wrote:

Michael Kjorling wrote:


On 2005-10-19 09:26 -0700, [EMAIL PROTECTED] wrote:



I recently decided to use sysklogd instead of syslog-ng.  But the
command rc-update del syslog-ng default will not remove the file from
/etc/init.d.



It should be deleted when you unmerge syslog-ng.



I thought I did that, but I didn't.  However, unmerging syslog-ng still
hasn't gotten rid of the file in /etc/init.d.

Rob.


/etc is possibly protected by CONFIG_PROTECT.  I.e. emerge won't delete 
anything in /etc.


Alastair.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] syslog-ng can't be removed by rc-update

2005-10-19 Thread Peter Gordon
Dave Nebinger said:
 On Wednesday 19 October 2005 01:05 pm, Ciaran McCreesh wrote:
 On Wed, 19 Oct 2005 16:44:18 + Michael Kjorling

 [EMAIL PROTECTED] wrote:
 | It should be deleted when you unmerge syslog-ng.

 No it shouldn't.

 Okay, I'll bite, why shouldn't it?  If the package is unmerged, why would
 this
 file be kept on the system?

# emerge --help config

:-)

--Peter
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] syslog-ng can't be removed by rc-update

2005-10-19 Thread Rob
Alastair Murray wrote:
 Rob wrote:
 
 Michael Kjorling wrote:

 On 2005-10-19 09:26 -0700, [EMAIL PROTECTED] wrote:


 I recently decided to use sysklogd instead of syslog-ng.  But the
 command rc-update del syslog-ng default will not remove the file
 from
 /etc/init.d.



 It should be deleted when you unmerge syslog-ng.


 I thought I did that, but I didn't.  However, unmerging syslog-ng still
 hasn't gotten rid of the file in /etc/init.d.

 Rob.
 
 
 /etc is possibly protected by CONFIG_PROTECT.  I.e. emerge won't delete
 anything in /etc.
 
 Alastair.

I am going to later just delete the file in /etc/init.d, unless there is
some good reason not to.  I have confirmed the link is not present in
/etc/runlevels/default.

Rob.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] syslog-ng can't be removed by rc-update

2005-10-19 Thread Ciaran McCreesh
On Wed, 19 Oct 2005 13:22:45 -0400 Dave Nebinger [EMAIL PROTECTED]
wrote:
| Okay, I'll bite, why shouldn't it?  If the package is unmerged, why
| would this file be kept on the system?

CONFIG_PROTECT.

If you think that the default behaviour is silly, try something like
this in your make.conf:

CONFIG_PROTECT_MASK=/etc/gconf /etc/init.d /usr/X11R6/lib/X11/xkb

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgp75ZiisVUdF.pgp
Description: PGP signature


Re: [gentoo-user] syslog-ng can't be removed by rc-update

2005-10-19 Thread Dave Nebinger
On Wednesday 19 October 2005 02:08 pm, Ciaran McCreesh wrote:
 On Wed, 19 Oct 2005 13:22:45 -0400 Dave Nebinger [EMAIL PROTECTED]

 wrote:
 | Okay, I'll bite, why shouldn't it?  If the package is unmerged, why
 | would this file be kept on the system?

 CONFIG_PROTECT.

 If you think that the default behaviour is silly, try something like
 this in your make.conf:

 CONFIG_PROTECT_MASK=/etc/gconf /etc/init.d /usr/X11R6/lib/X11/xkb

No, I don't think it is silly, but based on a discussion on gentoo-dev 
recently I was under the impression it was not enabled by default (as I 
remember the poster was asking everyone to turn on config_protect to see if 
there were any other relevant defects that needed to be identified).
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] syslog-ng can't be removed by rc-update

2005-10-19 Thread Ciaran McCreesh
On Wed, 19 Oct 2005 14:25:48 -0400 Dave Nebinger [EMAIL PROTECTED]
wrote:
| No, I don't think it is silly

Oh, I do for /etc/init.d

| but based on a discussion on gentoo-dev recently I was under the
| impression it was not enabled by default

That was collision protection.

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgpcNKHiGQTVQ.pgp
Description: PGP signature