tenshi installation fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tenshi (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Tested on three different Ubuntu 18.04 LTS systems. It seems something is broken in the packaging of tenshi. Installation stalls for several minutes and then fails.
$ sudo apt install tenshi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libio-
The following NEW packages will be installed:
libio-
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 36.7 kB of archives.
After this operation, 173 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://
Get:2 http://
Fetched 36.7 kB in 0s (104 kB/s)
Selecting previously unselected package libio-buffereds
(Reading database ... 33410 files and directories currently installed.)
Preparing to unpack .../libio-
Unpacking libio-buffereds
Selecting previously unselected package tenshi.
Preparing to unpack .../tenshi_
Unpacking tenshi (0.13-2+deb7u1) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for systemd (237-3ubuntu10.13) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up libio-buffereds
Setting up tenshi (0.13-2+deb7u1) ...
Adding tenshi system user ...
adduser: Warning: The home directory `/var/lib/tenshi' does not belong to the user you are currently creating.
Adding user tenshi to group adm
Job for tenshi.service failed because a timeout was exceeded.
See "systemctl status tenshi.service" and "journalctl -xe" for details.
invoke-rc.d: initscript tenshi, action "start" failed.
● tenshi.service - LSB: tenshi log monitoring and reporting tool
Loaded: loaded (/etc/init.
Active: failed (Result: timeout) since Mon 2019-03-11 10:06:35 UTC; 206ms ago
Docs: man:systemd-
Process: 2792 ExecStart=
Tasks: 3 (limit: 2320)
CGroup: /system.
├─2800 /usr/bin/perl /usr/sbin/tenshi -P /var/run/
├─2801 /usr/bin/tail -q --follow=name --retry -n 0 /var/log/syslog /var/log/auth.log
└─2802 tenshi
Mar 11 10:01:34 rodakorset systemd[1]: Starting LSB: tenshi log monitoring and reporting tool...
Mar 11 10:06:35 rodakorset systemd[1]: tenshi.service: Start operation timed out. Terminating.
Mar 11 10:06:35 rodakorset systemd[1]: tenshi.service: Failed with result 'timeout'.
Mar 11 10:06:35 rodakorset systemd[1]: Failed to start LSB: tenshi log monitoring and reporting tool.
dpkg: error processing package tenshi (--configure):
installed tenshi package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (237-3ubuntu10.13) ...
Processing triggers for ureadahead (0.100.0-20) ...
Errors were encountered while processing:
tenshi
E: Sub-process /usr/bin/dpkg returned an error code (1)
Removing the package after the failed install is not straight forward, here is a workarond:
sudo systemctl stop tenshi.service; sudo killall tenshi; sudo apt purge tenshi