openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.94k stars 3.45k forks source link

syslog-ng: conflicts with logd package #22451

Open myszsoda opened 10 months ago

myszsoda commented 10 months ago

Maintainer: @BKPepe Environment: aarch64, snapshot on 19.10.2023; but issue applies to all versions

Description: There is a problem with syslog-ng package which has its own logread script to read logs. But this package does conflict with core package logd which has its own logread and it is possible to select both of them. Thus, I propose to either add CONFLICTS between syslog-ng and logd package or implement PROVIDES for both of them like https://github.com/myszsoda/packages/commit/f680a11fafb1b08f63f96eb5fa2030d12bf7f100

I can implement this, but would like to ask opinion which would be preferred.

BKPepe commented 10 months ago

Hi,

Hmm, it might works, but that's not a solution. I will look into it.

Dne čt 19. 10. 2023 17:07 uživatel Jakub Raczynski @.***> napsal:

Maintainer: @BKPepe https://github.com/BKPepe Environment: aarch64, snapshot on 19.10.2023; but issue applies to all versions

Description: There is a problem with syslog-ng package which has its own logread script to read logs. But this package does conflict with core package logd which has its own logread and it is possible to select both of them. Thus, I propose to either add CONFLICTS between syslog-ng and logd package or implement PROVIDES for both of them like @.*** https://github.com/myszsoda/packages/commit/f680a11fafb1b08f63f96eb5fa2030d12bf7f100

I can implement this, but would like to ask opinion which would be preferred.

— Reply to this email directly, view it on GitHub https://github.com/openwrt/packages/issues/22451, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7IDVFTBLEXVLNRSFFI4RDYAE623AVCNFSM6AAAAAA6HL43BCVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2TENBZGIYTSOA . You are receiving this because you were mentioned.Message ID: @.***>

Rondom commented 6 months ago

This issue seems to be a duplicate of #11535

I have submitted a PR here. https://github.com/openwrt/packages/pull/23401 It might be more a workaround than solution, but it is better than the current state of things.

stokito commented 6 months ago

I added a fix for this to my older PR for the syslog-ng https://github.com/openwrt/packages/pull/22763 Please check it.

Rondom commented 6 months ago

Thanks