[Pm-utils] [patch-commit] create directories and logfile

Till Maas opensource at till.name
Tue Jan 29 15:49:22 PST 2008


here is a pathc with following changes:

    - create logfile and used directories on install
    - do not remove used directories, but clean them

This patch makes sure that /var/run/pm-utils{,/storage} are created on make 
install and also an empty logfile. Also it changes pm-utils not to 
remove /var/run/pm-utils/storage but only everything within it. The creation 
of the logfile is needed to make it get the correct selinux context and I 
guess the directories will also need to get some special context.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pm-utils-create-directories-and-logfile.patch
Type: text/x-diff
Size: 764 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080130/17438a8d/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080130/17438a8d/attachment.pgp 

More information about the Pm-utils mailing list