snapd uses "never" in systemd unit files when it should be using "no"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Kyle Fazzari | ||
snapd (Ubuntu) |
Fix Released
|
High
|
Kyle Fazzari |
Bug Description
Here's a .service file from my system for a service with `restart-condition: never` in the YAML (note the Restart=never):
[Unit]
# Auto-generated, DO NO EDIT
Description=Service for snap application data-writer.service
After=snapd.
Requires=
X-Snappy=yes
[Service]
ExecStart=
Restart=never
WorkingDirector
Environment=
TimeoutStopSec=30
Type=simple
[Install]
WantedBy=
Changed in snapcraft: | |
status: | New → Confirmed |
Changed in snapcraft: | |
status: | Confirmed → Fix Committed |
milestone: | none → 2.13 |
Changed in snapd (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
Changed in snapd (Ubuntu): | |
status: | Fix Committed → Fix Released |
I am also affected by this bug.
I can confirm.