Public bug reported:

In Xenial, the file /etc/default/sssd included in package sssd-common
sets the DAEMON_OPTS variable to be used as command line parameters to
the sssd binary. This is used by the upstart sssd service.

However, the systemd sssd service does not read this file. It tries to
read /etc/sysconfig/sssd in the EnvironmentFile directive. The fix is
simple:

1. Modify debian/rules to configure the package with "--with-
environment-file=/etc/default/sssd" (default is /etc/sysconfig/sssd).
This will propagate to the produced sssd.service file.

2. Modify the sssd.service template to use the variable by changing the
line:

     ExecStart=/usr/sbin/sssd -D -f

   to:

     ExecStart=/usr/sbin/sssd $DAEMON_OPTS

** Affects: sssd (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/1587395

Title:
  systemd sssd.service does not read /etc/default/sssd

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to