[buildd-tools-devel] Bug#800317: Bug#800317: group sbuild detection slightly broken

Johannes Schauer josch at debian.org
Sun Sep 27 19:37:46 UTC 2015


Hi,

Quoting Christoph Berg (2015-09-27 20:22:17)
> I've just installed sbuild and ran it for the first time:
> 
> $ sbuild postgresql-9.5_9.5~alpha2-2.dsc
> User cbe is not currently a member of group sbuild, but is in the system group database
> You need to log in again to gain sbuild group privileges
> 
> It's true that I'm not in the sbuild group, but I'm not in that group
> in /etc/group either. If sbuild tries to be helpful here ("log in
> again"), it should be more careful about checking the system group
> database.

Indeed. Do you think it would be sufficient to change above error message to:

 | User $user is currently not a member of group sbuild. Please run:
 | sudo sbuild-adduser $LOGNAME
 | And then logout and re-login or use `newgrp sbuild`

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150927/3ee2322b/attachment.sig>


More information about the Buildd-tools-devel mailing list