[Bug 1851123] Re: Ubuntu 19.10 and focal live cloned create and mount casper-rw partition

Thomas Weissel valueerror at gmail.com
Mon May 11 07:54:14 UTC 2020


i just wanted do add than IMHO automatically mounting "anything" in live
mode is the worst desgin decision ever....

and btw. it produces bugs beyond your imagination...

for example:

on an customized live image there is an instance of nginx running...  in
order to start nginx it checks if /var/log/nginx/error.log (and
access.log) are available...

now casper mounts "casper-rw" or "writable" into /var/log and those
files are gone.. therfore nginx start fails..   this is true for a lot
of other situations...

i'm glad to here that i can "opt-out"   but the linux way to such
"features" would be "opt-in"

so please make this optional !!
thx

-- 
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/1851123

Title:
  Ubuntu 19.10 and focal live cloned create and mount casper-rw
  partition

Status in casper package in Ubuntu:
  Fix Released

Bug description:
  It is very good that it is easy to create and use a casper-rw
  partition to run Ubuntu persistent live in the versions 19.10 and
  Focal Fossa, and that it is even created automatically, when there is
  unallocated drive space behind the used part in a live drive.

  But I think the system for doing that is 'too eager'. Maybe it is a
  feature that is left from the development and debugging phase.

  - It would be enough (best), if the casper-rw partition is created
  only when it is needed, that is when the live system is booted with
  the boot option 'persistent'.

  - We (I am talking for users who like persistent live drives) can
  accept that the casper-rw partition is created even when the drive is
  booted live only (without the boot option 'persistent').

  - But we think it is a bug, that the live-only system is also mounting
  the casper-rw partition on the mount point /var/log and/or /var/crash
  and keeps it busy so that it cannot be unmounted.

  This way the drive is not really live-only, and it is not possible to
  manage the drive space behind the system in an independent way. For
  example, it is not possible to detach the drive by using the boot
  option 'toram', and it is not possible to repair the casper-rw
  partition when running live in the same drive. It will be necessary to
  have two linux systems to do such tasks.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: casper 1.428
  ProcVersionSignature: Ubuntu 5.3.0-18.19-generic 5.3.1
  Uname: Linux 5.3.0-18-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu9
  Architecture: amd64
  CasperVersion: 1.428
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Nov  3 11:15:29 2019
  LiveMediaBuild: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20191103)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=sv_SE.UTF-8
   SHELL=/bin/bash
  SourcePackage: casper
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list