[Bug 1846762] [NEW] automatic creation of casper-rw breaks installation from "disk"
Mario Limonciello
superm1 at ubuntu.com
Fri Oct 4 13:09:16 UTC 2019
Public bug reported:
OEM factory installation typically puts the Ubuntu media onto a recovery
partition and uses a preseeding recipe to install into the remaining
free space on the disk.
This casper change appears to have broken that behavior:
casper (1.415) eoan; urgency=medium
* Persist logs on the install media by default:
- Try to auto create a casper-rw filesystem on the install media if there
appears to be at least 100MiB free on it.
- Use a casper-rw filesystem for /var/log if it is not being used for
persistence.
* Fix some '|| continue's that got missed when check_dev got refactored into
a function.
-- Michael Hudson-Doyle <michael.hudson at ubuntu.com> Thu, 08 Aug 2019
16:26:41 +1200
In my testing (in QEMU) I can see errors from the installer that no free
space can be found. Examining the disk I see that a casper-rw partition
has been created in the free space taking up the entire disk.
Would you please consider to recognize the "nopersistent" kernel command
line option already supported by casper to disable this behavior?
** Affects: casper (Ubuntu)
Importance: Undecided
Assignee: Michael Hudson-Doyle (mwhudson)
Status: New
** Changed in: casper (Ubuntu)
Assignee: (unassigned) => Michael Hudson-Doyle (mwhudson)
** Description changed:
OEM factory installation typically puts the Ubuntu media onto a recovery
partition and uses a preseeding recipe to install into the remaining
free space on the disk.
This casper change appears to have broken that behavior:
casper (1.415) eoan; urgency=medium
- * Persist logs on the install media by default:
- - Try to auto create a casper-rw filesystem on the install media if there
- appears to be at least 100MiB free on it.
- - Use a casper-rw filesystem for /var/log if it is not being used for
- persistence.
- * Fix some '|| continue's that got missed when check_dev got refactored into
- a function.
+ * Persist logs on the install media by default:
+ - Try to auto create a casper-rw filesystem on the install media if there
+ appears to be at least 100MiB free on it.
+ - Use a casper-rw filesystem for /var/log if it is not being used for
+ persistence.
+ * Fix some '|| continue's that got missed when check_dev got refactored into
+ a function.
- -- Michael Hudson-Doyle <michael.hudson at ubuntu.com> Thu, 08 Aug 2019
+ -- Michael Hudson-Doyle <michael.hudson at ubuntu.com> Thu, 08 Aug 2019
16:26:41 +1200
- In my testing (in QEMU) I can errors that no free space can be found.
- Examining the disk I see that a casper-rw partition has been created in
- the free space taking up the entire disk.
+ In my testing (in QEMU) I can see errors from the installer that no free
+ space can be found. Examining the disk I see that a casper-rw partition
+ has been created in the free space taking up the entire disk.
Would you please consider to recognize the "nopersistent" kernel command
line option already supported by casper to disable this behavior?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/1846762
Title:
automatic creation of casper-rw breaks installation from "disk"
Status in casper package in Ubuntu:
New
Bug description:
OEM factory installation typically puts the Ubuntu media onto a
recovery partition and uses a preseeding recipe to install into the
remaining free space on the disk.
This casper change appears to have broken that behavior:
casper (1.415) eoan; urgency=medium
* Persist logs on the install media by default:
- Try to auto create a casper-rw filesystem on the install media if there
appears to be at least 100MiB free on it.
- Use a casper-rw filesystem for /var/log if it is not being used for
persistence.
* Fix some '|| continue's that got missed when check_dev got refactored into
a function.
-- Michael Hudson-Doyle <michael.hudson at ubuntu.com> Thu, 08 Aug 2019
16:26:41 +1200
In my testing (in QEMU) I can see errors from the installer that no
free space can be found. Examining the disk I see that a casper-rw
partition has been created in the free space taking up the entire
disk.
Would you please consider to recognize the "nopersistent" kernel
command line option already supported by casper to disable this
behavior?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1846762/+subscriptions
More information about the foundations-bugs
mailing list