Recent content by Kevin Bach

  1. Kevin Bach

    Which Linux do you use?

    Fedora and Fedberry My Pi 4 had to go with Raspbian (Debian for Raspberry Pi)
  2. Kevin Bach

    Starting scripts

    I am narrowing the scope a bit and even after identifying a problem with the rc.local the previously cited syncthing script still only runs with from the command line. I guess the good news is there may not be a pattern of scripts in general not working. Nevertheless I know that absolute path...
  3. Kevin Bach

    Starting scripts

    Actually today I've been experimenting with the screen command so I may start the scripts (that keep going), but I can detach from them. I am quite the amateur with "screen" apparently.
  4. Kevin Bach

    Starting scripts

    I am continuing to go nuts over absolute path names, and I wrote a simple bash script a couple years ago to make sure rc.local (under /etc/rc.d) was accounted for with permissions and in the systemctl. And yet I remain disappointed that these same scripts I have written only work when I run...
  5. Kevin Bach

    Starting scripts

    I did do the #!/usr/bin/env bash startup and I have one bash script that never gets touched in the rc.local. For the previously requested "concrete" example: Line from rc.local on a Fedora 26 server: #!/usr/bin/bash /usr/local/etc/syncthing/rc.syncthing So here's the script that never gets...
  6. Kevin Bach

    Starting scripts

    A VERY Good suggestion, Antanere, as I have been wondering if PATH had been compromised, in some sort of stricter enforcement of something or other. (The preface literally made me laugh out loud.) If I didn't know better, I would turn hostilities on SELinux again (ripping it yet another new...
  7. Kevin Bach

    Starting scripts

    Another thought was the first line of the bash/sh scripts maybe needing to be changed From: #!/bin/bash #!/bin/sh To: #!/usr/bin/bash #!/usr/bin/sh
  8. Kevin Bach

    Starting scripts

    I was just thinking about this again this morning. I am wondering if a symbolic link to a script file is a part of the problem. I have had some luck improving the situation with absolute path names to programs called from the scripts. Also, there has been some recent moves of programs from...
  9. Kevin Bach

    Starting scripts

    I have had hit or miss reliability from rc.local after the systemd enable. And these aren't the only scripts I have had trouble with. Truly this has been the most frustrating bug I've ever tracked since it seems to have no particular source and affects so many different scripts. It did make...
  10. Kevin Bach

    Starting scripts

    Thank you for the start on this thread. I have experimented briefly with Ubuntu because of the mass "you gotta try it," but I have recently spent more time with Debian by way of Raspbian, which is Debian for Raspberry Pi. It is the only Pi disto I've messed with the has the firmware update...
  11. Kevin Bach

    Starting scripts

    I have managed servers for years, automatically starting BASH scripts and Perl scripts to rectify certain situations. Lately, I have had a rash of these not starting at all. My first idea was the thought that everything inside these scripts needed an absolute path, as something had changed in...
Top