[Pkg-iscsi-maintainers] Bug#874356: open-iscsi: (non-fatal) error during install

IOhannes m zm\xc3\xb6lnig (Debian/GNU) umlaeute at debian.org
Tue Sep 5 11:23:48 UTC 2017


Package: open-iscsi
Version: 2.0.874-4
Severity: minor

Dear Maintainer,

while installing 'open-iscsi' on a pristine machine, i got an error:

> update-initramfs: Generating /boot/initrd.img-4.12.0-1-amd64
> cp: cannot stat '/etc/iscsi/initiatorname.iscsi': No such file or directory
>
> Setting up open-iscsi (2.0.874-4) ...

the error was non-fatal and installation succeeded, nevertheless it was a bit
disturbing to see the missing file unhandled.

i'd suggest to test for the existence of that file before copying it around.
(i casually checked the maintainer-scripts and it seems that these never use
'cp', and always check the existence of the initiatorname.iscsi file before
doing anything to it).

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.12.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_AT.utf8, LC_CTYPE=de_AT.utf8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968), LANGUAGE=de_AT.utf8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages open-iscsi depends on:
ii  debconf              1.5.63
ii  init-system-helpers  1.49
ii  libc6                2.24-17
ii  libisns0             0.97-2
ii  libmount1            2.29.2-4
ii  lsb-base             9.20170808
ii  udev                 234-3

Versions of packages open-iscsi recommends:
ii  busybox  1:1.22.0-19+b3

open-iscsi suggests no packages.

-- Configuration Files:
/etc/iscsi/iscsid.conf [Errno 13] Permission denied: '/etc/iscsi/iscsid.conf'

-- debconf information excluded



More information about the Pkg-iscsi-maintainers mailing list