Re: colord Warning during upgrade to wheezy

2013-11-26 Thread Tom H
On Tue, Nov 26, 2013 at 7:44 PM, Bob Proulx wrote: > > AFAIK adduser is Debian specific and useradd came from other distros. > AFAIK Debian supports useradd as a nod to those other distros. And > because IIRC the LSB requires it. Debian is the upstream of both useradd and adduser. adduser is a

Re: colord Warning during upgrade to wheezy

2013-11-26 Thread Tom H
On Tue, Nov 26, 2013 at 3:55 PM, Reco wrote: > On Tue, Nov 26, 2013 at 12:00:32PM +, Tom H wrote: >> >> I'm not an adduser user so that's why I checked the manpage for "-d". >> >> If your assumption that useradd short options should be understood >> adduser, isn't this a bug? > > I don't know.

Re: colord Warning during upgrade to wheezy

2013-11-26 Thread Bob Proulx
Reco wrote: > Tom H wrote: > > I'm not an adduser user so that's why I checked the manpage for "-d". > > > > If your assumption that useradd short options should be understood > > adduser, isn't this a bug? I don't think there is an expectation of cross compatibility of options between those two

Re: colord Warning during upgrade to wheezy

2013-11-26 Thread Bob Proulx
Reco wrote: > Tom H wrote: > > What does "-d" mean? > > Compatibility with useradd, which has '-d'. To my surprise manpage > doesn't mention it. Usually programs do not document options they don't want you to use. This is a way of deprecating them without actually breaking scripts by removing the

Re: colord Warning during upgrade to wheezy

2013-11-26 Thread Reco
On Tue, Nov 26, 2013 at 12:00:32PM +, Tom H wrote: > I'm not an adduser user so that's why I checked the manpage for "-d". > > If your assumption that useradd short options should be understood > adduser, isn't this a bug? I don't know. But the behaviour of adduser and useradd is consistent i

Re: colord Warning during upgrade to wheezy

2013-11-26 Thread Tom H
On Mon, Nov 25, 2013 at 10:15 AM, Reco wrote: > On Mon, Nov 25, 2013 at 09:05:12AM +, Tom H wrote: >> >> What does "-d" mean? > > Compatibility with useradd, which has '-d'. To my surprise manpage > doesn't mention it. I'm not an adduser user so that's why I checked the manpage for "-d". If

Re: colord Warning during upgrade to wheezy

2013-11-25 Thread Itay
On Mon, 25 Nov 2013, Bob Proulx wrote: Reco wrote: The contents of /var/lib/dpkg/info/colord.postinst explain this behavior. Basically, they create the needed directory first, add the colord user then and finally change permissions for the dir. IMO, this is the usual thing, not a bug. I just

Re: colord Warning during upgrade to wheezy

2013-11-25 Thread Itay
On Mon, 25 Nov 2013, Reco wrote: Date: Mon, 25 Nov 2013 12:48:44 +0400 From: Reco To: debian-user@lists.debian.org Subject: Re: colord Warning during upgrade to wheezy Resent-Date: Mon, 25 Nov 2013 08:48:24 + (UTC) Resent-From: debian-user@lists.debian.org [snip] I'm unsure wheneve

Re: colord Warning during upgrade to wheezy

2013-11-25 Thread Reco
On Mon, Nov 25, 2013 at 09:05:12AM +, Tom H wrote: > What does "-d" mean? Compatibility with useradd, which has '-d'. To my surprise manpage doesn't mention it. > [root@lenovo15]# adduser --home /var/a/b/c test > Adding user `test' ... > Adding new group `test' (1001) ... > Adding new user `t

Re: colord Warning during upgrade to wheezy

2013-11-25 Thread Tom H
On Mon, Nov 25, 2013 at 8:48 AM, Reco wrote: > On Mon, Nov 25, 2013 at 12:13:41AM -0700, Bob Proulx wrote: >> >> I just looked at that script. I agree that as written now that it is >> expected behavior by that script. But I think the script is not >> written well. It should create the user fir

Re: colord Warning during upgrade to wheezy

2013-11-25 Thread Reco
Hi. On Mon, Nov 25, 2013 at 12:13:41AM -0700, Bob Proulx wrote: > I just looked at that script. I agree that as written now that it is > expected behavior by that script. But I think the script is not > written well. It should create the user first. It is using adduser > to create the user. I

Re: colord Warning during upgrade to wheezy

2013-11-24 Thread Bob Proulx
Reco wrote: > The contents of /var/lib/dpkg/info/colord.postinst explain this > behavior. Basically, they create the needed directory first, add the > colord user then and finally change permissions for the dir. > > IMO, this is the usual thing, not a bug. I just looked at that script. I agree t

Re: colord Warning during upgrade to wheezy (SOLVED)

2013-11-24 Thread Itay
On Sun, 24 Nov 2013, Reco wrote: Date: Sun, 24 Nov 2013 19:20:50 +0400 From: Reco To: debian-user@lists.debian.org Cc: Itay Subject: Re: colord Warning during upgrade to wheezy Resent-Date: Sun, 24 Nov 2013 15:21:10 + (UTC) Resent-From: debian-user@lists.debian.org Hi. On Sun, 24 Nov

Re: colord Warning during upgrade to wheezy

2013-11-24 Thread Reco
Hi. On Sun, 24 Nov 2013 17:05:15 +0200 (IST) Itay wrote: > Hi, > > During upgrade squeeze -> wheezy the following warning came up: > > Setting up colord (0.1.21-1) ... > adduser: Warning: The home directory `/var/lib/colord' does not belong to the > user you are currently creating. > > At p

colord Warning during upgrade to wheezy

2013-11-24 Thread Itay
Hi, During upgrade squeeze -> wheezy the following warning came up: Setting up colord (0.1.21-1) ... adduser: Warning: The home directory `/var/lib/colord' does not belong to the user you are currently creating. At present '/var/lib/colord' belongs to user and group 'colord'. I guess that thi