I also checked the current Ubuntu development branch (26.10 "stonking"). The 
packaging has been migrated from postinst ownership management to 
systemd-tmpfiles, but the issue remains.

The package still installs:

```
d /var/log/jetty9 0750 jetty adm
Z /var/log/jetty9 - jetty adm
```

while the service unit still contains:

```
LogsDirectory=jetty9
User=jetty
Group=jetty
```

According to systemd.exec, `LogsDirectory=` recursively changes
ownership of the directory to `User=`/`Group=` when the service starts.
As a result, `/var/log/jetty9` becomes `jetty:jetty`, making it
inaccessible to the `syslog` user that rsyslog runs as.

Therefore the same packaging issue appears to still exist in the current
development branch.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2158988

Title:
  jetty9: LogsDirectory ownership prevents rsyslog from creating jetty-
  console.log

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jetty9/+bug/2158988/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to