Received: from smtp-8fac.mail.infomaniak.ch (smtp-8fac.mail.infomaniak.ch [83.166.143.172]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id E9CB22234A3 for <~alpine/users@lists.alpinelinux.org>; Thu, 5 Jun 2025 13:30:17 +0000 (UTC) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [IPv6:2001:1600:4:17::246b]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4bClgW6kLyzc3C for <~alpine/users@lists.alpinelinux.org>; Thu, 5 Jun 2025 15:30:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fala.red; s=20230620; t=1749130215; bh=jbn6VJfLiEhuHe5lJKXYitzDeOoki8NIdcRmRPgJJVE=; h=Date:From:To:Subject:Reply-To:From; b=orlXjP35DCxtF3NBXngScTcIfqyI1hUqEAtMLrjNorfXXCiwlgVc8ejw0FtBLignj NanZULyLRukjPvUkWMJx2faUH3suwqveRxZjQPm37RjI6c0IQv7O23ssNB+83tCOG4 HE64wiiI8bjm9ud8q82cRD0n//kMx7srBzv5+RgEeJJFC2XIdzXr2j8mHuPMppgqo2 byXMf0jzp4YkMFzAX9cPkIWuQqpPF3H0KK/6PvarWeSEXKymldmoWXCAhAbM/PtCVn dEmvlu/S/qpc3b1+vINFF9/pdQCpP1jrH+0CJgEk41PPilwtc88V4TvQivJVxhw+hw p1sdr1f9zTJNw== Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4bClgW3Vmgz3Px for <~alpine/users@lists.alpinelinux.org>; Thu, 5 Jun 2025 15:30:15 +0200 (CEST) Date: Thu, 5 Jun 2025 15:30:14 +0200 From: Faustin Lammler To: ~alpine/users@lists.alpinelinux.org Subject: Starting applications with OpenRC user service Message-ID: Reply-To: faustin@fala.red MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QcoYKC8czGif1Ild" Content-Disposition: inline User-Agent: Mutt/2.2.14 (2025-02-20) X-Infomaniak-Routing: alpha --QcoYKC8czGif1Ild Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! I have recently upgraded to 3.22. First of all I am again super happy that it went so smooth! Everything is working out of the box (with some nice improvement like the higher resolution in ttys). Now I am trying to move some GUI starting application to OpenRC like suggested in the release note. I did not encounter any pb with kanshi or wlsunset. But pipewire or mako does not want to cooperate and in the case of pipewire I still need to launch it from sway config with `exec /usr/libexec/pipewire-launcher`. In the case or mako, which I spend some time to debug (it seems like something easier to debug than pipewire for me), I believe that an environment variable is missing. If I follow what's suggested in https://wiki.alpinelinux.org/wiki/Mako, the service does not start and gives the following error: | [..] daemon.info supervise-daemon[22575]: Child command line: /usr/bin/ma= ko | [..] daemon.err mako: Failed to connect to user bus: No such file or dire= ctory | [..] daemon.warn supervise-daemon[22311]: /usr/bin/mako, pid 22575, exite= d with return code 1 Which seems to be caused by openrc init script not being able to access the DBUS_SESSION_BUS_ADDRESS env variable. When I manually add the env variable into the init script, the service starts and is stable. After some research, apparently this seems to be under work upstream: https://github.com/OpenRC/openrc/discussions/779 https://github.com/OpenRC/openrc/pull/782 I know that the release note states that 'User services are currently experimental', but I thought I should share my findings. Cheers! --=20 Faustin GPG: F652 BCD1 1AA8 8975 F010 48A5 390A 2F27 832A 5C79 --QcoYKC8czGif1Ild Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE9lK80RqoiXXwEEilOQovJ4MqXHkFAmhBm+YACgkQOQovJ4Mq XHnJvg/+IP5ClEJYM5Ya5RFc58HHWVcuAvIVjjtQYvEg73ecCP1O/rvb4NbxQQZM 3jaIcmJw8Mk5yBNmIsKttz6T20dS7kM3H/KZFvJtisROm4nvML4ifmNrn219dmKx Z4BT/J+AnQlFmheAucDF+A1/jhFviz4JLDeGpV5LgrId+zqN2q6E6lAzpxW4OyWt 9a0y49fMxouin/CUa6/zYJ1n1BeP4ntv6e2iLKfQ1Tw5n3DCWr5KA9yNPCsMAODD e2gTOf12Jz19EP5t6U8TcIKC8MviMwtmwQ9ziCGZmaXMr98d2yQyH0kETOSnERNL sQ3VI54ocBOAXWc3Hvldwjh/yIZa4itye8uf0HvXFwG+Rb7HMXgO2rLGe87cvcF+ kyuPnNAMhiRBpiPx7r9UoNlyG2Vkk6fjMSuxFRHUprQCw3A2DM9raI3DAMTvZ+kJ OS0+LhN9GxWLIEOcSER3Xrivn/Gxs3qD4oCKEPEhUz7P8ZOv7xEstta+KeYurpJ/ kzgMqshbfdJSascGYLTzau/9AH5Ih0v9+2d+I4UbQB9eLyden+PBDbtgViYdDfyk OpcXGEPQ+/3MGPHwbRKIf5ZCCYDiScAdphWQbuhhboSA510Qgha3/zaIK2HOXUfM 2VWsFNI2RiYHjuFn1CdXKNI0TkciOFFf92ais165Cwp8fnjjYqg= =PCAz -----END PGP SIGNATURE----- --QcoYKC8czGif1Ild--