This change is included in tomcat9 9.0.16-3~18.04.1 which is published to bionic-proposed. Changelog:
tomcat9 (9.0.16-3~18.04.1) bionic; urgency=medium * Don't set nologin shell in sysusers.d/tomcat9.conf It is the default anyway and systemd-sysusers in 18.04 can't parse it. (LP: #1823125) Since this was a proposed-only issue, I am marking this resolved for bionic. ** Changed in: tomcat9 (Ubuntu Bionic) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: Won't Fix Status in tomcat9 source package in Bionic: Fix Released 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp