← Back to team overview

dx-packages team mailing list archive

[Bug 1824820] [NEW] preseed file fails to configure various settings

 

Public bug reported:

System Ubuntu 18.04.2 LTS

Providing an /preseed/ubuntu.seed file with user configuration fails
with following symptoms:


This line

  d-i passwd/user-fullname string SCOE Admin

puts the full name in the "Your name" box, but also the string "SCOE" is then written to the "Pick a username" box.
The following has no effect at all:

  d-i passwd/username string scoe-adm

Also putting the string inside " has no effect:

  d-i passwd/username string "scoe-adm"

Still only "SCOE" is visible in the "Pick a username" box.
Same goes with the password:

  passwd/user-password password 'mypass123'

(Note that this did not work in Ubuntu 14 as well)

------

Setting the timezone not work either.
Specifying the swap partition size in % of the installed memory fails as well. In the below setting only 1GB of swap is assigned although the system has 16GB installed (note that this worked in Ubuntu 14 LTS):

d-i partman-auto/expert_recipe string \
        root :: \
                256 256 256 fat32 \
                        $primary{ } \
                        method{ efi } format{ } . \
                100% 100% 100% linux-swap \
                        $primary{ } \
                        method{ swap } format{ } . \
                102400 102400 102400 ext4 \
                        $primary{ } $bootable{ } \
                        method{ format } format{ } \
                        use_filesystem{ } filesystem{ ext4 } \
                        label{ root } \
                        mountpoint{ / } . \
                409600 409600 -1 ext4 \
                        $primary{ } \
                        method{ format } format{ } \
                        use_filesystem{ } filesystem{ ext4 } \
                        label{ home } \
                        mountpoint{ /home } .

** Affects: preseed (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Screenshot of the installer "Who are you?""
   https://bugs.launchpad.net/bugs/1824820/+attachment/5255938/+files/IMG_20190415_160257153_HDR.jpg

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-appmenu in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1824820

Title:
  preseed file fails to configure various settings

Status in preseed package in Ubuntu:
  New

Bug description:
  System Ubuntu 18.04.2 LTS

  Providing an /preseed/ubuntu.seed file with user configuration fails
  with following symptoms:

  
  This line

    d-i passwd/user-fullname string SCOE Admin

  puts the full name in the "Your name" box, but also the string "SCOE" is then written to the "Pick a username" box.
  The following has no effect at all:

    d-i passwd/username string scoe-adm

  Also putting the string inside " has no effect:

    d-i passwd/username string "scoe-adm"

  Still only "SCOE" is visible in the "Pick a username" box.
  Same goes with the password:

    passwd/user-password password 'mypass123'

  (Note that this did not work in Ubuntu 14 as well)

  ------

  Setting the timezone not work either.
  Specifying the swap partition size in % of the installed memory fails as well. In the below setting only 1GB of swap is assigned although the system has 16GB installed (note that this worked in Ubuntu 14 LTS):

  d-i partman-auto/expert_recipe string \
          root :: \
                  256 256 256 fat32 \
                          $primary{ } \
                          method{ efi } format{ } . \
                  100% 100% 100% linux-swap \
                          $primary{ } \
                          method{ swap } format{ } . \
                  102400 102400 102400 ext4 \
                          $primary{ } $bootable{ } \
                          method{ format } format{ } \
                          use_filesystem{ } filesystem{ ext4 } \
                          label{ root } \
                          mountpoint{ / } . \
                  409600 409600 -1 ext4 \
                          $primary{ } \
                          method{ format } format{ } \
                          use_filesystem{ } filesystem{ ext4 } \
                          label{ home } \
                          mountpoint{ /home } .

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1824820/+subscriptions


Follow ups