Bug 14495 - UID/GID < 1000 confirmation appears twice
Summary: UID/GID < 1000 confirmation appears twice
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2014-11-10 20:30 CET by Frank Griffin
Modified: 2020-01-18 06:50 CET (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Frank Griffin 2014-11-10 20:30:09 CET
During a fresh install, if you use Advanced to specify a UID/GID under 1000, you get prompted once exiting the Advanced dialog, and then again when exiting the root password/first user dialog.

Reproducible: 

Steps to Reproduce:
Comment 1 Thierry Vignaud 2015-02-18 11:35:03 CET
I don't have a strong opinion about this one.
Should we remember the answer and not ask again?
Or should we warn again & again as we know it might not work well with other programs expecting UIDs > 1000 (eg: gdm and the like)?

Keywords: (none) => USABILITY
CC: (none) => mageia, thierry.vignaud

Comment 2 Colin Guthrie 2015-02-18 11:43:47 CET
Would probably be nice to only warn once I guess.

Note that gdm itself doesn't care, but it uses accountsdaemon which does care although also has heuristics so that users >=500 and <1000 do still show up if they look like real users.
Comment 3 Frank Griffin 2015-02-18 12:59:41 CET
I'd vote for once and once only.  People who do this (through Advanced) are likely to know what they are doing.  One warning is enough for anyone who wanders in there by mistake.
Comment 4 Angelo Naselli 2015-02-18 13:47:59 CET
well iiuc we could avoid asking and asking, we could set a state variable to get the first answer, but that would mean -in the case we later answer no- that adding a new user and changing its id to a low value would not prompt anything but neither allow to go on until the value is set correctly.

Another solution could be to add a flag (don't show it again) on that dialog, not saved so valid only for the install session, but i don't know if ask_yesorno has that managed though...

CC: (none) => anaselli

Comment 5 Angelo Naselli 2015-02-18 13:50:19 CET
and always iiuc that subroutine is called either for GID or for UID so it should be considered that when is going to be hidden
Comment 6 Frank Griffin 2015-02-18 14:02:25 CET
I think it's really a single issue, and a single composite message covering both UID and GID (as opposed to separate messages for UID and GID) with a "don't show this again" is a good approach.
Comment 7 Angelo Naselli 2015-02-18 22:56:25 CET
Thierry could it be used ask_from_ with two type=button (yes and no) and one bool (don't ask again) to implement such a dialog instead of ask_yesorno?
Samuel Verschelde 2015-06-01 00:09:14 CEST

Whiteboard: (none) => MGA5TOO FOR_ERRATA

Samuel Verschelde 2015-06-01 00:09:22 CEST

Whiteboard: MGA5TOO FOR_ERRATA => FOR_ERRATA

Comment 8 Samuel Verschelde 2015-06-05 14:49:49 CEST
Minor issue, I don't think we need to add it to Errata. Removing FOR_ERRATA.

Whiteboard: FOR_ERRATA => (none)

Samuel Verschelde 2015-06-06 02:17:18 CEST

Target Milestone: --- => Mageia 6

Comment 9 Frank Griffin 2016-03-09 23:56:24 CET
Would this really be that hard to fix ?
Samuel Verschelde 2016-10-10 23:08:30 CEST

Assignee: bugsquad => mageiatools
Target Milestone: Mageia 6 => ---

Comment 10 Xavier Matz 2017-11-10 04:33:48 CET
Problem still exists in Mageia 6: just ran into the same problem there on multiple machines (where I had to take over old uid/gid that are used on lots of file systems and can't therefore just change the ids), and for each user, there are 4 (four!) warning popups, which is quite annoying:

first after editing the uid and gid:
1. warning popup about uid
2. separate (why?) warning popup about gid 
then the same two popups again after accepting the user.

At a rate of 4 popups per user… when you have systems with several users, that makes for a lot of annoying popups.

CC: (none) => c934w-xavm493b

Comment 11 Frank Griffin 2020-01-10 00:43:47 CET
Ping ?
Comment 12 Frank Griffin 2020-01-18 06:50:38 CET
Ping again ?

Note You need to log in before you can comment on or make changes to this bug.