| Summary: | add-syslog errors out if rsyslog is not installed | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Dan Fandrich <dan> |
| Component: | RPM Packages | Assignee: | All Packagers <pkg-bugs> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | mageia, tmb |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | MGA9TOO | ||
| Source RPM: | rpm-helper-0.24.17-4.mga6.src.rpm | CVE: | |
| Status comment: | |||
Assigning to packagers collectively since there is no registered maintainer for this package. Adding Colin and Thomas in CC because they were the last active packagers on this package. CC:
(none) =>
mageia, tmb This exact problem still occurs on openldap-servers-2.5.14-1.mga9.x86_64 and rpm-helper-0.24.22-1.mga9 Whiteboard:
(none) =>
MGA9TOO |
The following error message appears upon installation of openldap-servers-2.4.40-3.1.mga5: Can't open /etc/rsyslog.d/openldap.conf for writing: No such file or directory at /usr/share/rpm-helper/add-syslog line 57. rsyslog is not installed on this system so /etc/rsyslog.d/ does not exist. Line 57 of add-syslog is: open(my $out, '>', "/etc/rsyslog.d/$package.conf") or die "Can't open /etc/rsyslog.d/$package.conf for writing: $!"; So, under such circumstances, the /etc/rsyslog.d/openldap-servers.conf file is not created. If rsyslog is subsequently installed, its configuration will not exist and logging will not be correct. This error exists currently both in mga5 (rpm-helper-0.24.17-1.mga5.src.rpm) and Cauldron. Reproducible: Steps to Reproduce: