Henne Vogelsang wrote:
On 27.03.2014 13:25, Guido Berhoerster wrote:
* Henne Vogelsang <hvogel@opensuse.org> [2014-03-27 11:51]:
On 26.03.2014 13:46, Ludwig Nussel wrote:
That's not what happens when installing packages. Packages typically call useradd in %pre. If the user already exists the useradd is either not called or the error ignored.
This sounds like the way more pressing thing to fix then. I guess this OSEP should be about enforcing a useradd macro in factory...
How do you suggest that should be "fixed"?
Simple: If some package adds a user/group during installation and that action fails, it shouldn't fail silently and expose the risks Ludwig mentioned...
You have to ignore the error. Reusing an already existing use is a features as the package can't make guesses about why the user already exists. Reasons for an already existing users might be that a package has been uinstalled and reinstalled, several packages using the same user or an admin pre-creating users to get fixed uids. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org