Re: Change user used by package

2009-01-15 Thread revuedelibre .
On Thu, Jan 15, 2009 at 1:20 PM, revuedelibre . wrote: > > On Thu, Jan 15, 2009 at 12:01 PM, Harald Braumann wrote: > >> On Wed, 14 Jan 2009 13:49:22 -0500 >> "Jamin W. Collins" wrote: >> >> > Marvin Renich wrote: >> > > * Harald Braumann [090113 05:47]: >> > >> >> > >> AFAIK, there's no way for

Re: Change user used by package

2009-01-15 Thread revuedelibre .
On Thu, Jan 15, 2009 at 12:01 PM, Harald Braumann wrote: > On Wed, 14 Jan 2009 13:49:22 -0500 > "Jamin W. Collins" wrote: > > > Marvin Renich wrote: > > > * Harald Braumann [090113 05:47]: > > >> > > >> AFAIK, there's no way for multiple independent packages for using > > >> the same user. So j

Re: Change user used by package

2009-01-15 Thread Harald Braumann
On Wed, 14 Jan 2009 13:49:22 -0500 "Jamin W. Collins" wrote: > Marvin Renich wrote: > > * Harald Braumann [090113 05:47]: > >> > >> AFAIK, there's no way for multiple independent packages for using > >> the same user. So jabber-muc needs to create its own user. On > >> update, that's no problem.

Re: Change user used by package

2009-01-14 Thread Marvin Renich
(I'm subscribed, no need to CC me.) * Jamin W. Collins [090114 14:09]: > I'm not subscribed, haven't been following the lists for a while. The > old package should probably be removed completely in favor of the new. That's fine. I didn't know the state of jabber-muc, and didn't see any indicat

Re: Change user used by package

2009-01-14 Thread Jamin W. Collins
Marvin Renich wrote: > * Harald Braumann [090113 05:47]: >> >> AFAIK, there's no way for multiple independent packages for using the >> same user. So jabber-muc needs to create its own user. On update, >> that's no problem. The post-install script can chown the >> package's directories for the new

Re: Change user used by package

2009-01-14 Thread Marvin Renich
* Harald Braumann [090113 05:47]: > Hi, > > I'd like to package mu-conference 0.7 (multi-user chat component for > jabber). The version currently in Debian (jabber-muc 0.6.0) uses the > user ``jabber'', which is created by jabber-common, on which > jabber-muc depends. > > The new version can be

Re: Change user used by package

2009-01-14 Thread Peter Palfrader
On Wed, 14 Jan 2009, Harald Braumann wrote: > > Why do you need to conflict with jabber-common? > jabber-muc needs to conflict with jabber-common, until there is a > version that does not remove the user on purge. Otherwise, when > both are installed and jabber-common is purged, jabber-muc stops

Re: Change user used by package

2009-01-14 Thread Harald Braumann
On Wed, 14 Jan 2009 09:25:53 -0500 Marvin Renich wrote: > * Harald Braumann [090113 16:49]: > > Well, jabber-common does remove the user jabber on purge, jabberd2, > > though, doesn't. And it seems that opinions diverge on this matter. > > See e.g. > > http://lists.debian.org/debian-mentors/2004

Re: Change user used by package

2009-01-14 Thread Marvin Renich
* Harald Braumann [090113 16:49]: > On Tue, 13 Jan 2009 12:57:11 -0800 Steve Langasek wrote: > > If they remove the user on purge, that should be changed anyway. > > Well, jabber-common does remove the user jabber on purge, jabberd2, > though, doesn't. And it seems that opinions diverge on this

Re: Change user used by package

2009-01-13 Thread Harald Braumann
On Tue, 13 Jan 2009 12:57:11 -0800 Steve Langasek wrote: > On Tue, Jan 13, 2009 at 09:49:17PM +0100, Harald Braumann wrote: > > > Well, yes, but I don't see why you'd need a globally allocated > > > user. Why don't you just use the same username as the other > > > package? I don't see why that w

Re: Change user used by package

2009-01-13 Thread Harald Braumann
On Tue, 13 Jan 2009 12:57:11 -0800 Steve Langasek wrote: > On Tue, Jan 13, 2009 at 09:49:17PM +0100, Harald Braumann wrote: > > > Well, yes, but I don't see why you'd need a globally allocated > > > user. Why don't you just use the same username as the other > > > package? I don't see why that w

Re: Change user used by package

2009-01-13 Thread Steve Langasek
On Tue, Jan 13, 2009 at 09:49:17PM +0100, Harald Braumann wrote: > > Well, yes, but I don't see why you'd need a globally allocated user. > > Why don't you just use the same username as the other package? I > > don't see why that wouldn't work, and I don't see anything in Policy > > 9.2 that says

Re: Change user used by package

2009-01-13 Thread Harald Braumann
On Tue, 13 Jan 2009 09:15:47 -0800 Russ Allbery wrote: > Harald Braumann writes: > > "Francesco P. Lovergine" wrote: > >> On Tue, Jan 13, 2009 at 11:35:49AM +0100, Harald Braumann wrote: > > >>> AFAIK, there's no way for multiple independent packages for using > >>> the same user. > > >> Why

Re: Change user used by package

2009-01-13 Thread Russ Allbery
Harald Braumann writes: > "Francesco P. Lovergine" wrote: >> On Tue, Jan 13, 2009 at 11:35:49AM +0100, Harald Braumann wrote: >>> AFAIK, there's no way for multiple independent packages for using >>> the same user. >> Why not? There are already multiple packages that use the same user, >> e.g.

Re: Change user used by package

2009-01-13 Thread Harald Braumann
On Tue, 13 Jan 2009 12:55:31 +0100 Rene Engelhard wrote: > Hi, > > Harald Braumann wrote: > > package's directories for the new user. But a downgrade would then > > not be possible. The old version couldn't access the directories. > > > > Is there precedence for such a situation? How can it be

Re: Change user used by package

2009-01-13 Thread Harald Braumann
On Tue, 13 Jan 2009 12:51:29 +0100 "Francesco P. Lovergine" wrote: > On Tue, Jan 13, 2009 at 11:35:49AM +0100, Harald Braumann wrote: > > > > AFAIK, there's no way for multiple independent packages for using > > the same user. > > > > Why not? There are already multiple packages that use the

Re: Change user used by package

2009-01-13 Thread Francesco P. Lovergine
On Tue, Jan 13, 2009 at 11:35:49AM +0100, Harald Braumann wrote: > > AFAIK, there's no way for multiple independent packages for using the > same user. > Why not? There are already multiple packages that use the same user, e.g. www-data. You should only create it and never remove to avoid brea

Re: Change user used by package

2009-01-13 Thread Rene Engelhard
Hi, Harald Braumann wrote: > package's directories for the new user. But a downgrade would then not > be possible. The old version couldn't access the directories. > > Is there precedence for such a situation? How can it be resolved? Downgrades are not supported. (which doesn't mean they should

Change user used by package

2009-01-13 Thread Harald Braumann
Hi, I'd like to package mu-conference 0.7 (multi-user chat component for jabber). The version currently in Debian (jabber-muc 0.6.0) uses the user ``jabber'', which is created by jabber-common, on which jabber-muc depends. The new version can be installed stand-alone, and thus there won't be any