ubuntu-18.04rebootincron

incron - table for invalid user - after reboot - ubuntu 18.04


I use incron to check what happen on several folder outside of user's home, like:

/folder/tmp/pdf-writer-work/AD_User_Login IN_MOVED_TO pdf-firefox "$#"
/folder/tmp/pdf-writer-alert/AD_User_Login IN_CREATE pdf-writer-alert "$#"

My user is allow in /etc/incron.allow All folder right look's good, it's working when I manually restarting incron.

After a reboot, I have this message in syslog:

incrond[961]: table for invalid user AD_User_Login found (ignored)

If I restart again incron everything work's fine

Few things, my users are on a Active Directory, so I use sss for login. My users's home are encrypted too before login.

Any idea ?

Thank for help


Solution

  • Thanks for your answer, it's help me. After a wild I work on it again. So I'm done it by

    systemctl edit incron.service
    

    and put :

    [Unit]
    After=sssd.service
    

    Then restarting systemd

    systemctl daemon-reload
    

    Regards