Bug#737956: conflict between system user and normal user

2014-02-07 Thread PICCA Frederic-Emmanuel
> I don't think there is much that can reall be done to fix the
> fundamental problem which is that system users and regular users have to
> live in the same namespace causing a risk of conflicts.

> There are two things I can see you could do to impreove the situation
> with your package.
> 1: Fail early, it's better to have preinst fail than it is to start
> creating stuff with wrong permissions/ownership.

Yes I nedd to faisl with a human comprehensible error explaining that the 
requested users
is already there but that is not a system user.

> 2: Choose a less generic name that is less likely to cause conflicts. Do
> you plan to use this user only for the db? if so tango-db might make
> sense, if not maybe something like tango-control-system.


no this user will be used by all tango controls system daemon.
tango-db
tango-starter
tango-accesscontrol
...

no my question is should I provide a amigration plan from the current tango 
user ?

this package is already usedin production.

--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#737956: conflict between system user and normal user

2014-02-07 Thread peter green


What is the correct way to deal with this kind of problem ? I cannot find in 
the policy something
about conflict between system and non-system user.
  
I don't think there is much that can reall be done to fix the 
fundamental problem which is that system users and regular users have to 
live in the same namespace causing a risk of conflicts.


There are two things I can see you could do to impreove the situation 
with your package.
1: Fail early, it's better to have preinst fail than it is to start 
creating stuff with wrong permissions/ownership.
2: Choose a less generic name that is less likely to cause conflicts. Do 
you plan to use this user only for the db? if so tango-db might make 
sense, if not maybe something like tango-control-system.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org