Skip to content

[BUG] Supervised systemd option not working with keydb 6.2 #352

@tchernomax

Description

@tchernomax

Describe the bug

It the same bug as #226

basicaly --supervised systemd doesn't work.

To reproduce

# echo "deb https://download.keydb.dev/open-source-dist $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/keydb.list
# wget -O /etc/apt/trusted.gpg.d/keydb.gpg https://download.keydb.dev/open-source-dist/keyring.gpg
# apt update
# apt install keydb
# systemctl stop keydb-server.service
# mkdir -p /etc/systemd/system/keydb-server.service.d/
# cat <<END > /etc/systemd/system/keydb-server.service.d/override.conf
[Service]
Type=notify
ExecStart=
ExecStart=/usr/bin/keydb-server /etc/keydb/keydb.conf --supervised systemd --daemonize no
ExecStop=
PIDFile=
TimeoutStartSec=30
TimeoutStopSec=30
Restart=no
END
# systemctl daemon-reload
# systemctl start keydb-server.service
Job for keydb-server.service failed because a timeout was exceeded.
See "systemctl status keydb-server.service" and "journalctl -xe" for details.

Expected behavior

--supervised systemd should be working.

Additional information

# dpkg -l keydb\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version           Architecture Description
+++-==============-=================-============-==================================================================
ii  keydb          6:6.2.0-1+deb10u1 all          Persistent key-value database with network interface (metapackage)
ii  keydb-server   6:6.2.0-1+deb10u1 amd64        Persistent key-value database with network interface
ii  keydb-tools    6:6.2.0-1+deb10u1 amd64        Persistent key-value database with network interface (client)

# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions