Re: Systemd unit files installed into unowned directories

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

 



Sure, it would contain some files on almost every system anyway.

If it contains already /usr/lib64/pm-utils/power.d, I guess it can
(co)own few directories of systemd. Much more used in my opinion.

Opened pull request for it:

https://src.fedoraproject.org/rpms/filesystem/pull-request/6

On 8/6/21 1:44 AM, Björn Persson wrote:
> Petr Menšík wrote:
>> No, that is the reason why I proposed it. Guidelines already state
>> *-filesystem packages does not have to be depended on [1]. Just one,
>> probably systemd or systemd-libs, should depend on it to get it
>> installed. All other can then just ignore the directory exactly as you
>> have proposed. In this case it would not be breaking guidelines, but
>> according to them instead.
>>
>> 1.
>> https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_ownership
> That is contradicted by the following quote from the Packaging
> Guidelines:
>
> | Sometimes, it may be preferable for such directories to be owned by
> | an "artificial filesystem" package, such as mozilla-filesystem. These
> | packages are designed to be explicitly required when other packages
> | store files in their directories, thus, in such situations, these
> | packages should explicitly Require the artificial filesystem package
> | and not multiply own those directories.
>
> That is, each of those 1600 packages would need to require
> systemd-filesystem.
>
> Perhaps the filesystem package should own these directories? Not
> systemd-filesystem, just filesystem. The case is rather similar to
> /usr/share/bash-completion, /usr/share/man, /usr/share/info and various
> other directories that filesystem owns.
>
> Björn Persson
>
-- 
Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: pemensik@xxxxxxxxxx
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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