Re: colord Warning during upgrade to wheezy
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. It should let it create the home directory. Then
> the spurious message that is printed out during the installation would
> be avoided. That would be much nicer.
>
> I don't have the time but I think it would be a good bug to fail
> against the package. Because the message is truly a spurious one that
> need not be there if the package were perfect.
The adduser executable cannot make user's home directory if such
directory is nested and upper-level directories aren't exist.
Just tested this, and got:
# adduser -d /var/a/b/c test
adduser: cannot create directory /var/a/b/c
I'm unsure whenever the existance of /var/lib is assumed by Debian
Policy, or Debian's current interpretation of FHS.
Reco
Reply to: