Public bug reported:
I'm using Remastersys package in "backup" mode to build a custom preconfigured
Ubuntu 16.04 image.
Default system language of my reference Ubuntu 16.04 machine is Russian.
A couple of weeks ago i've installed updates on my reference machine and i
noticed that Ubiquity has updated to 2.21.63.9 (previous version was 2.21.63).
After building of a image for a new machine has failed on the step of
autopartitioning using LVM group with the error:
"Autopartitioning using LVM failed because an error occured while creating the
volume group".
It doesn't matter whether i choose English or Russian as setup language.
In /var/log/syslog/ of that half-setup machine i noticed (sorry i didn't save
any logs):
- A string like: partman-lvm: "Двоичный-vg" is not valid LVM name.
- Hostname of a machine is "Двоичный"
- There is an empty /home/Двоичный folder.
Note: Двоичный means Binary in Russian.
After having a look into Ubiquity code i've found a problem code and workaround
for this:
In /lib/partman/lib/auto-lvm.sh:
Line 287: defvgname=$(cat /etc/hostname | head -n 1 | tr -d " ")
Workaround: Comment out above and put defvgname="ubuntu"
My conclusion: The problem line returns an unexpected value on a system with
non-English default language. Another version can be having a user "head" on a
preconfigured image with /home/head folder - it's also my case.
Hope this helps.
** Affects: ubiquity (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1805359
Title:
Autopartitioning using LVM failed during setup of custom 16.04 iso
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1805359/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs