Public bug reported:

This applies to the HAProxy 2.8 package installed from the Noble 24.04
repos:

Distributor ID: Ubuntu
Description:    Ubuntu 24.04.3 LTS
Release:        24.04
Codename:       noble

HAProxy version 2.8.15-0ubuntu0.24.04.1 2025/10/08 -
https://haproxy.org/

When rebooting the OS, HAProxy may start before systemd-journald because
its service configuration does not have a dependency under the [Unit]
section on journald. This will cause a socket permission error when
writing the HTTP access log:

haproxy[44612]: [ALERT] (44612) : sendmsg()/writev() failed in logger
#1: Permission denied (errno=13)

As a workaround, a restart of journald and haproxy will solve the
problem, but if journald is the default logger service in Ubuntu 24.04,
I think this could be avoided by adding the proper dependencies under
the Unit service configuration.

[Unit]
After=systemd-journald.service
Requires=systemd-journald.service

** Affects: haproxy (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2133460

Title:
  haproxy for noble may start before systemd-journald

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/2133460/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to