remove

On Tue, Aug 5, 2025 at 12:04 AM lid gnulinux <[email protected]> wrote:

> We may face a problem when packaging dbus. There is known issue
> for dbus-daemon-launch-helper permission and ownership (the symbolic link
> won't follow the permission and ownership). I have a simple fix / patch for
> the problem. We can patch the dbus post-install file:
>
> --- post-install 2025-03-23 07:43:42.070928037 +0700
> +++ post-install.new 2025-08-05 09:49:24.771005850 +0700
> @@ -2,6 +2,10 @@
>  # To validate UUIDs (Universally Unique IDs)
>  chroot "$rootdir" /usr/bin/dbus-uuidgen --ensure 2> /dev/null
>
> +# fix permission and ownership on symlink
> +chmod 4750 "${rootdir}/usr/libexec/dbus-daemon-launch-helper"
> +chown -h root:messagebus
> "${rootdir}/usr/libexec/dbus-daemon-launch-helper"
> +
>  # Make symlink for compatibility at /etc
>  mkdir -p -- "${rootdir}/var/lib/dbus"
>  chown -- messagebus "${rootdir}/var/lib/dbus"
>
> Tested on my machine.
>


-- 
Juan Federico Martinez <https://www.linkedin.com/in/juanfedericomartinez/>
+59894761558
FedericoMartinez.com.ar  <http://FedericoMartinez.com.ar>

Reply via email to