Why won't syndaemon start from /etc/rc5.d?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I'm trying to start syndaemon during boot so it's available from the login window. Nothing has worked, so I have evolved a more and more complicated attempt to try to get at what is going on. Here is where I am at now:



Contents of /etc/rc5.d/S99syndaemon:



#!/bin/bash

/home/michael/syntest &


Contents of /home/michael/syntest



#!/bin/bash

echo "BEGIN" >> /home/michael/synlog
ps aux | grep [s]yndaemon
I=0
while [ "$?" = "1" ]; do
let I=$I+1
echo "TRY $I" >> /home/michael/synlog
syndaemon -d -i 0.5 -R >> /home/michael/synlog2 2>&1
sleep 1
ps aux | grep [s]yndaemon
done
ps aux | grep [s]yndaemon >> /home/michael/synlog
echo "END" >> /home/michael/synlog


Permissions:



ls -l /etc/rc5.d/S99syndaemon /etc/init.d/syndaemon /home/michael/syntest
-rwxr-xr-x 1 root root 37 Apr 22 20:59 /etc/init.d/syndaemon
lrwxrwxrwx 1 root root 19 Apr 22 18:24 /etc/rc5.d/S99syndaemon -> ../init.d/syndaemon
-rwxr-xr-x 1 root root 362 Apr 22 20:54 /home/michael/syntest


The log file /home/michael/synlog is not being created.



I also tried both of these commands, to no effect:



sudo update-rc.d syndaemon defaults
sudo service syndaemon start


Why won't my script run? Why isn't synclient being run?










share|improve this question























  • From "The log file /home/michael/synlog is not being created." I suspect that /home/michael is an encrypted HOME directory, If df $HOME shows /home/michael/.Private ... it is. Therefore, it is not "mounted" until you login. Store your script somewhere else that is mounted when /etc/rc5.d/* is run, e.g. a directory you create under /usr/local see en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

    – waltinator
    34 mins ago











  • @waltinator HOME is not encrypted. I tried several other directories too including /dev/shm initially... my guess was it wasn't mounted yet (but so late in rc5.d???) hence my attempt at a loop as well as other directories.

    – Michael
    20 mins ago




















0















I'm trying to start syndaemon during boot so it's available from the login window. Nothing has worked, so I have evolved a more and more complicated attempt to try to get at what is going on. Here is where I am at now:



Contents of /etc/rc5.d/S99syndaemon:



#!/bin/bash

/home/michael/syntest &


Contents of /home/michael/syntest



#!/bin/bash

echo "BEGIN" >> /home/michael/synlog
ps aux | grep [s]yndaemon
I=0
while [ "$?" = "1" ]; do
let I=$I+1
echo "TRY $I" >> /home/michael/synlog
syndaemon -d -i 0.5 -R >> /home/michael/synlog2 2>&1
sleep 1
ps aux | grep [s]yndaemon
done
ps aux | grep [s]yndaemon >> /home/michael/synlog
echo "END" >> /home/michael/synlog


Permissions:



ls -l /etc/rc5.d/S99syndaemon /etc/init.d/syndaemon /home/michael/syntest
-rwxr-xr-x 1 root root 37 Apr 22 20:59 /etc/init.d/syndaemon
lrwxrwxrwx 1 root root 19 Apr 22 18:24 /etc/rc5.d/S99syndaemon -> ../init.d/syndaemon
-rwxr-xr-x 1 root root 362 Apr 22 20:54 /home/michael/syntest


The log file /home/michael/synlog is not being created.



I also tried both of these commands, to no effect:



sudo update-rc.d syndaemon defaults
sudo service syndaemon start


Why won't my script run? Why isn't synclient being run?










share|improve this question























  • From "The log file /home/michael/synlog is not being created." I suspect that /home/michael is an encrypted HOME directory, If df $HOME shows /home/michael/.Private ... it is. Therefore, it is not "mounted" until you login. Store your script somewhere else that is mounted when /etc/rc5.d/* is run, e.g. a directory you create under /usr/local see en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

    – waltinator
    34 mins ago











  • @waltinator HOME is not encrypted. I tried several other directories too including /dev/shm initially... my guess was it wasn't mounted yet (but so late in rc5.d???) hence my attempt at a loop as well as other directories.

    – Michael
    20 mins ago
















0












0








0








I'm trying to start syndaemon during boot so it's available from the login window. Nothing has worked, so I have evolved a more and more complicated attempt to try to get at what is going on. Here is where I am at now:



Contents of /etc/rc5.d/S99syndaemon:



#!/bin/bash

/home/michael/syntest &


Contents of /home/michael/syntest



#!/bin/bash

echo "BEGIN" >> /home/michael/synlog
ps aux | grep [s]yndaemon
I=0
while [ "$?" = "1" ]; do
let I=$I+1
echo "TRY $I" >> /home/michael/synlog
syndaemon -d -i 0.5 -R >> /home/michael/synlog2 2>&1
sleep 1
ps aux | grep [s]yndaemon
done
ps aux | grep [s]yndaemon >> /home/michael/synlog
echo "END" >> /home/michael/synlog


Permissions:



ls -l /etc/rc5.d/S99syndaemon /etc/init.d/syndaemon /home/michael/syntest
-rwxr-xr-x 1 root root 37 Apr 22 20:59 /etc/init.d/syndaemon
lrwxrwxrwx 1 root root 19 Apr 22 18:24 /etc/rc5.d/S99syndaemon -> ../init.d/syndaemon
-rwxr-xr-x 1 root root 362 Apr 22 20:54 /home/michael/syntest


The log file /home/michael/synlog is not being created.



I also tried both of these commands, to no effect:



sudo update-rc.d syndaemon defaults
sudo service syndaemon start


Why won't my script run? Why isn't synclient being run?










share|improve this question














I'm trying to start syndaemon during boot so it's available from the login window. Nothing has worked, so I have evolved a more and more complicated attempt to try to get at what is going on. Here is where I am at now:



Contents of /etc/rc5.d/S99syndaemon:



#!/bin/bash

/home/michael/syntest &


Contents of /home/michael/syntest



#!/bin/bash

echo "BEGIN" >> /home/michael/synlog
ps aux | grep [s]yndaemon
I=0
while [ "$?" = "1" ]; do
let I=$I+1
echo "TRY $I" >> /home/michael/synlog
syndaemon -d -i 0.5 -R >> /home/michael/synlog2 2>&1
sleep 1
ps aux | grep [s]yndaemon
done
ps aux | grep [s]yndaemon >> /home/michael/synlog
echo "END" >> /home/michael/synlog


Permissions:



ls -l /etc/rc5.d/S99syndaemon /etc/init.d/syndaemon /home/michael/syntest
-rwxr-xr-x 1 root root 37 Apr 22 20:59 /etc/init.d/syndaemon
lrwxrwxrwx 1 root root 19 Apr 22 18:24 /etc/rc5.d/S99syndaemon -> ../init.d/syndaemon
-rwxr-xr-x 1 root root 362 Apr 22 20:54 /home/michael/syntest


The log file /home/michael/synlog is not being created.



I also tried both of these commands, to no effect:



sudo update-rc.d syndaemon defaults
sudo service syndaemon start


Why won't my script run? Why isn't synclient being run?







18.04 lubuntu touchpad






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 55 mins ago









MichaelMichael

2831312




2831312













  • From "The log file /home/michael/synlog is not being created." I suspect that /home/michael is an encrypted HOME directory, If df $HOME shows /home/michael/.Private ... it is. Therefore, it is not "mounted" until you login. Store your script somewhere else that is mounted when /etc/rc5.d/* is run, e.g. a directory you create under /usr/local see en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

    – waltinator
    34 mins ago











  • @waltinator HOME is not encrypted. I tried several other directories too including /dev/shm initially... my guess was it wasn't mounted yet (but so late in rc5.d???) hence my attempt at a loop as well as other directories.

    – Michael
    20 mins ago





















  • From "The log file /home/michael/synlog is not being created." I suspect that /home/michael is an encrypted HOME directory, If df $HOME shows /home/michael/.Private ... it is. Therefore, it is not "mounted" until you login. Store your script somewhere else that is mounted when /etc/rc5.d/* is run, e.g. a directory you create under /usr/local see en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

    – waltinator
    34 mins ago











  • @waltinator HOME is not encrypted. I tried several other directories too including /dev/shm initially... my guess was it wasn't mounted yet (but so late in rc5.d???) hence my attempt at a loop as well as other directories.

    – Michael
    20 mins ago



















From "The log file /home/michael/synlog is not being created." I suspect that /home/michael is an encrypted HOME directory, If df $HOME shows /home/michael/.Private ... it is. Therefore, it is not "mounted" until you login. Store your script somewhere else that is mounted when /etc/rc5.d/* is run, e.g. a directory you create under /usr/local see en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

– waltinator
34 mins ago





From "The log file /home/michael/synlog is not being created." I suspect that /home/michael is an encrypted HOME directory, If df $HOME shows /home/michael/.Private ... it is. Therefore, it is not "mounted" until you login. Store your script somewhere else that is mounted when /etc/rc5.d/* is run, e.g. a directory you create under /usr/local see en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

– waltinator
34 mins ago













@waltinator HOME is not encrypted. I tried several other directories too including /dev/shm initially... my guess was it wasn't mounted yet (but so late in rc5.d???) hence my attempt at a loop as well as other directories.

– Michael
20 mins ago







@waltinator HOME is not encrypted. I tried several other directories too including /dev/shm initially... my guess was it wasn't mounted yet (but so late in rc5.d???) hence my attempt at a loop as well as other directories.

– Michael
20 mins ago












0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1136265%2fwhy-wont-syndaemon-start-from-etc-rc5-d%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1136265%2fwhy-wont-syndaemon-start-from-etc-rc5-d%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

GameSpot

connect to host localhost port 22: Connection refused

Getting a Wifi WPA2 wifi connection