e2fsprogs/scrub
Darrick J. Wong e6a3faa237 e2scrub: fix systemd escaping again
Apparently newer versions of systemd than the one on this author's
laptop <cough> now complain about lack of (path) escaping in unit
instance variable contents:

 # e2scrub_all
 Scrubbing /home...
 Invalid unit name "e2scrub@/home" was escaped as "e2scrub@-home"
 (maybe you should use systemd-escape?)
 Starting Online ext4 Metadata Check for /home...

So change the escape_path_for_systemd function to escape paths
unconditionally to make the warning go away.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2018-11-15 14:20:35 -05:00
..
e2scrub_all_cron.in e2scrub: add service (cron, systemd) support 2018-08-05 14:59:40 -04:00
e2scrub_all.8.in e2scrub: create a script to scrub all ext* filesystems 2018-08-05 14:43:12 -04:00
e2scrub_all.cron.in e2scrub: add service (cron, systemd) support 2018-08-05 14:59:40 -04:00
e2scrub_all.in e2scrub: fix systemd escaping again 2018-11-15 14:20:35 -05:00
e2scrub_all.service.in e2scrub: add service (cron, systemd) support 2018-08-05 14:59:40 -04:00
e2scrub_all.timer.in e2scrub: add service (cron, systemd) support 2018-08-05 14:59:40 -04:00
e2scrub_fail.in e2scrub: add service (cron, systemd) support 2018-08-05 14:59:40 -04:00
e2scrub_fail@.service.in e2scrub: add service (cron, systemd) support 2018-08-05 14:59:40 -04:00
e2scrub_reap.service.in e2scrub: add service (cron, systemd) support 2018-08-05 14:59:40 -04:00
e2scrub.8.in e2scrub: create online fsck tool of sorts 2018-08-05 14:43:12 -04:00
e2scrub.conf.in e2scrub: create a script to scrub all ext* filesystems 2018-08-05 14:43:12 -04:00
e2scrub.in e2scrub: add service (cron, systemd) support 2018-08-05 14:59:40 -04:00
e2scrub.rules.in e2scrub: create online fsck tool of sorts 2018-08-05 14:43:12 -04:00
e2scrub@.service.in e2scrub: add service (cron, systemd) support 2018-08-05 14:59:40 -04:00
Makefile.in e2scrub: fix makefile MKINSTALLDIRS -> MKDIR_P 2018-09-06 11:57:01 -04:00