Instalator crashes on first daemon run after install. Config files seem not to be copied during install.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-iscsi (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I cannot make installer work for me through the repository. The OS is Ubuntu 17.10:
Linux n317-pc01 4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
For some unknown reasons, installer does not copy template config files.
Any help is appreciated.
---------------- installer output -------
pczekalski@
[sudo] password for pczekalski:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libisns0
The following NEW packages will be installed:
libisns0 open-iscsi
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/392 kB of archives.
After this operation, 2419 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
Selecting previously unselected package libisns0:amd64.
(Reading database ... 240358 files and directories currently installed.)
Preparing to unpack .../libisns0_
Unpacking libisns0:amd64 (0.97-2) ...
Selecting previously unselected package open-iscsi.
Preparing to unpack .../open-
Unpacking open-iscsi (2.0.874-4ubuntu3) ...
Processing triggers for ureadahead (0.100.0-20) ...
Setting up libisns0:amd64 (0.97-2) ...
Processing triggers for initramfs-tools (0.125ubuntu12) ...
update-initramfs: Generating /boot/initrd.
cp: cannot stat '/etc/iscsi/
Setting up open-iscsi (2.0.874-4ubuntu3) ...
Job for iscsid.service failed because the control process exited with error code.
See "systemctl status iscsid.service" and "journalctl -xe" for details.
invoke-rc.d: initscript iscsid, action "restart" failed.
● iscsid.service - iSCSI initiator daemon (iscsid)
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Wed 2017-11-22 15:46:40 CET; 6ms ago
Docs: man:iscsid(8)
Process: 10191 ExecStartPre=
lis 22 15:46:40 n317-pc01 systemd[1]: Starting iSCSI initiator daemon (iscsid)...
lis 22 15:46:40 n317-pc01 startup-
lis 22 15:46:40 n317-pc01 startup-
lis 22 15:46:40 n317-pc01 systemd[1]: iscsid.service: Control process exited, code=exited status=1
lis 22 15:46:40 n317-pc01 systemd[1]: Failed to start iSCSI initiator daemon (iscsid).
lis 22 15:46:40 n317-pc01 systemd[1]: iscsid.service: Unit entered failed state.
lis 22 15:46:40 n317-pc01 systemd[1]: iscsid.service: Failed with result 'exit-code'.
dpkg: error processing package open-iscsi (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.26-0ubuntu2) ...
Processing triggers for systemd (234-2ubuntu12.1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for initramfs-tools (0.125ubuntu12) ...
update-initramfs: Generating /boot/initrd.
cp: cannot stat '/etc/iscsi/
Errors were encountered while processing:
open-iscsi
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------
pczekalski@
● iscsid.service - iSCSI initiator daemon (iscsid)
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Wed 2017-11-22 15:46:40 CET; 5min ago
Docs: man:iscsid(8)
lis 22 15:46:40 n317-pc01 systemd[1]: Starting iSCSI initiator daemon (iscsid)...
lis 22 15:46:40 n317-pc01 startup-
lis 22 15:46:40 n317-pc01 startup-
lis 22 15:46:40 n317-pc01 systemd[1]: iscsid.service: Control process exited, code=exited status=1
lis 22 15:46:40 n317-pc01 systemd[1]: Failed to start iSCSI initiator daemon (iscsid).
lis 22 15:46:40 n317-pc01 systemd[1]: iscsid.service: Unit entered failed state.
lis 22 15:46:40 n317-pc01 systemd[1]: iscsid.service: Failed with result 'exit-code'.