On Fri, Mar 30, 2012 at 09:53:30AM +0200, Raphaël Hertzog wrote: > > I have this warning about a chroot I setup: > $ LANG=C schroot -c squeeze -p > W: line 7 [sid-test]: Unknown key 'source-root-groups' used > I: This option may be present in a newer version > > However man schroot.conf clearly documents this key: > After investigation, it turns out that this specific chroot was > lacking my usual "union-type=aufs" entry... I believe that the error > message should be improved to point out the real underlying problem > because claiming that the key is unknown is misleading.
We currently treat any key which isn't settable as "unknown". Maybe we should report it as "invalid" instead? Or we could have a list of known and deprecated keys, and tailor the warning appropriately. In this specific case, without the union-type setting, the chroot most likely isn't a source chroot, and hence there is not means to set that key on that particular chroot instance (it entirely lacks the logic, the chroot_facet_source_clonable facet), so is completely unaware that it's valid in other contexts. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools `- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org