FS#65846 - [munin-node] typo in munin.install results in chown failure

Attached to Project: Arch Linux
Opened by Hexhu (hexhu) - Sunday, 15 March 2020, 22:14 GMT
Last edited by Antonio Rojas (arojas) - Monday, 16 March 2020, 08:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The `chown` in current munin-node install hook causes `chown: invalid user: 'munin.munin'`

Steps to reproduce:
`pacman -S munin-node`
and there will be
```
...
(4/4) installing munin-node [##################################] 100%
==> Run the following to get a good set of default plugins:
munin-node-configure --shell | sh
chown: invalid user: 'munin.munin'
chown: invalid user: 'munin.munin'
chown: invalid user: 'munin.munin'
error: command failed to execute correctly
Optional dependencies for munin-node
...
```

In https://git.archlinux.org/svntogit/packages.git/tree/trunk/munin.install?h=packages/munin
```
chown munin.munin /var/{lib,log}/munin /run/munin
chown munin.munin /var/lib/munin/spool
```
should be
```
chown munin:munin /var/{lib,log}/munin /run/munin
chown munin:munin /var/lib/munin/spool
```
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 16 March 2020, 08:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  munin 2.0.56-1

Loading...