Re: Change user used by package

2009-01-15 Thread Harald Braumann
On Wed, 14 Jan 2009 13:49:22 -0500 Jamin W. Collins jcoll...@asgardsrealm.net wrote: Marvin Renich wrote: * Harald Braumann ha...@unheit.net [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

Re: Change user used by package

2009-01-15 Thread revuedelibre .
On Thu, Jan 15, 2009 at 12:01 PM, Harald Braumann ha...@unheit.net wrote: On Wed, 14 Jan 2009 13:49:22 -0500 Jamin W. Collins jcoll...@asgardsrealm.net wrote: Marvin Renich wrote: * Harald Braumann ha...@unheit.net [090113 05:47]: AFAIK, there's no way for multiple independent

Re: Change user used by package

2009-01-15 Thread revuedelibre .
On Thu, Jan 15, 2009 at 1:20 PM, revuedelibre . revuedeli...@gmail.comwrote: On Thu, Jan 15, 2009 at 12:01 PM, Harald Braumann ha...@unheit.netwrote: On Wed, 14 Jan 2009 13:49:22 -0500 Jamin W. Collins jcoll...@asgardsrealm.net wrote: Marvin Renich wrote: * Harald Braumann

Re: Change user used by package

2009-01-14 Thread Marvin Renich
* Harald Braumann ha...@unheit.net [090113 16:49]: On Tue, 13 Jan 2009 12:57:11 -0800 Steve Langasek vor...@debian.org 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

Re: Change user used by package

2009-01-14 Thread Harald Braumann
On Wed, 14 Jan 2009 09:25:53 -0500 Marvin Renich m...@renich.org wrote: * Harald Braumann ha...@unheit.net [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.

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 Marvin Renich
* Harald Braumann ha...@unheit.net [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

Re: Change user used by package

2009-01-14 Thread Jamin W. Collins
Marvin Renich wrote: * Harald Braumann ha...@unheit.net [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

Re: Change user used by package

2009-01-14 Thread Marvin Renich
(I'm subscribed, no need to CC me.) * Jamin W. Collins jcoll...@asgardsrealm.net [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,

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

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 if

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

Re: Change user used by package

2009-01-13 Thread Harald Braumann
On Tue, 13 Jan 2009 12:55:31 +0100 Rene Engelhard r...@debian.org 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

Re: Change user used by package

2009-01-13 Thread Harald Braumann
On Tue, 13 Jan 2009 12:51:29 +0100 Francesco P. Lovergine fran...@debian.org 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

Re: Change user used by package

2009-01-13 Thread Russ Allbery
Harald Braumann ha...@unheit.net writes: Francesco P. Lovergine fran...@debian.org 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

Re: Change user used by package

2009-01-13 Thread Harald Braumann
On Tue, 13 Jan 2009 09:15:47 -0800 Russ Allbery r...@debian.org wrote: Harald Braumann ha...@unheit.net writes: Francesco P. Lovergine fran...@debian.org wrote: On Tue, Jan 13, 2009 at 11:35:49AM +0100, Harald Braumann wrote: AFAIK, there's no way for multiple independent packages for

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 you

Re: Change user used by package

2009-01-13 Thread Harald Braumann
On Tue, 13 Jan 2009 12:57:11 -0800 Steve Langasek vor...@debian.org 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

Re: Change user used by package

2009-01-13 Thread Harald Braumann
On Tue, 13 Jan 2009 12:57:11 -0800 Steve Langasek vor...@debian.org 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