~xypron/ubuntu/+source/rsyslog:merge-lp2045033-noble-8.2312.0-3

Last commit made on 2024-01-16
Get this branch:
git clone -b merge-lp2045033-noble-8.2312.0-3 https://git.launchpad.net/~xypron/ubuntu/+source/rsyslog
Only Heinrich Schuchardt can upload to this branch. If you are Heinrich Schuchardt please log in for upload directions.

Branch merges

Branch information

Name:
merge-lp2045033-noble-8.2312.0-3
Repository:
lp:~xypron/ubuntu/+source/rsyslog

Recent commits

96f77e6... by Heinrich Schuchardt

update-maintainer

Signed-off-by: Heinrich Schuchardt <email address hidden>

9384d91... by Heinrich Schuchardt

update-changelog

Signed-off-by: Heinrich Schuchardt <email address hidden>

9fcd531... by Heinrich Schuchardt

merge-changelogs

204ef04... by Heinrich Schuchardt

+ d/p/plugins-FromHost-must-be-63-characters-long.patch

Signed-off-by: Heinrich Schuchardt <email address hidden>

d35eb7e... by Heinrich Schuchardt

ubuntu: fix double free in tools/omusrmsg.c

omusrmsg frees a string which points to OS/system library memory. When
the os/libs clean up, it frees the memory as well. This results in a
double free.

d/p/omusrmsg-bugfix-potential-double-free-which-can-caus.patch

Signed-off-by: Heinrich Schuchardt <email address hidden>

e175f5c... by Heinrich Schuchardt

ubuntu: adjust sandboxing

While Debian runs the rsyslog service as root we use user syslog and group
syslog. The sandboxing rules that Debian added are not compatible with
this.

Remove:

- PrivateTmp=yes
- PrivateDevices=yes
- ProtectSystem=full
- ProtectKernelTunables=yes
- ProtectKernelModules=yes
- ProtectControlGroups=yes

Change:

- ProtectHome=yes -> ProtectHome=readonly

Signed-off-by: Heinrich Schuchardt <email address hidden>

cb73692... by Heinrich Schuchardt

ubuntu: add CAP_MAC_ADMIN, CAP_SETUID, CAP_SETGID

While Debian runs the rsyslog service as root we use user syslog and group
syslog. Dropping from root requires CAP_SETUID and CAP_SETGID.

CAP_MAC_ADMIN is needed for reloading the apparmor profile via
ExecStartPre.

Signed-off-by: Heinrich Schuchardt <email address hidden>

1796f65... by Lukas Märdian

Amend list of expected messages d/rsyslog.logcheck.ignore.server

to fix armhf autopkgtest (LP: #2028935)

12ad8fb... by Heinrich Schuchardt

ubuntu: fix debian/tests/logcheck - timing

When stopping rsyslogd allow some time to finish writing the log file.

Ensure that we evaluate the log written by rsyslogd and collected via
journalctl for the same time interval.

Signed-off-by: Heinrich Schuchardt <email address hidden>

817c030... by Heinrich Schuchardt

ubuntu: update debian/rsyslog.logcheck.ignore.server

The changes of the userid and the groupid when running rsyslogd.service are
new log messages.

Signed-off-by: Heinrich Schuchardt <email address hidden>