mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +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
242 B
Desktop File
9 lines
242 B
Desktop File
[Unit]
|
|
Description=Test for SystemCallFilter with errno name
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
|
|
Type=oneshot
|
|
SystemCallFilter=~uname:EILSEQ
|
|
SystemCallErrorNumber=EACCES
|