Re: [HEADS-UP] Moving /var/run and /var/lock to tmpfs in Rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 24.11.10 11:13, Paul Howarth (paul@xxxxxxxxxxxx) wrote:

> > Hmm, it has been suggested that we should make it possible to create
> > these dirs in the .spec files by invoking the systemd-tmpfiles tool
> > directly from the scriptlets. I guess we should add a nice interface for
> > that. In the meantime it should be sufficient to simply place th right
> > "mkdir -p -m ..." in the scriptlet. Of course it would be desirable if
> > we have a single place where the dirs to create are encoded.
> 
> Why not create the directories in the initscript/systemd equivalent?

Because it's cumbersome and you need at least three invocations to get
things right, to do mkdir, chown and restorecon.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux