Bug #7479
closed
OpenSSH server configuration does not reload configurations
Added by Nicolas CHARLES almost 9 years ago.
Updated almost 9 years ago.
Description
If the configuration is changed by ssh configuration technique, the technique will run /usr/bin/startsrc -s sshd
But if the process already runs, it won't do anything (except complain).
the good solution, if the process is running , is to send -HUP signal to the process; otherwise to start it
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
- Subject changed from OpenSSH server configuration does not reload configuration on AIX 7 to OpenSSH server configuration does not reload configurations
Solution should be
/usr/bin/stopsrc -s ${service_name} && until /usr/bin/lssrc -s ${service_name} | ${paths.grep} -q inoperative; do ${paths.perl} -e 'select(undef,undef,undef,.25)'; done; /usr/bin/startsrc -s ${service_name}
as per
#7529
- Related to User story #7529: Add support for the SRC system on AIX for service management added
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/813
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.11.17, 3.0.12 and 3.1.5 which were released today.
Also available in: Atom
PDF