I was going to prepare another patch but I hold myself this time... I've searched what was creating those directories in the /target/. Turns out to be /lib/partman/finish.d/20mount_partitions from partman-target [1].
That code isn't touched since 2007 and creates the var/run and var/lock directories in /target. I'm not sure if /var/run and /var/lock still need to be created in /target since debian policy changed for those directories. As Michael pointed out, they are links now. If the directories still need to exist for another package other than live-installer or for anything else, then we should patch live-installer to "rmdir /target/var/run /target/var/lock" before extracting the squashfs. If not, maybe it should be partman-target that should stop creating those directories. What do you guys think? [1] http://anonscm.debian.org/gitweb/?p=d-i/partman-target.git -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120710053857.ga30...@gmail.com