[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: umask package policy
- From: Ville Skyttä <ville skytta iki fi>
- To: fedora-maintainers redhat com
- Subject: Re: umask package policy
- Date: Tue, 24 May 2005 00:42:18 +0300
On Mon, 2005-05-23 at 23:11 +0200, Enrico Scholz wrote:
> wtogami redhat com (Warren Togami) writes:
>
> >>> Should we make it a packaging policy that packages must own all
> >>> directories and files that it installs in order to avoid umask 077
> >>> problems like this where the installed software is effectively
> >>> broken?
> >> +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. Plain Requires is fine as long as there
are no dependency loops involved.
If there are dependency loops, most bets are off anyway. OTOH, I'm told
the win-over-Requires magic of PreReq got added back to FC4 rpm, it
could be useful in some dep loop cases.
http://rpm.org/max-rpm-snapshot/s1-rpm-depend-manual-dependencies.html#S3-RPM-DEPEND-FINE-GRAINED
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]