mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-27 03:21:32 +03:00
7f749487c5
Change python3 path from /bin/python3 to /usr/bin/python3 to make the test work on Ubuntu Xenial. Follow-up for #7178.
9 lines
241 B
Desktop File
9 lines
241 B
Desktop File
[Unit]
|
|
Description=Test for SystemCallFilter with errno number
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
|
|
Type=oneshot
|
|
SystemCallFilter=~uname:255
|
|
SystemCallErrorNumber=EACCES
|