difficulties running cf-execd #5469
Replies: 3 comments 9 replies
-
Hello @LucVereecken, how did you install CFEngine? Did you build from source? Or installed one of our prebuilt packages? Enterprise or community? |
Beta Was this translation helpful? Give feedback.
-
@olehermanse I narrowed down in which version of CFEngine the problem starts: |
Beta Was this translation helpful? Give feedback.
-
@olehermanse I finally found time to create a test case, using Opensuse Leap 15.5. It' very simple:
Once logged in as root, I first did a "cf-agent --bootstrap localhost", but that is not necessary. I then created skeleton files in /var/cfengine/inputs : File ; /var/cfengine/inputs/promises.cf
File /var/cfengine/inputs/update.cf :
As you can see, this actually does nothing. Running cf-promises gives no errors. Then running "cf-execd –no-fork –once" yields
Then, comment out the "domain" directive, run the cf-execd command again. This will run without errors. |
Beta Was this translation helpful? Give feedback.
-
I'm having difficulties running cf-execd (CFEngine Core 3.21.0). The logfile it tries to create in /var/cfengine/outputs has too long a filename.
This is what shows up in the output:
error: Couldn't open '/var/cfengine/outputs/cf________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________node0420___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________jukinet_fz_juelich_de__1710172596_Mon_Mar_11_16_56_36_2024_0x7ff5ba697740' - aborting exec. (fopen: File name too long)
there are obviously too many underscores in the part where it should just be the fully qualified node name. I couldn't find anything on google about this, and as far as I can tell this is something that occurs inside the cfengine code, so not something I can affect by any configuration setting.
Beta Was this translation helpful? Give feedback.
All reactions