Bug 1187098

Summary: Systemd's script requires 'chckonfig' command yet the package containing it is not available
Product: [openSUSE] openSUSE Tumbleweed Reporter: Amanda 99 <amanda99>
Component: OtherAssignee: systemd maintainers <systemd-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: fbui
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Amanda 99 2021-06-09 09:09:37 UTC
Hi!

I've got an error during configuration of resilio-sync (commercial, 3rd party app) during the 

 sudo systemctl enable resilio-sync.service 
Synchronizing state of resilio-sync.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable resilio-sync
/usr/lib/systemd/systemd-sysv-install: line 31: chkconfig: command not found


rpm -qf /usr/lib/systemd/systemd-sysv-install 
systemd-246.13-2.1.x86_64


sudo zypper search --provides chckonfig

gives no results.

TIA,
A99
Comment 1 Amanda 99 2021-06-09 09:11:06 UTC
sudo zypper lr
Repository priorities are without effect. All enabled repositories share the same priority.

#  | Alias               | Name                           | Enabled | GPG Check | Refresh
---+---------------------+--------------------------------+---------+-----------+--------
 1 | microsoft-edge-beta | microsoft-edge-beta            | Yes     | (r ) Yes  | Yes
 2 | openSUSE-20210604-0 | openSUSE-20210604-0            | No      | ----      | ----
 3 | repo-debug          | openSUSE-Tumbleweed-Debug      | No      | ----      | ----
 4 | repo-non-oss        | openSUSE-Tumbleweed-Non-Oss    | Yes     | (r ) Yes  | Yes
 5 | repo-oss            | openSUSE-Tumbleweed-Oss        | Yes     | (r ) Yes  | Yes
 6 | repo-source         | openSUSE-Tumbleweed-Source     | No      | ----      | ----
 7 | repo-update         | openSUSE-Tumbleweed-Update     | Yes     | (r ) Yes  | Yes
 8 | resilio-sync        | resilio-sync                   | Yes     | ( p) Yes  | Yes
 9 | snappy              | snappy                         | Yes     | (r ) Yes  | Yes
10 | sublime-text        | Sublime Text - x86_64 - Stable | Yes     | (r ) Yes  | Yes
Comment 2 Franck Bui 2021-06-09 12:53:29 UTC
This is a duplicate of bsc#1186359 and should be fixed when systemd v248 will be released.

Sorry for the inconvenience.

*** This bug has been marked as a duplicate of bug 1186359 ***
Comment 3 Franck Bui 2021-06-09 12:58:49 UTC
Meanwhile if you need to enable the SysV init script, you can do something like the following:

 # ln -s ../resilio-sync /etc/init.d/rc3.d/
Comment 4 Amanda 99 2021-06-09 22:35:54 UTC
thanks, 
i've worked around by (In reply to Franck Bui from comment #3)
> Meanwhile if you need to enable the SysV init script, you can do something
> like the following:
> 
>  # ln -s ../resilio-sync /etc/init.d/rc3.d/

thanks, I've worked around it by commenting out the lines 29 upwards, as it was suggested in one of the comments to the bug mine is a duplicate of.

Thanks