Bug #3900
closed
Postinstall script of rudder-inventory-endpoint display a warning about fail of rsyslog restart at first install on RHEL/CentOS
Added by Nicolas PERRON about 11 years ago.
Updated over 9 years ago.
Description
On RHEL/CentOS, during the first installation of rudde-inventory-endpoint, the postinstall try to reload rsyslog but display a warning:
[...]
Non-fatal POSTIN scriptlet failure in rpm package 1398866025:rudder-inventory-endpoint-2.7.2.rc1.git201309030601-1.EL.6.noarch
Reloading syslogd ...
warning: %post(rudder-inventory-endpoint-1398866025:2.7.2.rc1.git201309030601-1.EL.6.noarch) scriptlet failed, exit status 3
[...]
This happen after a reload of rsyslog but not if a restart is made.
It seems to be only a RHEL/CentOS bug since the code of /etc/init.d/rsyslog contains:
[...]
reload)
exit 3
;;
[...]
On Debian Wheezy, there is no more "reload" and the fix was to change it to "restart": #3176
Nicolas PERRON wrote:
It seems to be only a RHEL/CentOS bug since the code of /etc/init.d/rsyslog contains:
[...]
On Debian Wheezy, there is no more "reload" and the fix was to change it to "restart": #3176
I suggest to do the same for RPM
- Assignee set to Nicolas PERRON
- Target version set to 2.4.9
- Status changed from New to Pending technical review
- Assignee changed from Nicolas PERRON to Jonathan CLARKE
- % Done changed from 0 to 100
- Pull Request set to https://github.com/Normation/rudder-packages/pull/114
- Status changed from Pending technical review to Pending release
Applied in changeset commit:e0e6cfcdeaf3a2783370242341d42c971f2e5591.
Applied in changeset commit:9a165fc52c98a884111ed9f60c93ef4559690c90.
This bug has been fixed in Rudder 2.4.9, which was released today.
Check out:
- Status changed from Pending release to Released
- Project changed from 34 to Rudder
- Category set to Packaging
Also available in: Atom
PDF