[Debconf-devel] Bug#636219: debconf-set-selections can't set values (strings) with a hash

Ivan Vilata i Balaguer ivan at selidor.net
Fri Mar 8 12:23:51 UTC 2013


Package: debconf
Version: 1.5.49
Followup-For: Bug #636219

Because of bug #684134 I'm forced to include a command in lxc-debconf preseed
file to mangle /etc/locale.gen like this:

    lxc-debconfig lxc-debconfig/late-command string \
        sed -i -e 's/^[# ]*\\(en_US.UTF-8 UTF-8\\) */\\1/' /etc/locale.gen; \
        locale-gen; update-locale LANG=en_US.UTF8

Of course the command gets truncated when the container is a Squeeze one.  It
may be rather pointless for the bug report but it's still one more example of
where people may get bitten by the bug in stable.

Generally hases may appear in lots of Debconf variables we can't even imagine,
so whether using them in passwords is fine or not is quite irrelevant to the
need of fixing this. ;)

Cheers,



More information about the Debconf-devel mailing list