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

Re: Possible bug in Read_conffiles()




Greetings,

if you believe you have a bug to file best to use the BTS and you as well can submit patches there. The BTS provides a vehicle to examine, track, and resolve issues. As for me I would submit patches against debian-next branch in git.

Thanks.

On Thu, Nov 20, 2014 at 7:35 PM, jnqnfe <jnqnfe@gmail.com> wrote:
On second thoughts, perhaps my fix was wrong, perhaps the parameter list
is supposed to be sent to Get_conffiles(), so instead of

for CONFFILE in $(Get_conffiles) "${@}"

is should be

for CONFFILE in $(Get_conffiles "${@}")

Executing lb config, and having a few echo's added to the
Read_conffiles() function, I can see that a parameter string of
"config/all config/common config/bootstrap config/chroot config/binary
config/source" is passed into Read_conffiles().

I'm not entirely certain what Get_conffiles() is trying to achieve
exactly, but seems to expect a parameter list of files to work with. It
then seems to be generating and adding six different files to the list
for each item in the parameter set, resulting in a somewhat weird
looking list of files, with many repeats, as shown below.

*** Also, I want to highlight that the ${DISTRIBUTION} variable it's
trying to use here is empty, as can be seem below.

So the list of files Read_conffiles() tries to process, with this
alternate fix in place becomes the following, after processing by
Get_conffiles():
config/all
config/all.amd64
config/all.
config/lb
config
config/lb
config.
config/lb
config.
config/common
config/common.amd64
config/common.
config/lb
config
config/lb
config.
config/lb
config.
config/bootstrap
config/bootstrap.amd64
config/bootstrap.
config/lb
config
config/lb
config.
config/lb
config.
config/chroot
config/chroot.amd64
config/chroot.
config/lb
config
config/lb
config.
config/lb
config.
config/binary
config/binary.amd64
config/binary.
config/lb
config
config/lb
config.
config/lb
config.
config/source
config/source.amd64
config/source.
config/lb
config
config/lb
config.
config/lb
config.


--
To UNSUBSCRIBE, email to debian-live-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 546E96E5.4040803@gmail.com" target="_blank">https://lists.debian.org/[🔎] 546E96E5.4040803@gmail.com



Reply to: