Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
aaa_base
git-16-c3faa6cbc3a2b62c616104dbdaf9c5d04f278c99...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File git-16-c3faa6cbc3a2b62c616104dbdaf9c5d04f278c99.patch of Package aaa_base
commit c3faa6cbc3a2b62c616104dbdaf9c5d04f278c99 Author: Ludwig Nussel <ludwig.nussel@suse.de> Date: Mon Dec 21 14:34:12 2015 +0100 avoid recursion if systemd call chkconfig back for sysv units diff --git a/files/usr/bin/chkconfig b/files/usr/bin/chkconfig index 3879638..4b7e4c0 100755 --- a/files/usr/bin/chkconfig +++ b/files/usr/bin/chkconfig @@ -4,6 +4,12 @@ use strict; use Getopt::Long; use File::Temp 'tempfile'; +# avoid recursion if systemd calls us back for sysv units. +if ($ENV{CHKCONFIG_RECURSIVE_CALL}) { + exit 0; +} +$ENV{CHKCONFIG_RECURSIVE_CALL} = 1; + my $initdir = '/etc/init.d'; my $inetddir = '/etc/inetd.d'; my $xinetddir = '/etc/xinetd.d';
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor