[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Live user includes get another uid:gid on the live image than the original one in config/chroot_local-includes



do not hijack threads by hitting 'reply' instead of 'new' when you start
a new topic. otherwise, your message gets hidden in another thread and
likely be overseen.

On 09/24/2010 06:18 PM, Mark Schneider wrote:
> it looks for me like a bug (s. details below). I didn't check the lb
> code yet.

this is on purpose..

---lb_chroot_hacks---
[...]
case "${LB_INITRAMFS}" in
»·······casper)
»·······»·······ID="999"
»·······»·······;;

»·······live-initramfs|live-boot)
»·······»·······ID="1000"
»·······»·······;;
esac

if [ -d chroot/home/${LB_USERNAME} ]
then
»·······chown -R --quiet ${ID}:${ID} chroot/home/${LB_USERNAME}
fi
[...]
---snap----

> root@t60p:/home/ironm/lds6-amd64/chroot/home/ironm# ls -al | grep icedove
> drwx------ 3 ironm ironm 4096 24. Sep 19:23 .icedove
> root@t60p:/home/ironm/lds6-amd64/chroot/home/ironm# grep ironm /etc/passwd
> ironm:x:1000:1000:ironm,,,:/home/ironm:/bin/bash

so? why are you thinking it's a bug? it fixed the stuff correctly for you..

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/


Reply to: