#779987 debian-installer: Boot alias “auto” is not seen equal to auto-install/enable

Package:
debian-installer
Source:
debian-installer
Description:
Debian Installer documentation
Submitter:
Daniel Dehennin
Date:
2015-03-07 16:18:06 UTC
Severity:
minor
#779987#5
Date:
2015-03-07 15:46:33 UTC
From:
To:
Dear Maintainer,

I'm setting up an automatic installation process with hands-off.

Version of “debian-installer” package is “netboot-20150107”

I found an interesting issue where 60auto-install[1] does not
use boot options[2], which results in:

- “/var/run/auto-install.active” contains “0”

- “/var/run/preseed_unspecified_at_boot” is present

I fist thought it may be some kind of aliases[3] problem.

Then, I made several tries with pausing the installation to run a little
script, attached to this email, with several combination of boot
options/aliases:

- auto=false url=http://192.168.1.2/preseed/./start.cfg
    File 'auto-install.active' contains '0'
    Does not exist '/var/run/preseed_unspecified_at_boot'
    Debconf 'auto-install' is 'false'
    Debconf 'preseed/url' is 'http://192.168.1.2/preseed/./start.cfg'
    Debconf 'preseed/file' is ''

- auto=true url=http://192.168.1.2/preseed/./start.cfg
    File 'auto-install.active' contains '0'
    Exists '/var/run/preseed_unspecified_at_boot'
    Debconf 'auto-install' is 'true'
    Debconf 'preseed/url' is 'http://192.168.1.2/preseed/./start.cfg'
    Debconf 'preseed/file' is ''

- auto=true preseed/url=http://192.168.1.2/preseed/./start.cfg
    File 'auto-install.active' contains '0'
    Exists '/var/run/preseed_unspecified_at_boot'
    Debconf 'auto-install' is 'true'
    Debconf 'preseed/url' is 'http://192.168.1.2/preseed/./start.cfg'
    Debconf 'preseed/file' is ''

- auto-install/enable=true url=http://192.168.1.2/preseed/./start.cfg
    File 'auto-install.active' contains '0'
    Exists '/var/run/preseed_unspecified_at_boot'
    Debconf 'auto-install' is 'true'
    Debconf 'preseed/url' is 'http://192.168.1.2/preseed/./start.cfg'
    Debconf 'preseed/file' is ''

- auto-install/enable=true preseed/url=http://192.168.1.2/preseed/./start.cfg
    File 'auto-install.active' contains '0'
    Exists '/var/run/preseed_unspecified_at_boot'
    Debconf 'auto-install' is 'true'
    Debconf 'preseed/url' is 'http://192.168.1.2/preseed/./start.cfg'
    Debconf 'preseed/file' is ''

The “/var/run/auto-install.active” file always contains “0”, but should
contains “1” as soon as “auto=true” or “auto-install/enabled=true” is
passed.

When “auto=true” is passed, the “/var/run/preseed_unspecified_at_boot”
files should only exists if no “url=”, “file=” or their full name
“preseed/url=” and “preseed/file=” was specified.

Regards.