Kentaro Hayashi
Kentaro Hayashi
NOTE: ``` 16.52 16.52 The following packages have unmet dependencies: 16.58 cmake : Depends: cmake-data (= 3.28.3-1build5) but it is not going to be installed 16.59 E: Unable to correct...
> arm64v8/ubuntu:noble cause an error. It seems that this issue was resolved.
It may be better to implement such a guard feature in fluentd not fluent-package-builder.
https://github.com/fluent/fluentd/blob/master/lib/fluent/command/fluentd.rb#L343 It is enough to guard before starting service appropriately. :thinking:
Use case on Windows: * Already started fluentd as a service (fluentd) * Launch Fluent Package Prompt with Administrator privilege * Execute another instance via fluentd -v If fluentdopt is...
PoC PR for this issue. https://github.com/fluent/fluentd/pull/4399 Not stable yet because the guard condition fires unexpectedly.
> Reconsider, it is not appropriate to introduce package specific fix to fluentd internals. 🤔
* Linux: guard in template fluent-package/templates/usr/sbin/fluentd.erb * Windows: guard in assets fluent-package/msi/assets/fluentd.bat
> However, /usr/sbin/fluentd sets the FLUENT_CONF environmental var. So, the same configuration is used by default. Yes, so fixed via #622.
both of PR was ready for review. https://github.com/fluent/fluent-package-builder/pull/617 https://github.com/fluent/fluent-package-builder/pull/622