You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this service adds a script /etc/profile.d/freekey.sh with the command "freekey start" to start the daemon on login.
I've added some log statements to this script and the file DOES seem to be executed properly at login, but the daemon does not seem to start properly.
I have to manually execute "freekey start" to start the daemon after each reboot.
I'm not sure what's causing this problem of what is different in ubuntu 18.04 compared to previous versions.
Any idea what can be causing this or what I can do to debug this further?
The text was updated successfully, but these errors were encountered:
Just a word of caution, I neither use nor maintain this script anymore.
That said, you should check syslog for error messages when you login. If freekey still works when you manually start it, but not automatically from the profile.d entry, then that probably means some permissions are wrong. It's also possible that Ubuntu has changed some infrastructure that no longer executes scripts upon login like it used to. I'm still on Ubuntu 16, so I haven't experienced any of those upgrade issues yet.
I've tried putting following lines directly to /etc/profile
date >> /home/sven/f.log
whoami >> /home/sven/f.log
/usr/local/bin/freekey start >> /home/sven/f.log
and the log shows
Sat Jun 16 19:27:39 CEST 2018
sven
Loaded command binding: 67 = ...
...
Loaded command binding: 96 = ...
------
So everything seems fine to me, but it just doesn't work so maybe it is indeed cause by some infrastructural changes.
But if this is not used or maintained any longer, it may be better to start looking to an alternative. Thanks anyway.
I'm using ubuntu 18.04.
I know this service adds a script /etc/profile.d/freekey.sh with the command "freekey start" to start the daemon on login.
I've added some log statements to this script and the file DOES seem to be executed properly at login, but the daemon does not seem to start properly.
I have to manually execute "freekey start" to start the daemon after each reboot.
I'm not sure what's causing this problem of what is different in ubuntu 18.04 compared to previous versions.
Any idea what can be causing this or what I can do to debug this further?
The text was updated successfully, but these errors were encountered: