#29 rpmdev-packager not looking at id -un
Closed: Fixed None Opened 9 years ago by tradej.

Hi,

I find it strange that out of all places, the rpmdev-packager script does not take the output of id -un into consideration at all. This produces unexpected results e. g. when a user is added through useradd in Fedora (21) and logged in without further changes, because they don't have the gecos field filled in by the system. In that case, rpmdev-packager simply exits with retval 1 and produces nothing (same when run in unprivileged mode in fedora's current mock chroots).

Can you please add id -un as one of the sources for rpmdev-packager?

Thank you, Tomas Radej


Thank you very much. T. R.

Login to comment on this ticket.

Metadata