1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-14 23:24:38 +03:00
Martin Wilck bf25cf6c49 units: modprobe@.service: don't unescape instance name
modprobe treats "-" and "_" interchangeably, thereby avoiding frequent
errors because some module names contain dashes and others underscores.

Because modprobe@.service unescapes the instance name, an attempt to
start "modprobe@dm-crypt.service" will run "modprobe -abq dm/crypt",
which is doomed to fail. "modprobe@dm_crypt.service" will work as
expected. Thus unescaping the instance name has surprising side effects.
Use "%i" instead.
2023-10-21 11:41:22 +01:00
..
2022-07-20 13:15:37 +09:00
2023-08-22 23:20:14 +09:00
2022-02-23 06:54:54 +09:00