[4.0.4] Equal sign is not allowed in a command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Triaged
|
Wishlist
|
Unassigned | ||
snapd |
Confirmed
|
Wishlist
|
Samuele Pedroni |
Bug Description
I believe '=' used to be allowed in earlier versions of snapcraft but now it is not:
Failed to generate snap metadata: The specified command 'ovs-wrapper $SNAP/share/
The command must consist only of alphanumeric characters, spaces, and the following special characters: / . _ # : $ -
The equal sign is often used in command line arguments:
ovs-vswitchd:
command: ovs-wrapper $SNAP/share/
stop-command: ovs-wrapper $SNAP/share/
after: [ovsdb-server]
daemon: forking
plugs:
- network
- network-bind
- network-control
- openvswitch-support
- process-control
- system-trace
- microstack-support
This is correct, one of the goals of core20 was to get rid of wrappers, to do so, we now only allow a command entry that snapd would accept. So this is essentially a snapd feature request.