I have been setting up a new development system using Mint 18.3 and also a Windows box using Win7 and have noticed that there is a problem getting Machinekit logging working properly on Mint every time 'sudo make setuid' is run. So to help others here is my consolidated fix to overcome this.
To get Machinekit logging working in Linux Mint first edit system file as root: /etc/rsyslog.conf You can open terminal as root and use text editer. Comment out: $PrivDropToUser syslog $PrivDropToGroup syslog Like this: #$PrivDropToUser syslog #$PrivDropToGroup syslog Then save the file and send: sudo service rsyslog restart If you are receiving logging error messages while running the 'sudo make setuid' command the next commands may be needed. To generate a missing '/var/log/linuxcnc.log' file send command: sudo touch /var/log/linuxcnc.log Linux Mint uses rsyslogd instead of the older syslogd. To route log data to the newly generated linuxcnc.log file we must first copy the machinekit rtapi/rsyslogd-linuxcnc.conf configuration file to the systems /etc/rsyslogd folder. sudo cp rtapi/rsyslogd-linuxcnc.conf /etc/rsyslog.d/linuxcnc.conf sudo service rsyslog restart On rate limit error message 'No rate limit in rsyslogd is set': Run this copy command. sudo cp rtapi/shmdrv/limits.d-machinekit.conf /etc/security/limits.d/machinekit.conf -- 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.
