CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.
The %config(no-replace) does not work for a file that does not yet
exist. The difficulty here is that the logrotate file name is changing from
/etc/logrotate.d/syslog
to
/etc/logrotate.d/syslog-ng
With the current packaging I would have to "configure" all of my hosts
with the new configuration file BEFORE the syslog-ng package gets
updated. It's doable, but not desirable.
Evan.
On 6/16/20 7:31 AM, Fabien Wernli wrote:
> On Tue, Jun 16, 2020 at 07:29:24AM -0700, Evan Rempel wrote:
>> This process will remove my custom /etc/logrotate.d/syslog file and create a
>> new default /etc/logrotate.d/syslog-ng
> IIRC you can configure the specfile to not overwrite config files with a %
> directive, something like %config(no-replace) or similar
>
______________________________________________________________________________
Member info:
https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.balabit.hu%2Fmailman%2Flistinfo%2Fsyslog-ng&data=02%7C01%7CPeter.Czanik%40oneidentity.com%7C82080983250a4bdc46e108d812032891%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637279152064315728&sdata=iNnlY5hMR8LTf5H9R1C5SFxs9CNojqszPYFrTemAw4Y%3D&reserved=0
Documentation:
https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fsupport%2Fdocumentation%2F%3Fproduct%3Dsyslog-ng&data=02%7C01%7CPeter.Czanik%40oneidentity.com%7C82080983250a4bdc46e108d812032891%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637279152064315728&sdata=B7jzlQxBsIyK%2Bw1bBRl%2FE2nPG02YgW%2BSPLieENhnSw4%3D&reserved=0
FAQ:
https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fwiki%2Fsyslog-ng-faq&data=02%7C01%7CPeter.Czanik%40oneidentity.com%7C82080983250a4bdc46e108d812032891%7C91c369b51c9e439c989c1867ec606603%7C0%7C0%7C637279152064315728&sdata=dv3nIRUp5tZyaYFIqNRfZiavAoT6dxkSj%2FFs%2FRZk3HQ%3D&reserved=0