group sambashare with gid 1000

Bug #1857364 reported by Hadmut Danisch
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calamares (Ubuntu)
Fix Released
Low
Unassigned
calamares-settings-ubuntu (Ubuntu)
Fix Released
Low
Dan Simmons

Bug Description

Hi,

I've recently installed a machine with Lubuntu 19.10 (and afterwards some additional packages through puppet) and ran into the problem, that my account's uid was 1000, as usual for the first account created during the installation process, but my gid was 1001, since the gid 1000 was already occupied by the group sambashare, which is erroneously not created as a system group (<1000)

Since this must have been installed before Lubuntu installer created my account (otherwise the 1000 would have been occupied by my own personal group) my guess is that this somehow came from the Installer's installation process, but I did not yet find what created that group, I did not find it in any *postinst. Even the /etc/group that comes with the squashfs filesystem on the installation image the group does not yet exist.

No clue, what exactly creates this group in the installation process, but it breaks several functions, and it must have happened before the installer created the account.

regards

Tags: focal
Paul White (paulw2u)
affects: ubuntu → lubuntu-meta (Ubuntu)
tags: added: eoan
Changed in lubuntu-meta (Ubuntu):
status: New → Confirmed
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

Just a little observation from cracking open the squashfs that ultimately becomes your installation:

 1. None of the group files (/etc/{group,gshadow}) or user files (/etc/{passwd,shadow}) have anything Samba-related
 2. According to installation lags (/var/log/{apt/history.log,dpkg.log}), the only Samba-related package installed is samba-libs

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

Also, perhaps coincidentially, saned has groupid 122 which is what sambashare has in 18.04. saned is not actually in 18.04.

Revision history for this message
Hadmut Danisch (hadmut) wrote :

BTW. Bug still exists in Lubuntu 20.04 installation medium.

Chris Guiver (guiverc)
tags: added: focal
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

This was fixed in a recent version of Calamares which should be landing in Hippo soon.

Changed in lubuntu-meta (Ubuntu):
status: Confirmed → Fix Committed
affects: lubuntu-meta (Ubuntu) → calamares (Ubuntu)
Dan Simmons (kc2bez)
Changed in calamares-settings-ubuntu (Ubuntu):
importance: Undecided → Low
assignee: nobody → Dan Simmons (kc2bez)
milestone: none → ubuntu-21.04
Revision history for this message
Dan Simmons (kc2bez) wrote :

The Calamares portion of this fix has been released in version 3.2.35 which is in Hirsute. The calamares-settings portion is still pending to be released at this time.

Changed in calamares (Ubuntu):
status: Fix Committed → Fix Released
importance: Undecided → Low
Changed in calamares-settings-ubuntu (Ubuntu):
status: New → Confirmed
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

Oh and Lubuntu is tracking this here:
https://phab.lubuntu.me/T181

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package calamares-settings-ubuntu - 1:21.04.1

---------------
calamares-settings-ubuntu (1:21.04.1) hirsute; urgency=medium

  [ apt-ghetto ]
  * Fix GeoIP parsing for Lubuntu in welcome module.
  * Use https for the GeoIP lookup

  [ Dan Simmons ]
  * Welcome to the Hirsute Hippo!
  * Set sambashare user as a system user. (LP: #1857364)
  * Add swapfile as an option and set it as the initial choice
    (LP: 1881191)
  * Update d/copyright.

 -- Dan Simmons <email address hidden> Sun, 03 Jan 2021 12:38:33 -0500

Changed in calamares-settings-ubuntu (Ubuntu):
status: Confirmed → Fix Released
Chris Guiver (guiverc)
tags: removed: eoan
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.