Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
steam
systemd
Commits
a049efa4
Commit
a049efa4
authored
Mar 01, 2014
by
Michael Stapelberg
Browse files
ignore chkconfig headers entirely, they are often broken in Debian
closes #634472
parent
c969fb1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
a049efa4
...
...
@@ -14,6 +14,8 @@ systemd (204-8) UNRELEASED; urgency=low
systemd
-
detect
-
virt
,
so
that
it
works
for
unprivileged
users
.
(
Closes
:
#
739699
)
*
pam
:
Check
$
XDG_RUNTIME_DIR
owner
(
Closes
:
#
731300
)
*
Ignore
chkconfig
headers
entirely
,
they
are
often
broken
in
Debian
(
Closes
:
#
634472
)
[
Michael
Biebl
]
*
do
a
one
-
time
migration
of
RAMTMP
=
from
/
etc
/
default
/
rcS
and
...
...
src/core/service.c
View file @
a049efa4
...
...
@@ -628,6 +628,9 @@ static int service_load_sysv_path(Service *s, const char *path) {
/* Try to parse Red Hat style chkconfig headers */
/* chkconfig headers are often broken in Debian, see
* http://bugs.debian.org/634472, so we ignore them entirely. */
#if 0
if (startswith_no_case(t, "chkconfig:")) {
int start_priority;
char runlevels[16], *k;
...
...
@@ -669,7 +672,10 @@ static int service_load_sysv_path(Service *s, const char *path) {
s->sysv_runlevels = d;
}
}
else
if
(
startswith_no_case
(
t
,
"description:"
))
{
} else
#endif
if
(
startswith_no_case
(
t
,
"description:"
))
{
size_t
k
=
strlen
(
t
);
char
*
d
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment