Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257164 - sys-auth/consolekit needs some keepdirs
Summary: sys-auth/consolekit needs some keepdirs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-31 23:59 UTC by Robert Piasek (RETIRED)
Modified: 2009-02-15 22:33 UTC (History)
0 users

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


Attachments
Patch against consolekit 0.2.10 (consolekit_keepdir.diff,409 bytes, patch)
2009-02-01 00:03 UTC, Robert Piasek (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Piasek (RETIRED) gentoo-dev 2009-01-31 23:59:47 UTC
sys-auth/consolekit ebuild allows package to install 4 empty directories.
Some PM warn about it - which could indicate problem.

The real problem appears when you update consolekit to newer version. These 4 directories are removed.

To fix it, some keepdirs should be added to src_install:

keepdir /usr/lib64/ConsoleKit/run-session.d
keepdir /etc/ConsoleKit/run-session.d
keepdir /var/lib/run/ConsoleKit
keepdir /var/lib/log/ConsoleKit

This will also fix bug #230828


Reproducible: Always
Comment 1 Robert Piasek (RETIRED) gentoo-dev 2009-02-01 00:03:28 UTC
Created attachment 180500 [details, diff]
Patch against consolekit 0.2.10
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-15 22:33:52 UTC
this is more of a bug of your PM unless you can point me to the relevant section in PMS. I've added it to 0.2.10-r1 though. Thanks for reporting.