[Bug 1823125] Re: tomcat9 fails to install in 18.04
Balint Reczey
balint.reczey at canonical.com
Thu Apr 4 12:12:06 UTC 2019
Fixed it in tomcat9 only, by not setting shell in sysusers.d/tomcat9.conf .
The slightly ugly part is that systemd sets the default shell to
/sbin/nologin , not /usr/sbin/nologin that exists on Ubuntu.
The effect is the same, user can't log in it is just a little ugly and with mergedusr the problem goes away thus I have not filed a bug for it.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1823125
Title:
tomcat9 fails to install in 18.04
Status in systemd package in Ubuntu:
Fix Released
Status in tomcat9 package in Ubuntu:
Fix Released
Status in systemd source package in Bionic:
New
Status in tomcat9 source package in Bionic:
New
Status in systemd source package in Cosmic:
Fix Released
Status in tomcat9 source package in Cosmic:
Fix Released
Status in systemd source package in Disco:
Fix Released
Status in tomcat9 source package in Disco:
Fix Released
Bug description:
# apt install tomcat9
...
Setting up tomcat9 (9.0.16-3~18.04) ...
[/usr/lib/sysusers.d/tomcat9.conf:7] Trailing garbage.
Creating config file /etc/tomcat9/tomcat-users.xml with new version
chown: invalid group: ‘root:tomcat’
dpkg: error processing package tomcat9 (--configure):
installed tomcat9 package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for systemd (237-3ubuntu10.15) ...
Processing triggers for ca-certificates (20180409) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
done.
Processing triggers for rsyslog (8.32.0-1ubuntu4) ...
Errors were encountered while processing:
tomcat9
E: Sub-process /usr/bin/dpkg returned an error code (1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1823125/+subscriptions
More information about the foundations-bugs
mailing list