- also track quilt series file to make it easy to setup a quilt
working copy
- also make the config file permissions more strict:
/etc/loki/loki.yaml root:loki u=rw,g=r,o=
/etc/loki/promtail.yaml root:root u=rw,g=r,o=
- default configs reference paths in /tmp. move those to proper
places:
loki data dir: /var/lib/loki loki:loki u=rwx,g=rx,o=
promtail data dir: /var/lib/promtail root:root u=rwx,g=rx,o=
Existing configs will not be updated
Added proper-data-directories.patch
OBS-URL: https://build.opensuse.org/request/show/986061
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=17
- Update to version 2.5.0+git.1649366683.2d9d0ee23:
- Use BuildRequires: golang(API) = 1.17 instead of >=,
because with go1.18 it stop mmediately and rise up an error:
"panic: Something in this program imports go4.org/unsafe/assume-no-moving-gc to declare that it
assumes a non-moving garbage collector, but your version of go4.org/unsafe/assume-no-moving-gc
hasn't been updated to assert that it's safe against the go1.18 runtime. If you want to risk it,
run with environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.18 set.
Notably, if go1.18 adds a moving garbage collector, this program is unsafe to use."
OBS-URL: https://build.opensuse.org/request/show/978659
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/loki?expand=0&rev=15