Henne Vogelsang - 14:07 27.03.14 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...
Typically it is not an error. You might have user account precreated as mentioned, but what actually makes a better use case is that you installed for example mysql, played with it, uninstalled it accidentally or you migrated to mariadb and now you are installing it again. Data left behind still have mysql user owning them and you want you new installation to succeed and not to bother you with solving conflicts. I would say that there is typically more frequent case than somebody being named the same as some daemon... -- Michal HRUSECKY SUSE LINUX, s.r.o. openSUSE Team Lihovarska 1060/12 PGP 0xFED656F6 19000 Praha 9 mhrusecky[at]suse.cz Czech Republic http://michal.hrusecky.net http://www.suse.cz -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org