mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
![Yu Watanabe](/assets/img/avatar_default.png)
Change python3 path from /bin/python3 to /usr/bin/python3 to make the test work on Ubuntu Xenial. Follow-up for #7178.
9 lines
224 B
Desktop File
9 lines
224 B
Desktop File
[Unit]
|
|
Description=Test for SystemCallErrorNumber
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/python3 -c 'import os\ntry: os.uname()\nexcept Exception as e: exit(e.errno)'
|
|
Type=oneshot
|
|
SystemCallFilter=~uname
|
|
SystemCallErrorNumber=EACCES
|