Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 444167 - net-proxy/tinyproxy has still reference to /var/run
Summary: net-proxy/tinyproxy has still reference to /var/run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: keepdir-var-run_lock
  Show dependency tree
 
Reported: 2012-11-21 15:06 UTC by Cedric Godin
Modified: 2013-06-02 10:18 UTC (History)
1 user (show)

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


Attachments
changed initscript (tinyproxy,1.21 KB, text/plain)
2013-05-29 16:56 UTC, Ivan Kirillov
Details

Note You need to log in before you can comment on or make changes to this bug.
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!