Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510026 - net-irc/iroffer-dinoex - user/group mismatch in logrotate script
Summary: net-irc/iroffer-dinoex - user/group mismatch in logrotate script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-11 07:34 UTC by Mark
Modified: 2014-05-12 18:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2014-05-11 07:34:29 UTC
iroffer-dinoex creates /etc/logrotate.d/iroffer-dinoex with
---
Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/iroffer-dinoex/files/iroffer-dinoex.logrotate,v 1.1 2013/02/08 11:44:38 pinkbyte Exp $

/var/log/iroffer-dinoex/*.log {
        missingok
        su iroffer-dinoex iroffer-dinoex
}
---
though the installation process creates a user and a group with name iroffer, instead of iroffer-dinoex.

This causes logrotate to fail with:
---
error: iroffer-dinoex:7 unknown user 'iroffer-dinoex'
error: found error in /var/log/iroffer-dinoex/*.log , skipping
---


Reproducible: Always
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-05-12 18:13:46 UTC
s/iroffer-dinoex/iroffer/g

Fixed in CVS, thanks for the report!