First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 19647
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: The ipv6 Team <ipv6@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Darrell Wright <dwright@beached.dyndns.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
radvd-0.7.2-r1.ebuild Corrected ebuild text/plain Guy Martin 2003-04-21 08:53 0000 1.29 KB Details
radvd-0.7.2-r1-r2.patch radvd-0.7.2-r1-r2.patch patch Francesco R. (RETIRED) 2005-06-28 10:53 0000 1.34 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 19647 depends on: Show dependency tree
Bug 19647 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-04-20 01:07 0000
The radvd daemon does not start because the specified pidfile under
/var/run/radvd cannot be created.  The directory is there but has root
ownership/group and is the only user that can write to it.  radvd is run as the
radvd user and thus cannot write to a pidfile there.  

The fix is to chown radvd /var/run/radvd

Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Guy Martin 2003-04-20 18:54:58 0000 -------
I've found two solutions to correct this bug. 
First using chmod 75.75 instead of fperms (didn't try fperms 75.75) 
Second putting pid file in /var/run. 
 
Btw, the first one need to unmerge radvd because portage don't overwrite directory 
and then does not change permission of it. 
 
Hannes, why did you forced pid file to be in /var/run/radvd ? Is it for fhs compilance ? 
 

------- Comment #2 From Hannes Mehnert (RETIRED) 2003-04-20 19:56:22 0000 -------
Guy: /var/run/radvd is because the pid file is created by the
radvd user, he can't write to /var/run (or where is your
suggested destination?)

feel free to change fperms to chmod.

------- Comment #3 From Guy Martin 2003-04-21 08:51:39 0000 -------
Ok, I've resolved the problem. 
I force /var/run/radvd to be owned by radvd.radvd in pkg_preinst() 
I've also added a .keep file in /var/run/radvd coz portage seems to remove this 
directory when reemering. 
 
I'll add enabling ipv6 routing in radvd init.d file and then remove the pkg_postinst 
function. 
 
This will be radvd-0.7.2-r1 which will be unmasked. 
 
Hannes so you agree with this ? 
 
(corrected ebuild will follow) 

------- Comment #4 From Guy Martin 2003-04-21 08:53:07 0000 -------
Created an attachment (id=10944) [edit]
Corrected ebuild

------- Comment #5 From Hannes Mehnert (RETIRED) 2003-04-21 09:44:18 0000 -------
Guy: looks fine, feel free to commit.

------- Comment #6 From Guy Martin 2003-04-21 10:12:13 0000 -------
Fixed in version 0.7.2-r1 

------- Comment #7 From Francesco R. (RETIRED) 2005-06-28 10:53:45 0000 -------
Created an attachment (id=62171) [edit]
radvd-0.7.2-r1-r2.patch

just tryed a fresh install and it die in "pkg_preinst" (does not create
user:group radvd).

The patch attached switch to the use of "enewuser", "enewgroup" from
"eutils.eclass"

chown of "/var/run/radvd" is postponed to make use of newly created user:group

then "keepdir" is used to keep /var/run/radvd comment #3

First Last Prev Next    No search results available      Search page      Enter new bug