Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 510026

Summary: net-irc/iroffer-dinoex - user/group mismatch in logrotate script
Product: Gentoo Linux Reporter: Mark <mark.morschhaeuser>
Component: [OLD] ServerAssignee: Mikle Kolyada (RETIRED) <zlogene>
Status: RESOLVED FIXED    
Severity: normal CC: pinkbyte
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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!