Версия пакета: loki-2.6.1-alt1 Шаги воспроизведения: # apt-get install loki # systemctl start loki Получаемый результат: Сервис не запускается. В логах ошибки: systemd[1]: Starting Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system... loki[6714]: level=info ts=2022-08-30T13:52:36.427003837Z caller=main.go:68 msg="config is valid" systemd[1]: Started Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system. loki[6721]: level=info ts=2022-08-30T13:52:36.513679576Z caller=main.go:103 msg="Starting Loki" version="(version=2.6.1, branch=master, revision=alt1)" loki[6721]: level=info ts=2022-08-30T13:52:36.514305832Z caller=server.go:288 http=[::]:3100 grpc=[::]:9095 msg="server listening on addresses" loki[6721]: level=warn ts=2022-08-30T13:52:36.517075921Z caller=experimental.go:20 msg="experimental feature in use" feature="In-memory (FIFO) cache - chunksfifocache" loki[6721]: level=info ts=2022-08-30T13:52:36.519576504Z caller=table_manager.go:252 msg="query readiness setup completed" duration=29.87µs distinct_users_len=0 loki[6721]: level=info ts=2022-08-30T13:52:36.519742027Z caller=shipper.go:124 msg="starting index shipper in RW mode" loki[6721]: level=info ts=2022-08-30T13:52:36.520272257Z caller=shipper_index_client.go:79 msg="starting boltdb shipper in RW mode" loki[6721]: level=info ts=2022-08-30T13:52:36.520527124Z caller=table_manager.go:134 msg="uploading tables" loki[6721]: level=info ts=2022-08-30T13:52:36.52116414Z caller=table_manager.go:167 msg="handing over indexes to shipper" loki[6721]: creating WAL folder at "/wal": mkdir wal: permission denied loki[6721]: error initialising module: ingester loki[6721]: github.com/grafana/dskit/modules.(*Manager).initModule loki[6721]: /usr/src/RPM/BUILD/loki-2.6.1/vendor/github.com/grafana/dskit/modules/modules.go:122 loki[6721]: github.com/grafana/dskit/modules.(*Manager).InitModuleServices loki[6721]: /usr/src/RPM/BUILD/loki-2.6.1/vendor/github.com/grafana/dskit/modules/modules.go:92 loki[6721]: github.com/grafana/loki/pkg/loki.(*Loki).Run loki[6721]: /usr/src/RPM/BUILD/loki-2.6.1/pkg/loki/loki.go:341 loki[6721]: main.main loki[6721]: /usr/src/RPM/BUILD/loki-2.6.1/cmd/loki/main.go:105 loki[6721]: runtime.main loki[6721]: /usr/lib/golang/src/runtime/proc.go:250 loki[6721]: runtime.goexit loki[6721]: /usr/lib/golang/src/runtime/asm_amd64.s:1571 loki[6721]: level=error ts=2022-08-30T13:52:36.524200084Z caller=log.go:103 msg="error running loki" err="creating WAL folder at \"/wal\": mkdir wal: permission denied\nerror initialising module: ingester\ngithub.com/grafana/dskit/modules.(*Manager).initModule\n\t/usr/src/RPM/BUILD/loki-2.6.1/vendor/github.com/grafana/dskit/modules/modules.go:122\ngithub.com/grafana/dskit/modules.(*Manager).InitModuleServices\n\t/usr/src/RPM/BUILD/loki-2.6.1/vendor/github.com/grafana/dskit/modules/modules.go:92\ngithub.com/grafana/loki/pkg/loki.(*Loki).Run\n\t/usr/src/RPM/BUILD/loki-2.6.1/pkg/loki/loki.go:341\nmain.main\n\t/usr/src/RPM/BUILD/loki-2.6.1/cmd/loki/main.go:105\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:250\nruntime.goexit\n\t/usr/lib/golang/src/runtime/asm_amd64.s:1571" systemd[1]: loki.service: Main process exited, code=exited, status=1/FAILURE systemd[1]: loki.service: Failed with result 'exit-code'. systemd[1]: loki.service: Scheduled restart job, restart counter is at 5. systemd[1]: Stopped Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system. systemd[1]: loki.service: Start request repeated too quickly. systemd[1]: loki.service: Failed with result 'exit-code'. systemd[1]: Failed to start Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system. Ошибка не воспроизводится в p10 (версия 2.1.0-alt1)
* Tue Aug 30 2022 Alexey Shabalin <shaba@altlinux.org> 2.6.1-alt2 - update loki config (Fixes: ALT#43661)