Project

General

Profile

Actions

Bug #6092

closed

rudder-agent-thin: missing /var/rudder/share/man

Added by Lionel Le Folgoc about 9 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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.


Subtasks 1 (0 open1 closed)

Bug #6212: Manpage packaging should use LD_LIBRARY_PATH to prevent lmdb absenceReleasedFrançois ARMAND2015-01-30Actions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #5984: Build error on RPM due to man pages being included twiceReleasedBenoît PECCATTE2014-12-11Actions
Actions #1

Updated by Lionel Le Folgoc about 9 years ago

sorry, that was with the fc18 2.11.5 rpm package.

Actions #2

Updated by Matthieu CERDA about 9 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.

Actions #3

Updated by Matthieu CERDA about 9 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
Actually, there are two problems here:
  • 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

Actions #4

Updated by Matthieu CERDA about 9 years ago

  • Assignee changed from Jonathan CLARKE to Benoît PECCATTE
Actions #5

Updated by Matthieu CERDA about 9 years ago

Well, change of plans:
  • 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)
Actions #6

Updated by Matthieu CERDA about 9 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset packages:rudder-packages|commit:c1e7bc635b602d1a0cc486a88da2099950a1e073.

Actions #7

Updated by Matthieu CERDA about 9 years ago

Applied in changeset packages:rudder-packages|commit:fe7a9163d125ae5529944f773ba9a26b79ac8eee.

Actions #8

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.9 to 2.10.10
Actions #9

Updated by Vincent MEMBRÉ about 9 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.

Actions

Also available in: Atom PDF