[Bug 1471056] Review Request: postsrsd - Sender Rewriting Scheme (SRS) daemon

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1471056

Andreas Thienemann <andreas@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andreas@xxxxxxxxx



--- Comment #18 from Andreas Thienemann <andreas@xxxxxxxxx> ---
Thank you for submitting the package and doing all the work to get it into
Fedora.

I did notice one thing about the .spec file though I did not like. The handling
of the postsrsd.secret file could be improved.

I like that you generate it in the %post script, thus ensuring that every
install has a unique file.
But I do not like the way you clean up the file in the %postun scriptlet.

The way it is handled right now is that there's a file in /etc/ that does not
belong to any package.

# rpm -ql postsrsd | grep -F postsrsd.secret
# rpm -qf /etc/postsrsd.secret
file /etc/postsrsd.secret is not owned by any package
#

I would expect the postsrsd package to own this file.
You can achieve that by adding the filepath with the %ghost tag to the spec
file in the %files section.
http://ftp.rpm.org/max-rpm/s1-rpm-inside-files-list-directives.html has some
details.

The rm -f command can be removed then.
Please fix that before uploading the package.

-- 
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
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux