From: Lennart Poettering Date: Mon, 27 Sep 2010 22:28:16 +0000 (+0200) Subject: service: ignore sysv $null service X-Git-Tag: v11~61 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb33e400006806676baac91fb297185b179931c7;p=systemd service: ignore sysv $null service --- diff --git a/fixme b/fixme index 09ea3a65..f11d0e01 100644 --- a/fixme +++ b/fixme @@ -101,8 +101,6 @@ * readahead: btrfs/LVM SSD detection -* handle $null LSB header - * LSB provides should only create targets, never aliases * d /var/run/screen 0755 root utmp diff --git a/src/service.c b/src/service.c index 5706d7c4..6a4d350c 100644 --- a/src/service.c +++ b/src/service.c @@ -280,6 +280,10 @@ static int sysv_translate_facility(const char *name, char **_r) { unsigned i; char *r; + /* SuSE insserv extension */ + if (streq(name, "$null")) + return 0; + for (i = 0; i < ELEMENTSOF(table); i += 2) if (streq(table[i], name)) { if (!(r = strdup(table[i+1])))