Hello,

 

I am currently porting auditd to a new platform. When starting it using `auditd –f`, I get the following error:

 

“Error setting audit daemon pid (File exists)”

 

It occurs during the call to `audit_set_pid(fd, getpid(), WAIT_YES);` in auditd.c. If I understand correctly, this call registers auditd with the kernel, is that correct? fd looks like a valid file descriptor, at least its >0. Especially the “file exists” part confuses me. In which direction can I investigate that error?

 

Thank you and greets,

Felix

 

 

 

--

Mit freundlichen Grüßen/Best regards

Felix Wolff

Software Engineer

ESCRYPT-Logo_RGB

ESCRYPT GmbH

Wittener Straße 45

44789 Bochum, Germany

Email:        felix.wolff@escrypt.com

Phone:      +49 30 403 691 957

Mobile:     +49 1525 6953 720

www.escrypt.com

 

Managing directors: Christopher White, Dr.-Ing. Thomas Wollinger

Registered office and court of registry: Bochum, Germany, HRB 7877