Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387893 - net-print/cups: keeps /var/run/cups/certs dir
Summary: net-print/cups: keeps /var/run/cups/certs dir
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: keepdir-var-run_lock
  Show dependency tree
 
Reported: 2011-10-20 16:25 UTC by i.Dark_Templar
Modified: 2012-01-15 20:20 UTC (History)
1 user (show)

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


Attachments
Fixed init script (cupsd.init.d,337 bytes, text/plain)
2011-10-20 16:28 UTC, i.Dark_Templar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description i.Dark_Templar 2011-10-20 16:25:36 UTC
Cups uses keepdir for /var/run/cups/certs. It should not keep that dir and should create this dir at initscript. Blocks bug #332633.

Reproducible: Always

Steps to Reproduce:
1. emerge cups
Actual Results:  
Cups keeps dir /var/run/cups/certs

Expected Results:  
Cups shouldn't keep that dir.
Comment 1 i.Dark_Templar 2011-10-20 16:28:20 UTC
Created attachment 290379 [details]
Fixed init script

--- /usr/portage/net-print/cups/files/cupsd.init.d      2007-11-09 13:21:34.000000000 +0300
+++ /usr/local/portage/net-print/cups/files/cupsd.init.d        2011-10-20 19:53:11.000000000 +0400
@@ -9,6 +9,7 @@
 
 start() {
        ebegin "Starting cupsd"
+       checkpath -q -d -m 755 /var/run/cups/certs
        start-stop-daemon --start --quiet --exec /usr/sbin/cupsd
        eend $?
 }
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2012-01-15 20:20:44 UTC
+  15 Jan 2012; Andreas K. Huettel <dilfridge@gentoo.org> cups-1.4.8-r23.ebuild,
+  cups-1.5.0-r3.ebuild, files/cupsd.init.d:
+  Create dirs in /var/run in initscript, bug 387893
+

Fixed, thanks.