Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11299 - After radvd is emerged should /var/run/radvd be owned by the radvd-group
Summary: After radvd is emerged should /var/run/radvd be owned by the radvd-group
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Hannes Mehnert (RETIRED)
URL: http://lists.litech.org/pipermail/rad...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-27 10:17 UTC by Christian Skarby
Modified: 2003-02-04 19:42 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 Christian Skarby 2002-11-27 10:17:01 UTC
Situation:
radvd exits with this message in syslog:
> another radvd seems to be already running, terminating
configuration seems right, no radvd.pid file exists afaik
The problem seems to be that radvd running as uid radvd has insufficient
privileges to write a radvd.pid-file to /var/run/radvd.

Temp solution:
manually
>chown .radvd /var/run/radvd
>chmod g+rwx /var/run/radvd

Looking at the radvd.ebuild it seems like it is already taken care of, but still
it does not work for me .. anyone else having the same problem? Maybe fowners
and fperms somehow does not work correctly on my system? Or maybe it is a global
problem?

Christian
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-29 20:56:33 UTC
did /var/run/radvd exist on your system before you merged this ebuild? 
Comment 2 Christian Skarby 2002-11-30 03:55:59 UTC
I can't recall, but after doing this test I believe that it might have already
existed as /var/run/radvd.tst poped up with no problem emerging the test ebuild.

/*
--- radvd-0.7.1.ebuild~ 2002-11-02 14:53:55.000000000 +0100
+++ radvd-0.7.1.ebuild  2002-11-30 10:42:07.000000000 +0100
@@ -41,9 +41,9 @@
        exeinto /etc/init.d
        doexe ${FILESDIR}/radvd
 
-       mkdir -p ${D}/var/run/radvd
-       fowners radvd.radvd /var/run/radvd
-       fperms 755 /var/run/radvd
+       mkdir -p ${D}/var/run/radvd.tst
+       fowners radvd.radvd /var/run/radvd.tst
+       fperms 755 /var/run/radvd.tst
 }
 
 pkg_postinst () {
*/


Sorry about the inconvenience, I believe you can close this bug now.

Christian
Comment 3 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-30 16:06:43 UTC
ok, closing this.