Bug 10448 - Allow expert users to choose between use of "LABEL=" and "UUID=" in /etc/fstab
Summary: Allow expert users to choose between use of "LABEL=" and "UUID=" in /etc/fstab
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-06 18:10 CEST by Maurice Batey
Modified: 2016-04-01 16:50 CEST (History)
6 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Maurice Batey 2013-06-06 18:10:20 CEST
Description of problem:

The installer does not provide an option whereby the user can choose between the use (in /etc/fstab) of "LABEL=" and "UUID=".

Version-Release number of selected component (if applicable):

32-bit (and probable also 64-bit) Mageia-3 installer

How reproducible:

When installing:

Steps to Reproduce:
1. Select "Custom disk partitioning"

   N.B. On my monitor, that option is off the screen!
        (Had to scroll down to be aware of it...)

2. Toggle to Export Mode

3.  Hit the 'Label' button

   The window thus appearing is headed "Set Volume Label", and has the buttons
'Cancel' and 'OK'.

There is no option to specify "Use 'LABEL=' in /etc/fstab.
('UUID=' is mandated.)

Discussion in Mageia newsgroups/lists shows there is divided opinion among expert users as to the comparitive merits of 'LABEL=' v. 'UUID=', both of which seem to have pro's and con's.

------------------------------------------------------------------------
PROPOSAL:
Where a user has selected Custom Partitioning *and* Expert Mode *and* enters the 'Label' option *and* a label appears or is entered by the user, then an option should appear there which offers a choice between 'LABEL=' and 'UUID=' in /etc/fstab.

With that approach no puzzling option will be shown to neophytes or those happy to take default partitioning arrangements.

-----------------------------------------------------------------------------
N.B. I am aware that - according to others - there is already a way to achieve the use of 'LABEL=', and that is (within the above Label option):

  - If no label is present, enter one, otherwise change (or appear to have changed*) the existing label.

(* E.g. by changing the label and then restoring the original value, or even - I'm told - by just CTL+C on the label. Otherwise, the installer will use 'UUID='!)

------------------------------------------------------------------------
Here is an extract of what the Mageia-3 installer put in my /etc/fstab:

# Entry for /dev/sda5 :
LABEL=Mageia-3-root / ext3 acl,relatime 1 1
# Entry for /dev/sda7 :
UUID=abe67990-4c19-44b2-91ea-c57d8a529300 /home ext3 acl,relatime 1 2

- although both partitions had unique pre-defined labels.
  


Reproducible: 

Steps to Reproduce:
Maurice Batey 2013-06-06 18:11:06 CEST

CC: (none) => maurice

Felix Miata 2013-06-06 18:38:17 CEST

CC: (none) => mrmazda

Comment 1 andré blais 2013-06-07 03:18:57 CEST
I would favour being presented the option (for all partitions) when one enters the custom partitioning mode, with the comment displayed that UUID is the default.
And a comment that to select using labels by partition requires editing each partition, in expert mode.

Missing labels can be requested as required by diskdrake.
Requiring simulation of changing a label could result in accidently changing the label, and is more awkward if the labels are already in place.

CC: (none) => andre999mga

Comment 2 Samuel Verschelde 2013-08-27 16:35:19 CEST
Setting version to cauldron, since we can't modify old installers, only future ones.

CC: (none) => stormi
Version: 3 => Cauldron

Comment 3 Florian Hubold 2015-10-27 09:22:38 CET
Well, you cannot really expect that we support everything, for a *negligible* number of users. IMHO, if you are an "expert" user, why can't you edit /etc/fstab yourselves to your liking? Those that use labels happily do that for years without diskdrake.

If you allow labels, you have to pay attention to existing ones, and people might already have written labels in weird encodings (not UTF-8) with special characters and stuff, same as people do with wifi SSIDs, which fails often in weird ways.

As nobody commented or worked on this bug for over 2 years I'd say this should be closed.

CC: (none) => doktor5000

Comment 4 Samuel Verschelde 2015-10-27 10:21:13 CET
(In reply to Florian Hubold from comment #3)
> As nobody commented or worked on this bug for over 2 years I'd say this
> should be closed.

In my opinion it's ok for enhancement requests, marked as such in bugzilla, to stay open until either someone handles it or it is clearly decided that we will not handle it. They are useful indicators for user needs.
Comment 5 Thierry Vignaud 2016-04-01 16:50:49 CEST
We already 've too much maintainer time shortage to add sg like this which is both risky for end user and time consuming for maintainer

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => WONTFIX


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