[Bug 541072] Review Request: certmonger - certificate status monitor and PKI enrollment client

bugzilla at redhat.com bugzilla at redhat.com
Mon Jan 25 13:43:01 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


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

Rob Crittenden <rcritten at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |rcritten at redhat.com
         AssignedTo|nobody at fedoraproject.org    |rcritten at redhat.com

--- Comment #2 from Rob Crittenden <rcritten at redhat.com> 2010-01-25 08:42:56 EST ---
rpmlint has a few warnings that should be addressed:

% rpmlint -iv ../RPMS/x86_64/certmonger-0.17-1.fc12.x86_64.rpm 
certmonger.x86_64: I: checking
certmonger.x86_64: W: conffile-without-noreplace-flag
/etc/dbus-1/system.d/certmonger.conf
A configuration file is stored in your package without the noreplace flag. A
way to resolve this is to put the following in your SPEC file:
%config(noreplace) /etc/your_config_file_here

certmonger.x86_64: W: missing-lsb-keyword Default-Stop in
/etc/rc.d/init.d/certmonger
The package contains an init script that does not contain one of the LSB init
script comment block convention keywords that are recommendable for all init
scripts.  If there is nothing to add to a keyword's value, include the keyword
in the script with an empty value.  Note that as of version 3.2, the LSB
specification does not mandate presence of any keywords.

1 packages and 0 specfiles checked; 0 errors, 2 warnings.

The first error is this in the spec file:

%config /etc/dbus-1/system.d/*

I looked at a couple of other packages that put files there and they simply
don't mark them as config files. Not sure who is right here. In any case this
should use the %{_sysconfdir} macro instead of /etc

For the second I guess you just need to add Default-Start and Default-Stop to
the init file.

A suggestion not related to the review: rather than %if 0 for pulling in the
BuildRequires for the make check stage would a variable that could be set from
rpmbuild make this easier?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list