After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783079 - gdm build runs chown commands but doesn't check whether user:group exists
gdm build runs chown commands but doesn't check whether user:group exists
Status: RESOLVED OBSOLETE
Product: gdm
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2017-05-25 10:15 UTC by Jeremy Bicha
Modified: 2018-05-24 11:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2017-05-25 10:15:31 UTC
As part of Ubuntu's Main Review process, it was pointed out that gdm in data/Makefile.am attempts several chown commands that fail because there is no gdm user or group in the minimal build environment.

chown: invalid group: ‘root:gdm’
chown: invalid user: ‘gdm:gdm’

Full build log at
https://launchpad.net/ubuntu/+source/gdm3/3.24.2-1ubuntu2/+build/12616088

Ubuntu does add a gdm:gdm user as part of the installation script but only runs a single chown command for gdm's configured home directory.

chown -R gdm:gdm /var/lib/gdm3

https://bazaar.launchpad.net/~ubuntu-desktop/gdm/ubuntu/view/head:/debian/gdm3.postinst#L91

Are all of those other gdm chown commands necessary, given that they aren't performed in Debian/Ubuntu anyway?
Comment 1 GNOME Infrastructure Team 2018-05-24 11:36:02 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdm/issues/313.