Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 444167

Summary: net-proxy/tinyproxy has still reference to /var/run
Product: Gentoo Linux Reporter: Cedric Godin <cedric.godin>
Component: Current packagesAssignee: Gentoo Network Proxy Developers (OBSOLETE) <net-proxy+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: jer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 332633    
Attachments: changed initscript

Description Cedric Godin 2012-11-21 15:06:16 UTC
* Messages for package net-proxy/tinyproxy-1.8.3:

 * One or more symlinks to directories have been preserved in order to
 * ensure that files installed via these symlinks remain accessible. This
 * indicates that the mentioned symlink(s) may be obsolete remnants of an
 * old install, and it may be appropriate to replace a given symlink with
 * the directory that it points to.
 * 
 *      /var/run
 *

And so at each boot, no more tinyproxy starting because /run/tinyproxy not existing

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-21 15:53:11 UTC
  21 Nov 2012; Jeroen Roovers <jer@gentoo.org> tinyproxy-1.8.3.ebuild:
  Remove subdir requirement in default pid config.

  21 Nov 2012; Jeroen Roovers <jer@gentoo.org> tinyproxy-1.8.3.ebuild,
  -files/tinyproxy.initd:
  Remove keepdir /var/run/${PN} by Cedric Godin (bug #444167).


Thanks for reporting. These changes should give us some sane defaults all around.
Comment 2 Ivan Kirillov 2013-05-29 16:56:02 UTC
Created attachment 349568 [details]
changed initscript

changed initscript
Comment 3 Ivan Kirillov 2013-05-29 17:00:25 UTC
I have tinyproxy-1.8.3 installed and it still reference to /var/run/tinyproxy. Don't know is this a good way to handle this little problem, but i changed my initscript to simple check existence of the path.
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-05-30 16:47:49 UTC
+  30 May 2013; Tom Wijsman <TomWij@gentoo.org> ChangeLog,
+  +tinyproxy-1.8.3-r2.ebuild, +files/tinyproxy-1.8.3-r2.initd,
+  +files/tinyproxy-1.8.3-r2-DoS-Prevention.patch:
+  Use /run instead of /var/run, fixes bug #444167. Apply DoS Prevention
+  patches, temporary fixes for bug #432046. Fix ChangeLog issues; there was an
+  empty log message above header by flameeyes and an empty message by jer.

Please verify whether 1.8.3-r2 works properly, thank you in advance.
Comment 5 Ivan Kirillov 2013-06-02 10:18:31 UTC
Thanks, it works properly!