I have been setting up linuxcnc and machinekit as a rip install on linuxmint 18.1. When running sudo make setuid on the final part of the machinekit install I there is an error due to no log test entry being detected. This appears to be an error in the script file for the sudo make setuid process. It is trying to read file /var/log/linuxcnc.log which I believe is not the correct file to use. Machinekit souce was cloned on 07/15/2017
In machinekit file location /machinekit/src/rtapi/ there are two logging configuration files, rsyslogd-linuxcnc.conf and rsyslogd-machinekit.conf. I suspect that machinekit should be using the /machinekit/src/rtapi/rsyslogd-machinekit.conf file and then look at the generated /var/log/machinekit.log file instead of the linuxcnc.log that it reports to have found with zero entries having been made into that file by the machinekit logging verify test in the script for sudo make setuid. I ended up copying the /machinekit/src/rtapi/rsyslogd-machinekit.conf to /etc/rsyslog.d/ and then restarted the logging service with sudo service rsyslog restart, and found that the logging to file /var/log/machinekit.log file that was generated automatically was being logged too just fine. Should the sudo make setuid process not be looking for the logging test and verify in /var/log/machinekit.log instead of /var/log/linuxcnc.log or the rsyslogd-linuxcnc.log that is not likely even there? -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
