| Summary: | net-analyzer/vnstat-1.11-r1 breaks ownership of /var/run | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Klemen Mihevc <solor> |
| Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kensington |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Klemen Mihevc
2011-09-05 13:20:23 UTC
calling `dirname` on '/var/run/vnstat' of course results in '/var/run', which checkpath then happily chowns for us. this is of course not a good idea. either remove the dirname, modify the arg to '/var/run/vnstatd/vnstatd.pid', or try to grep PidFile config line from the --config parameter. This has since been fixed: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?r1=1.3&r2=1.4 Thank you guys. Closing as is fixed. |