22 Nov
2013
22 Nov
'13
00:24
https://bugzilla.novell.com/show_bug.cgi?id=851374 https://bugzilla.novell.com/show_bug.cgi?id=851374#c6 --- Comment #6 from Ruediger Oertel <ro@suse.com> 2013-11-22 00:24:24 UTC --- would this work for you ? not a clean implementation since it only works for "chkconfig --check $service" and not when also specifying runlevels, but it's a first step. > diff -u files/sbin/chkconfig /sbin/chkconfig --- files/sbin/chkconfig 2013-11-11 17:50:21.000000000 +0100 +++ /sbin/chkconfig 2013-11-22 01:20:32.215567897 +0100 @@ -624,7 +624,12 @@ exit 1 unless getreal_xinetd($s) ne ''; next; } - exit 1 unless $links{$l}->{$s}; + if (is_overriden_by_systemd($s, $root)) { + my $r = systemd_get_enabled($s, $root); + exit 1 if $r eq "off"; + } else { + exit 1 unless $links{$l}->{$s}; + } } exit 0; } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.