[Pkg-iscsi-maintainers] Bug#661397: iscsitarget: prompting due to modified conffiles which where not modified by the user
debian at abeckmann.de
Sun Feb 26 21:21:43 UTC 2012
User: debian-qa at lists.debian.org
during a test with piuparts I noticed your package failed the piuparts
upgrade test because dpkg detected a conffile as being modified and then
prompted the user for an action. As there is no user input, this fails.
But this is not the real problem, the real problem is that this prompt
shows up in the first place, as there was nobody modifying this conffile
at all, the package has just been installed and upgraded...
This problem was discovered while testing upgrades from oldstable:
lenny -> squeeze -> wheezy.
This is a violation of policy 10.7.3, see
which says "[These scripts handling conffiles] must not ask unnecessary
questions (particularly during upgrades), and must otherwise be good
http://wiki.debian.org/DpkgConffileHandling should help with figuring
out how to do this properly.
In http://lists.debian.org/debian-devel/2009/08/msg00675.html and
followups it has been agreed that these bugs are to be filed with
>From the attached log (scroll to the bottom...):
Setting up iscsitarget (188.8.131.52-7) ...
Installing new version of config file /etc/default/iscsitarget ...
Installing new version of config file /etc/init.d/iscsitarget ...
Configuration file `/etc/iet/ietd.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** ietd.conf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing iscsitarget (--configure):
EOF on stdin at conffile prompt
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 33205 bytes
Desc: not available
More information about the Pkg-iscsi-maintainers