Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334245 - mail-filter/dcc errors out when /var/run/dcc is missing
Summary: mail-filter/dcc errors out when /var/run/dcc is missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Robin Johnson
URL: http://www.rhyolite.com/dcc/
Whiteboard:
Keywords:
Depends on:
Blocks: keepdir-var-run_lock
  Show dependency tree
 
Reported: 2010-08-24 09:14 UTC by Eray Aslan
Modified: 2011-10-22 22:57 UTC (History)
1 user (show)

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


Attachments
dcc.initd (dcc.initd,2.66 KB, text/plain)
2010-08-24 09:18 UTC, Eray Aslan
Details
dcc-1.3.130.ebuild (dcc-1.3.130.ebuild,4.35 KB, text/plain)
2010-08-24 09:29 UTC, Eray Aslan
Details
dcc.initd (dcc.initd,2.60 KB, text/plain)
2010-08-24 12:45 UTC, Eray Aslan
Details
dcc.initd (dcc.initd,2.61 KB, text/plain)
2010-08-25 14:15 UTC, Eray Aslan
Details
dcc-1.3.132.ebuild (dcc-1.3.132.ebuild,4.59 KB, text/plain)
2010-11-06 22:15 UTC, Eray Aslan
Details
dcc-1.3.135.patch (dcc-1.3.135.patch,11.28 KB, patch)
2011-01-25 18:01 UTC, Eray Aslan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eray Aslan gentoo-dev 2010-08-24 09:14:04 UTC
If /var/run/dcc does not exist - when /var/run is on tmpfs for instance - dcc errors out with:

Aug 23 12:18:37 east dccifd[1227]: fopen(/var/run/dcc/dccifd.pid): No such file or directory

DCC init script should check for pid file directory and create it if necessary.

Please see the revized init script.  Also, cleaned up the ebuild.  It was in a somewhat sorry state.

Reproducible: Always
Comment 1 Eray Aslan gentoo-dev 2010-08-24 09:18:35 UTC
Created attachment 244355 [details]
dcc.initd
Comment 2 Eray Aslan gentoo-dev 2010-08-24 09:29:44 UTC
Created attachment 244359 [details]
dcc-1.3.130.ebuild

Changelog:

Version bump bug #321649 bug #327969 bug #332783. Correct dccifd check bug #267780. Revize milter DEPENDs bug #267305. Support DCC server mode bug #93207. Create rundir if necessary bug #334245. Drop conf.d file. Clean up the ebuild.
Comment 3 Eray Aslan gentoo-dev 2010-08-24 12:45:43 UTC
Created attachment 244399 [details]
dcc.initd

Bashism did creep in.  Better now.
Comment 4 Eray Aslan gentoo-dev 2010-08-25 14:15:34 UTC
Created attachment 244551 [details]
dcc.initd

Added error checking.
Comment 5 Eray Aslan gentoo-dev 2010-11-06 22:15:21 UTC
Created attachment 253439 [details]
dcc-1.3.132.ebuild
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-01-25 04:25:27 UTC
Please attach patches, not new full versions.
Comment 7 Eray Aslan gentoo-dev 2011-01-25 18:01:10 UTC
Created attachment 260702 [details, diff]
dcc-1.3.135.patch

Diff between what I am using and what is currently in the tree.
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-10-22 22:57:33 UTC
InCVS.