Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21080 - syslog-ng doesn't doesn't use pkg_config to call rc-update
Summary: syslog-ng doesn't doesn't use pkg_config to call rc-update
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-15 18:04 UTC by Mark Foster
Modified: 2003-05-16 16:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Foster 2003-05-15 18:04:22 UTC
As per the exim ebuild, please add
pkg_config() {

    ${ROOT}/usr/sbin/rc-update add syslog-ng default

}

to the ebuild

Reproducible: Always
Steps to Reproduce:
1.emerge unmerge metalog
2.emerge syslog-ng
3. restart system
4. syslog-ng does not start

Actual Results:  
Not only did syslog-ng not start, but exim wouldn't start either.
Exim lists logger as a dependency in /etc/init.d/exim

Expected Results:  
Setup to start automatically

Luckily for me, I was able to figure out that the rc-update command needed to be
run. However I believe this is not the case for most users (I am a sys admin).
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-05-16 16:55:36 UTC
Mark,

Gentoo policy has changed such that installing services automatically like
this in the pkg_config is not supported anymore.  Basically, this means
that services that are part of the default run level must be set by root
explicitly.  I'm not sure what the rational was behind the policy change
but I can imagine that it may have motivated by possible security concerns.
If you'd like to find out the history behind the policy, I recommend asking
one of the senior developers on IRC in #gentoo.

I'm going to make this bug as INVALID since syslog-ng's current behavior is
consistent with Gentoo policy.