Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #209263

Re: reboot stuff doesn't start

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: reboot stuff doesn't start
Date 2019-05-28 00:00 +0200
Message-ID <y2vOV-2gW-3@gated-at.bofh.it> (permalink)
References <y23pD-1Ad-1@gated-at.bofh.it> <y2sel-d1-1@gated-at.bofh.it> <y2tDs-XL-9@gated-at.bofh.it>
Organization none,nada,zip

Show all headers | View raw


On Monday 27 May 2019 03:31:42 pm Reco wrote:

> On Mon, May 27, 2019 at 02:00:49PM -0400, Gene Heskett wrote:
> > > > May 25 12:03:03 coyote rc.local[884]: read: Connection reset by
> > > > peer
> > >
> > > ...
> > >
> > > > None of which gives me the faintest clue whats wrong with it.
> > >
> > > It does for me.
> > >
> > > First,
> > >
> > > > root@coyote:GenesAmandaHelper-0.61$ cat /etc/rc.local
> > > > #!/bin/sh -e
> > >
> > > Any execution error will terminate the script.
> > >
> > >
> > > Second,
> > >
> > > > # mount the sshfs shares. Suggested way didn't work,
> > > > # so changed syntax to this, which does
> > > > su gene -c "sshfs gene@shop:/ /sshnet/shop"
> > >
> > > It fails here, or at any of the later sshfs invocations.
> > > Either your resolver is broken or remote sshd does not function.
> > >
> > > Note - you're doing it wrong by configuring per-user mounts at
> > > systemwide level. They invented systemd user-level services just
> > > for that.
> >
> > humm how about anls -l /sshnet/*
>
> And that's supposed to prove what exactly?
> That sshfs works once you configured your NICs and have the resolver
> working and run all this stuff by hand?
> rc-local.service formally depends on network.target, but that does not
> mean all your interfaces are configured by the time /etc/rc.local is
> actually run.
>
> > > Also,
> > >
> > > > # Now, udev is being a cast iron bitch,
> > >
> > > But overriding it this way will only work until the first 'udevadm
> > > trigger' or USB device hotplug.
> > > They invented 'dialout' group (and use it by default) to avoid
> > > such kludges, consider using it.
> >
> > So I should make heyu a member of group dialout?  It is not now:
> > gene@coyote:~$ grep dialout /etc/group
> > dialout:x:20:gene
>
> Your rc.local contents do not contain any hint on why would you need
> 0666 permission on /dev/ttyUSB0. Sure, you needed it for something.
> Maybe it even solved some problem.
> You do not name your problem so I cannot comment on whenever adding a
> certain custom user to dialout group can solve it or not.

heyu did not like the seriel ports default params, so I asked on the heyu 
list, about 2 years ago, Ed Dipold, a regular on that list suggested I 
try 0666 and chown it to me. Worked flawlessly UNTIL I bought a new 2T 
drive and installed stretch 3 weeks ago.  And has worked only 
intermittently since.

Right now its as if the cm-11a has died, and I note its not running more 
than a degree or so over ambient, not as warm as before. If I get some 
spare time tomorrow I'll open it and check for smoked parts. I hate to 
do that as those things make even old radio shack stuff look like 
Cadillac quality stuff.

FWIW, I have what used to be a 1st phone FCC license, and I am a C.E.T. 
and I know which end of a soldering iron gets hot as I have several, 
also a dual trace 1GHS/a sec scope and all the other tools of the trade. 
I also sat in the CE's chair at the local cbs affiliate from 1984 to 
2002.  The chair never got fully warmed up though, as I did it by myself 
at least half of that time.

I'll shut my horn off now.

> > > And,
> > >
> > > > # Now, need some heyu stuff run
> > > > su gene -c "/usr/local/bin/heyu engine &"
> > > > su gene -c "/usr/local/bin/heyu monitor &"
> > >
> > > this just cries 'put me into systemd unit'.
> > > Abusing shell's background in rc.local is good for all those
> > > enterprisey "i-dont-know-what-im-doing" devopses. Don't be like
> > > them.
> >
> > And the docs on how to do that are where?
>
> Google. [1] may or may not be of help.

It wasn't.

> Any *service file at /lib/systemd/system can serve as a template.
>
> Reco

Buried under a pyramid, no wonder I couldn't find it. Thanks a bunch.

> [1] https://wiki.debian.org/systemd

That too.  Thanks Reco.

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>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

reboot stuff doesn't start Gene Heskett <gheskett@shentel.net> - 2019-05-26 17:40 +0200
  Re: reboot stuff doesn't start john doe <johndoe65534@mail.com> - 2019-05-26 18:20 +0200
    Re: reboot stuff doesn't start Gene Heskett <gheskett@shentel.net> - 2019-05-26 23:50 +0200
      Re: reboot stuff doesn't start Curt <curty@free.fr> - 2019-05-27 11:00 +0200
        Re: reboot stuff doesn't start Gene Heskett <gheskett@shentel.net> - 2019-05-27 20:00 +0200
      Re: reboot stuff doesn't start Reco <recoverym4n@enotuniq.net> - 2019-05-27 11:20 +0200
        Re: reboot stuff doesn't start Gene Heskett <gheskett@shentel.net> - 2019-05-27 20:10 +0200
          Re: reboot stuff doesn't start Reco <recoverym4n@enotuniq.net> - 2019-05-27 21:40 +0200
            Re: reboot stuff doesn't start Gene Heskett <gheskett@shentel.net> - 2019-05-28 00:00 +0200
        Re: reboot stuff doesn't start Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-28 17:00 +0200
          Re: reboot stuff doesn't start Reco <recoverym4n@enotuniq.net> - 2019-05-28 18:00 +0200
            Re: reboot stuff doesn't start Gene Heskett <gheskett@shentel.net> - 2019-05-28 19:30 +0200
              Re: reboot stuff doesn't start Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-28 19:40 +0200
                Re: reboot stuff doesn't start Reco <recoverym4n@enotuniq.net> - 2019-05-28 19:50 +0200
                Re: reboot stuff doesn't start Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-28 20:00 +0200
              Re: reboot stuff doesn't start Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-28 19:40 +0200
              Re: reboot stuff doesn't start Reco <recoverym4n@enotuniq.net> - 2019-05-28 19:40 +0200
                Re: reboot stuff doesn't start Gene Heskett <gheskett@shentel.net> - 2019-05-28 23:00 +0200
                Re: reboot stuff doesn't start Reco <recoverym4n@enotuniq.net> - 2019-05-29 06:30 +0200
                Re: reboot stuff doesn't start Gene Heskett <gheskett@shentel.net> - 2019-05-29 12:10 +0200
                Re: reboot stuff doesn't start Reco <recoverym4n@enotuniq.net> - 2019-05-29 12:30 +0200
                Re: reboot stuff doesn't start Gene Heskett <gheskett@shentel.net> - 2019-05-29 12:50 +0200
                Re: reboot stuff doesn't start Reco <recoverym4n@enotuniq.net> - 2019-05-29 12:50 +0200
                Re: reboot stuff doesn't start Gene Heskett <gheskett@shentel.net> - 2019-05-29 13:00 +0200
                Re: reboot stuff doesn't start Brian <ad44@cityscape.co.uk> - 2019-05-29 20:00 +0200
              Re: reboot stuff doesn't start Gene Heskett <gheskett@shentel.net> - 2019-05-28 20:30 +0200
                Re: reboot stuff doesn't start Brian <ad44@cityscape.co.uk> - 2019-05-28 21:40 +0200
                Re: reboot stuff doesn't start Gene Heskett <gheskett@shentel.net> - 2019-05-29 03:50 +0200
                Re: reboot stuff doesn't start Brian <ad44@cityscape.co.uk> - 2019-05-29 14:30 +0200
                Re: reboot stuff doesn't start Gene Heskett <gheskett@shentel.net> - 2019-05-29 17:10 +0200
                Re: reboot stuff doesn't start mick crane <mick.crane@gmail.com> - 2019-05-29 17:20 +0200
                Re: reboot stuff doesn't start Roberto C. Sánchez <roberto@debian.org> - 2019-05-29 17:30 +0200
                Re: reboot stuff doesn't start Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-29 17:30 +0200
  Re: reboot stuff doesn't start Brian <ad44@cityscape.co.uk> - 2019-05-26 21:40 +0200
    Re: reboot stuff doesn't start Gene Heskett <gheskett@shentel.net> - 2019-05-27 00:10 +0200
  Re: reboot stuff doesn't start Felix Miata <mrmazda@earthlink.net> - 2019-05-29 20:40 +0200

csiph-web