https://bugzilla.redhat.com/show_bug.cgi?id=2363206
--- Comment #12 from Georg Sauthoff <[email protected]> --- Ok, I've added the ghost file: Spec URL: https://raw.githubusercontent.com/gsauthof/dracut-sshd-spec/9b06a8249235e7f0b21c5004a58ec4bba21f9346/dracut-sshd.spec SRPM URL: https://georg.so/pub/dracut-sshd-0.7.0-1.fc41.src.rpm I guess it depends a bit on your philosophy how you see ghost files. From my point of view I say: if you added a custom configuration file then you are also responsible to remove it, when you remove the package. But I understand how the implicit removal through the ghost mechanism can be seen as a convenience by some users. Stuff like this still irritates me: Looks like package installs/installed /etc/dracut-sshd/sshd_config: rpm -ql dracut-sshd | grep etc /etc/dracut-sshd /etc/dracut-sshd/sshd_config But directory is empty (arguably some more clutter in /etc ...): find /etc/dracut-sshd -ls 45717 0 drwxr-xr-x 1 root root 0 May 27 00:00 /etc/dracut-sshd While dump also includes it: rpm -q --dump dracut-sshd | grep etc | column -t /etc/dracut-sshd 0 1748304000 0000000000000000000000000000000000000000000000000000000000000000 040755 root root 0 0 0 X /etc/dracut-sshd/sshd_config 0 1748304000 0000000000000000000000000000000000000000000000000000000000000000 0100644 root root 1 0 0 X However, verify says that everything is complete: $ rpm -q --verify dracut-sshd $ IOW, I wouldn't mind if rpm would even remove this feature. Anyhow, I can live with that ghost marking. --- > Those are all packaging bugs, there should be zero of those. It's effectively > MUST NOT. Ok, then perhaps it makes sense to use 'MUST NOT' language in the fedora packaging guide. Technically, one could even check for this in bodhi and fail builds when violations are detected; but this feels way too extreme. Also wouldn't hurt if the guide includes some guidance on ghost files. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component https://bugzilla.redhat.com/show_bug.cgi?id=2363206 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202363206%23c12 -- _______________________________________________ package-review mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
