FS#67238 - [munin] installation is not finished successfully

Attached to Project: Arch Linux
Opened by Christian Wolf (christianlupus) - Thursday, 09 July 2020, 10:38 GMT
Last edited by Antonio Rojas (arojas) - Friday, 10 July 2020, 06:43 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When installing the munin package on a new machine, a few errors are generated by pacman.

This is due to the fact that the user/group munin:munin is not yet created and in the [install scripts](https://git.archlinux.org/svntogit/packages.git/tree/trunk/munin.install?h=packages/munin) there is already a `chown munin` existing. After the run of the custom installation scripts, pacman finishes with the post-transaction hooks that will generate the munin user.

As a result, the admin needs to call these commands manually as otherwise some folders have the wrong permissions.


Additional info:
* package version(s):
munin-2.0.63-2, munin-node-2.0.63-2
* config and/or log files etc.

Here an excerpt from the pacman run (unfortunately in German) but should be obvious, what is going on.

(33/34) Installiere munin-node [#######################################################################################] 100%
==> Run the following to get a good set of default plugins:
munin-node-configure --shell | sh
chown: ungültiger Benutzer: „munin:munin“
chown: ungültiger Benutzer: „munin:munin“
chown: ungültiger Benutzer: „munin:munin“
Fehler: Befehl konnte nicht korrekt ausgeführt werden
Optionale Abhängigkeiten für munin-node
perl-net-snmp: for SNMP plugins
perl-net-ssleay: for SSL/TLS support
perl-dbi: for database monitoring plugins
python: for some plugins
ruby: for some plugins
(34/34) Installiere munin [#######################################################################################] 100%
See the example cron entry (for the munin user) for further setup:
/etc/munin/munin-cron-entry
chown: ungültiger Benutzer: „munin:munin“
chown: ungültiger Benutzer: „munin:munin“
Optionale Abhängigkeiten für munin
perl-cgi-fast: Required by munin-cgi-html
:: Starte post-transaction hooks...
(1/6) Creating system user accounts...
(2/6) Reloading system manager configuration...
(3/6) Creating temporary files...
(4/6) Arming ConditionNeedsUpdate...
(5/6) Warn about old perl modules
(6/6) Updating fontconfig cache...

* link to upstream bug report, if any: Is a packaging issue

Steps to reproduce:
* Take a plain machine, where munin is not installed. Ensure that the user munin is non-existing.
* Install munin via pacman.
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 10 July 2020, 06:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  munin 2.0.64-1

Loading...