livecd-rootfs: config/hooks/00-uid-gid-fix.chroot_early failed

Bug #1515400 reported by Tim Gardner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
New
Undecided
Unassigned
Xenial
Won't Fix
Undecided
Unassigned

Bug Description

Using a Wily amd64 host:

#!/bin/sh
export PROJECT=ubuntu-core
export BOOTLOADER=grub
export ARCH=amd64
export SUBPROJECT=system-image
export IMAGEFORMAT=ext4
export SUITE=xenial
/usr/share/livecd-rootfs/live-build/auto/config
mkdir -p config/hooks
sudo /usr/share/livecd-rootfs/live-build/auto/build

Revision history for this message
Tim Gardner (timg-tpi) wrote :
Revision history for this message
Oliver Grawert (ogra) wrote :

this is on purpose. on readonly rootfs setups like snappy we want to catch changes to /etc/passwd, else you get a UID/GID mess on upgrades (file permissions etc) the hook above explicitly makes sure that you update the livecd-rootfs shipped password database.

Changed in livecd-rootfs (Ubuntu Xenial):
status: New → Won't Fix
Revision history for this message
Oliver Grawert (ogra) wrote :

PS: make sure to always use the latest livecd-rootfs version for your specific release when building

Revision history for this message
Oliver Grawert (ogra) wrote :

PPS: for just rolling a device tarball i'd instead suggest to ship your own script snippet based on line 344..479 from http://bazaar.launchpad.net/~ubuntu-core-dev/livecd-rootfs/trunk/view/head:/live-build/auto/build else your build will always try to produce a complete set of rootfs tarballs alongside, which you dont want ...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.