Bug 10672

Summary: chkconfig: Add compat symlinks for 3rd party scripts that rely on Fedora/RH locations of rc.d directories
Product: [ROSA-based products] ROSA Fresh Reporter: Mikhail Novosyolov <m.novosyolov>
Component: Preinstalled software in the ISOAssignee: ROSA Linux Bugs <bugs>
Status: VERIFIED FIXED QA Contact: ROSA Linux Bugs <bugs>
Severity: normal    
Priority: Normal CC: andrey.bondrov, pastordidi, v.potapov
Version: AllFlags: v.potapov: qa_verified+
andrey.bondrov: published+
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Platform: --- ROSA Vulnerability identifier:
RPM Package: ISO-related:
Bad POT generating: Upstream:

Description Mikhail Novosyolov 2020-05-19 14:43:26 MSK
********* QA ADVISORY **********

Fedora/RedHat use locations /etc/rc0.d/, /etc/rc1.d, ..., /etc/rc6.d, but ROSA uses /etc/rc.d/rc*.d

Some third-party scripts relied on that.

Example:
./install.sh from client-linux_x86_64_distribute_4.3.0-13077.tar.gz wrote:
"Unable to find rc*.d runlevels paths on your system. Probably your Linux distribution is not supported by ViPNet yet."
because it did not find /etc/rc*.d/

After this update it writes:
"Your Linux is supported"

Added compatibility symlinks /etc/rc*.d/ -> /etc/rc.d/rc*.d/

chkconfig 1.3.61-10
https://abf.io/build_lists/3350057
https://abf.io/build_lists/3350058
**********************************
Comment 1 Mikhail Novosyolov 2020-05-19 14:52:10 MSK
Example of package with SysVinit service to check: vsftpd

Пример пакета с сервисом SysVinit для проверки: vsftpd (поставить его из репозитория)

С обновленным chkconfig по командам systemctl enable vsftpd, systemctl disable vsftpd, systemctl start vsftpd должно корректно меняться состояние сервиса vsftpd, как до обновления.
Comment 2 Dmitry Postnikov 2020-05-20 14:41:48 MSK
**************************************
The update is sent to expanded testing
Comment 3 Vladimir Potapov 2020-05-25 17:13:27 MSK
chkconfig-1.3.61-10
https://abf.io/build_lists/3350057
https://abf.io/build_lists/3350058
******************************** Afvisory *******************************
Added compatibility symlinks /etc/rc*.d/ -> /etc/rc.d/rc*.d/
**************************************************************************
QA Verified