Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHILD: Pass information about logger to children #441

Closed
wants to merge 3 commits into from

Commits on Nov 7, 2017

  1. BUILD: Properly expand variables in sssd-ifp.service

    systemd[1]: [/usr/lib/systemd/system/sssd-ifp.service:9]
        Path '-@environment_file@' is not absolute, ignoring.
    
    sh-4.2# systemctl cat sssd-ifp.service
     # /usr/lib/systemd/system/sssd-ifp.service
    [Unit]
    Description=SSSD IFP Service responder
    Documentation=man:sssd-ifp(5)
    After=sssd.service
    BindsTo=sssd.service
    
    [Service]
    Environment=DEBUG_LOGGER=--logger=files
    EnvironmentFile=-@environment_file@
    Type=dbus
    BusName=org.freedesktop.sssd.infopipe
    ExecStart=/usr/libexec/sssd/sssd_ifp --uid 0 --gid 0 --dbus-activated ${DEBUG_LOGGER}
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/3433
    Lukas Slebodnik committed Nov 7, 2017
    Copy the full SHA
    699327f View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2017

  1. SYSTEMD: Clean pid file in corner cases

    SSSD can cleanup pid file in case of standard stopping of daemon.
    It's done in function monitor_cleanup. However monitor does not have a
    change to cleanup file in case of OOM or sending SIGKILL to monitor.
    
    Even though PIDFile is not necessary for services with Type notify
    we should let systemd to clean this file in unexpected situations.
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/3528
    Lukas Slebodnik committed Nov 8, 2017
    Copy the full SHA
    47d7978 View commit details
    Browse the repository at this point in the history
  2. CHILD: Pass information about logger to children

    Variables debug_to_file or debug_to_stderr were not set
    because back-end already user parameter --logger=%s.
    And therefore logs were not sent to files.
    
    It could only work in case of direct usage of --debug-to-files in back-end via
    command configuration option.
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/3433
    Lukas Slebodnik committed Nov 8, 2017
    Copy the full SHA
    dc4f6af View commit details
    Browse the repository at this point in the history