mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +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
|