Web lists-archives.com

Re: reboot stuff doesn't start




On Sunday 26 May 2019 08:29:27 pm bw wrote:

> In-Reply-To: <201905261132.11943.gheskett@xxxxxxxxxxx>
>
> >Greetings all;
> >
> >New stretch install about 2 weeks ago, cleaning up the remains. 
> > Fresh disk, so no leftovers. But lots of stuff has been copied over
> > from the wheezy disk since
> >
> >I have spamassassin enabled in my rc5.d, and I start heyu engine and
> > heyu monitor in my rc.local for several years , but neither one is
> > actually being started now.
> >
> >I can restart spamassassin once logged it, ditto for heyu and
> > friends.
> >
> >Why don't they start when they're supposed to?
> >
> >Thanks all.
> >
> >Cheers, Gene Heskett
> >--
> >"There are four boxes to be used in defense of liberty:
> > soap, ballot, jury, and ammo. Please use in that order."
> >-Ed Howdershelt (Author)
> >Genes Web page <http://geneslinuxbox.net:6309/gene>
>
> Hii Gene, SInce you are going to a lot of trouble getting this stuff
> setup, why not try and ditch use of rc.local for starting services
> altogether?  It really never was a nice thing IMHO, and really might
> simplify your life in the future to just stop doing it this way.
>
Seems like an ideal place to put stuff you want running, without having 
to do it manually after a reboot, sometimes tying up a terminal screen 
for nothing.

Computers should save you work, not make it.

> I found a few different suggestions about sshfs on a quick search, but
> really couldn't recommend a way to solve it.

I've no clue why sshfs should be a problem, it Just Works, with a lot 
less fuss than CIFS/SAMBA, doesn't throw away perms like they do and I 
have yet to crash it mid copy like NFS is rather fond of doing.  So I 
haven't setup an NFS share in quite a few years now.

Between a login shell and sshfs, I have the complete run of all 5 
computers on my local net. From this keyboard.

> https://duckduckgo.com/html/?q=mount+sshfs+boot
> https://www.halolinux.us/smart-home-automation/heyu.html

But sshfs has nothing to do with heyu. heyu's problem that keeps it out 
of the FOSS distributions is the license.  I'm not running a reactor 
with it so it doesn't bother me a bit.

> If heyu is configuring itself to run by altering /etc/rc.local,

its not altering rc.local in any way other than my alterations edited 
into rc.local to make it run.  In this case udev is the problem, as it 
sets the perms so tight only root can use /dev/ttyUSB*.  Since I don't 
have a phone modem plugged into the world, that lever of security it 
pure paranoia, so I change it from an automatic root account named 
rc.local.

> then 
> IMO it is not for stretch.  Service files for running it under systemd
> should be available somewhere.  Maybe on the net if they are not in
> the pkg/build archive, have you looked around?

I could I suppose ask on the heyu list, but this did work for what, 5 
years on wheezy and about as long on ubuntu.

> Good Luck.


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>