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

Bug 247212

Summary: sys-block/partimage-0.6.7 add's user with odd home directory
Product: Gentoo Linux Reporter: Richard Scott <gentoo.bugs>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Scott 2008-11-17 15:21:15 UTC
I've noticed that when emerging sys-block/partimage-0.6.7 a user is created:

 * Adding group 'partimag' to your system ...
 *  - Groupid: 91
 * Adding user 'partimag' to your system ...
 *  - Userid: 91
 *  - Shell: /sbin/nologin
 *  - Home: /var/log/partimage
 *  - Groups: partimag
 *  - Creating /var/log/partimage in /

Should this be created in /var/lib/partimage or some other directory for data?

Thanks,

Rich.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-20 15:32:01 UTC
Looks valid to me...
Comment 2 Richard Scott 2008-11-20 15:55:15 UTC
(In reply to comment #1)
> Looks valid to me...

If it was a directory for logs then yes it would be valid.

However....

Logs go into the file: /var/log/partimaged.log

The home directory of the "partimag" user is for storing image data i.e. images of hard drives that are sent to the server and not for logs.

I believe it would make more sense in either /home/partimage or /var/lib/partimage IMHO.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-07-07 23:00:49 UTC
fixed in 0.6.8