Your message dated Tue, 11 Jul 2017 17:54:23 -0700 with message-id <[email protected]> and subject line Re: Bug#868093: bugs.debian.org: in squeeze /etc/rc.local doesn't work with !#/bin/sh -e has caused the Debian Bug report #868093, regarding bugs.debian.org: in squeeze /etc/rc.local doesn't work with !#/bin/sh -e to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 868093: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868093 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: bugs.debian.org Severity: normal Dear Maintainer, I had to change the first line of /etc/rc.local from #!/bin/sh -e to #!/bin/bash to make it work. Don't know why - I tried several things and this was another random shot at trying to make it work. *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** -- System Information: Debian Release: 9.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.16.0-4-686-pae (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
--- End Message ---
--- Begin Message ---On Wed, 12 Jul 2017, Ćukasz Grabowski wrote: > I had to change the first line of /etc/rc.local from > #!/bin/sh -e > to > #!/bin/bash > to make it work. Don't know why - I tried several things and this was another > random > shot at trying to make it work. This is almost certainly because your rc.local script contains bash-specific syntax which does not work with a POSIX compliant shell like dash (which is the default /bin/sh symlink), or one of the earlier lines in your rc.local exits with non-zero, terminating the rest of the execution (set -e). But you figured out how to work around that by switching to /bin/bash and removing -e, so that works. > Package: bugs.debian.org > Severity: normal In the future, the bugs.debian.org pseudopackage is for reporting bugs in the bug tracking system itself, not this particular issue. [rc.local is installed by the sysvinit package, but since this is not actually a bug, I'm just closing it.] -- Don Armstrong https://www.donarmstrong.com Identical parts aren't. -- Beach's Law
--- End Message ---

