Bug #6092
closedrudder-agent-thin: missing /var/rudder/share/man
Description
Hi,
During installation/upgrade (fc18 package):
/var/tmp/rpm-tmp.bfxbhA: line 75: /var/rudder/share/man/man8/cf-agent.8.gz: No such file or directory /var/tmp/rpm-tmp.bfxbhA: line 75: /var/rudder/share/man/man8/cf-promises.8.gz: No such file or directory /var/tmp/rpm-tmp.bfxbhA: line 75: /var/rudder/share/man/man8/cf-key.8.gz: No such file or directory /var/tmp/rpm-tmp.bfxbhA: line 75: /var/rudder/share/man/man8/cf-execd.8.gz: No such file or directory /var/tmp/rpm-tmp.bfxbhA: line 75: /var/rudder/share/man/man8/cf-serverd.8.gz: No such file or directory /var/tmp/rpm-tmp.bfxbhA: line 75: /var/rudder/share/man/man8/cf-monitord.8.gz: No such file or directory /var/tmp/rpm-tmp.bfxbhA: line 75: /var/rudder/share/man/man8/cf-runagent.8.gz: No such file or directory
This corresponds to the following lines of %post:
for i in cf-agent cf-promises cf-key cf-execd cf-serverd cf-monitord cf-runagent do /var/rudder/cfengine-community/bin/${i} -M | gzip > /var/rudder/share/man/man8/${i}.8.gz done
It's probably related to 334cc247262fd589376380708ca92db25aa6c570, as %{rudderdir}/share/man was removed from %files.
Updated by Lionel Le Folgoc almost 10 years ago
sorry, that was with the fc18 2.11.5 rpm package.
Updated by Matthieu CERDA almost 10 years ago
- Category set to System integration
- Status changed from New to 8
- Assignee set to Matthieu CERDA
- Priority changed from N/A to 3
Oops ... thanks for the report Lionel :) Looking at this.
Updated by Matthieu CERDA almost 10 years ago
- Status changed from 8 to Pending technical review
- Assignee changed from Matthieu CERDA to Jonathan CLARKE
- Target version set to 2.10.9
- % Done changed from 0 to 100
- Pull Request set to https://github.com/Normation/rudder-packages/pull/591
- The SPECfile tries to copy the manpages in var / rudder instead of opt / rudder
- We do not package them properly (there should be a source for the file so it can be packaged, even if it is a dummy)
This way, we get clean packaging of the files (that will then get properly removed during package uninstallation instead of left off because we manage the directory but "new files" got created inside in the meantime, due to postinst generation), and the generic-manpage is part of the SRPM (which is cleaner)
I corrected both points in this PR: https://github.com/Normation/rudder-packages/pull/591
Updated by Matthieu CERDA almost 10 years ago
- Assignee changed from Jonathan CLARKE to Benoît PECCATTE
Updated by Matthieu CERDA almost 10 years ago
- CFEngine binaries are usable just after compilation (before make install)
- I'll just use them at this moment to create the manpages as needed
- This will preserve the clean-ness of the packages (no postinstall magic) and the freshness of the manpages (no prebuild manpages never to be updated)
Updated by Matthieu CERDA almost 10 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset packages:rudder-packages|commit:c1e7bc635b602d1a0cc486a88da2099950a1e073.
Updated by Matthieu CERDA almost 10 years ago
Applied in changeset packages:rudder-packages|commit:fe7a9163d125ae5529944f773ba9a26b79ac8eee.
Updated by Vincent MEMBRÉ almost 10 years ago
- Target version changed from 2.10.9 to 2.10.10
Updated by Vincent MEMBRÉ almost 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.10 and 2.11.7, which were these days.
- Announcement 2.10 2.11
- Changelog 2.10 2.11
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/