Re: umask package policy

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

 



ville.skytta@xxxxxx (Ville Skyttä) writes:

>> >> +1, although I thought that already is a policy at least in Extras.
>> >> But not _all_ directories it installs, only those that are not
>> >> owned by its prerequisite packages.
>> 
>> Exactly; and to nitpick: simple 'Requires:' do not suffice, but
>> 'Requires(pre):' (and Requires(postun): ones) are needed.
>
> Using context marked dependencies like Requires(pre) to "solve" this is
> abuse, please don't do that.

Why abuse? There is no other way to say 'I require directory /foo before
my files will be installed' for a package. rpm could introduce a special
'filesystem' classifier so that the two 'Requires(pre|postun)' can be
replaced by a single one. But that's not backward compatible and will
probably never be implemented.


> Plain Requires is fine as long as there are no dependency loops
> involved.

Why should I trust in some preconditions which can never be guaranted
instead of enforcing the correct behavior?




Enrico

Attachment: pgpygPv6nIO4w.pgp
Description: PGP signature


[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux