Commit Graph

10 Commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek
eb00aaa037 Add more syscalls to the allow list (fixes #2022961)
It tried to debug this, but it's not easy. Things happen very early in
glibc initialization, too quickly after fork for strace to show. After looking
at the changes in glibc, the reason why mprotect(2) seems easy, I also filed a
pull request to add it to @default filter in systemd. setsid is called from the
daemonization code, but I'm not sure why it didn't cause an issue earlier. Either
new syscalls are called, or something changed in error handling…
2021-11-13 16:17:26 +01:00
Zbigniew Jędrzejewski-Szmek
b163339baf Use a systemd sandbox for the gpm service
The sandbox is designed to allow standard select&paste operation on
the text console. More fancy uses of gpm are unlikely to work, but
that's on purpose: the only thing that people should be using gpm for
is the occasional text copying when they land in rescue mode.

This serves as an alternative to [1]. The replacement policy is probably
stricter in some regards, while less strict in others… But I think it's
much less magic and should be easier to maintain.

[1] https://src.fedoraproject.org/rpms/gpm/pull-request/4
2021-09-08 17:09:42 +02:00
Zbigniew Jędrzejewski-Szmek
d6d037f553 Use ConditionVirtualization to skip the service in containers 2020-06-24 23:16:38 +02:00
Sérgio M. Basto
ead099da0e updating /var/run/gpm.pid → /run/gpm.pid (rhbz #1692104) 2019-03-24 19:01:50 +00:00
Zbigniew Jędrzejewski-Szmek
a8dd73e98a Remove obsolete config from service file
systemd-journald is now early in boot so "syslog" is always available,
and there is no need to override logging from system defaults.
2015-11-22 21:28:57 -05:00
Nikola Pajkovsky
032fe797f4 Incomplete systemd service file for gpm and fix url
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
2010-10-25 13:05:15 +02:00
Nikola Pajkovsky
100655d4ea disable debuging mode in gpm.service
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
2010-10-18 16:33:19 +02:00
Nikola Pajkovsky
8ea10cca9a add systemd unit
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
2010-08-19 11:35:33 +02:00
Nikola Pajkovsky
2f6a6e04b1 Revert "Providing native systemd file for upcoming F14 Feature Systemd"
This reverts commit d3732f1270.
2010-08-19 10:46:53 +02:00
Nikola Pajkovsky
d3732f1270 Providing native systemd file for upcoming F14 Feature Systemd
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
2010-08-11 16:13:24 +02:00