Bug#766151: openrc: tor service fails to start

2015-03-30 Thread B.E.H.
Modifying the part where it says $SHEllBANG to "/bin/sh" on line 274 seems to 
correct this and lets TOR start normally on boot-up.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#766151: [PKG-OpenRC-Debian] Bug#766151: Bug#766151: openrc: tor service fails to start

2014-12-24 Thread Robbie Harwood
hero...@gentoo.org writes:

> Ritesh Raj Sarraf  writes:
>
>> On Tuesday 21 October 2014 01:35 PM, Ritesh Raj Sarraf wrote:
>>> tor   |/lib/rc/sh/runscript.sh: 274: exec:  /bin/bash:
>>> not found
>>> tor   | * ERROR: tor failed to start
>>
>> The tor service works if the init script interpreter is changed from
>> /bin/bash to /bin/sh, with /bin/sh symlinking to /bin/dash
>
> This seems to be a bug of tor.

I don't agree.

After talking some with the folks on #openrc, I think this problem is
caused by the shebang line at the top of the tor initscript:

> #! /bin/bash

and inparticular that it has a space.  (Looking at line 274 gives the
location of the exec; tracing through the file says that SHELLBANG is
set to " /bin/bash", and `exec " /bin/bash"` fails).

It was suggested that this might be fixed in a newer version of openrc
(specifically, at or before 0.13.6, since in that version the references
to shebang have disappeared), but I do not have the ability to test that
right now.


signature.asc
Description: PGP signature


Bug#766151: [PKG-OpenRC-Debian] Bug#766151: Bug#766151: openrc: tor service fails to start

2014-10-29 Thread Thomas Goirand
On 10/29/2014 10:07 AM, hero...@gentoo.org wrote:
> Ritesh Raj Sarraf  writes:
> 
>> On Tuesday 21 October 2014 01:35 PM, Ritesh Raj Sarraf wrote:
>>> tor   |/lib/rc/sh/runscript.sh: 274: exec:  /bin/bash:
>>> not found
>>> tor   | * ERROR: tor failed to start
>>
>> The tor service works if the init script interpreter is changed from
>> /bin/bash to /bin/sh, with /bin/sh symlinking to /bin/dash
> 
> This seems to be a bug of tor.

I agree.

> Besides, do you have /bin/bash on your system?

Bash is on every Debian system, even though it may not be the default
interpreter for /bin/sh.

Thomas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#766151: [PKG-OpenRC-Debian] Bug#766151: openrc: tor service fails to start

2014-10-28 Thread heroxbd
Ritesh Raj Sarraf  writes:

> On Tuesday 21 October 2014 01:35 PM, Ritesh Raj Sarraf wrote:
>> tor   |/lib/rc/sh/runscript.sh: 274: exec:  /bin/bash:
>> not found
>> tor   | * ERROR: tor failed to start
>
> The tor service works if the init script interpreter is changed from
> /bin/bash to /bin/sh, with /bin/sh symlinking to /bin/dash

This seems to be a bug of tor.

Besides, do you have /bin/bash on your system?

b


pgpI6phGITlQ5.pgp
Description: PGP signature


Bug#766151: openrc: tor service fails to start

2014-10-21 Thread Ritesh Raj Sarraf
On Tuesday 21 October 2014 01:35 PM, Ritesh Raj Sarraf wrote:
> dbus  |[] Starting system message bus: dbus[ ok .
> [ ok .
> [ ok .
> cgproxy   |[] Starting cgroup management proxy daemon:
> cgproxy[ ok .
> tor   |/lib/rc/sh/runscript.sh: 274: exec:  /bin/bash:
> not found
> tor   | * ERROR: tor failed to start
> cups-browsed  |[] Starting CUPS Bonjour daemon:
> cups-browsed[ ok .
> apache2   |[] Starting web server: apache2cron
> |[] Starting periodic command scheduler: cron[ ok .
> [ ok .
> lightdm   |[] Starting Light Display Manager: lightdm[
> ok .
>

The tor service works if the init script interpreter is changed from
/bin/bash to /bin/sh, with /bin/sh symlinking to /bin/dash

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."




signature.asc
Description: OpenPGP digital signature


Bug#766151: openrc: tor service fails to start

2014-10-21 Thread Ritesh Raj Sarraf
Package: openrc
Version: 0.13.1-2
Severity: normal

On system startup, the tor service fails to start with the following in
the rc logs.


dbus  |[] Starting system message bus: dbus[ ok .
[ ok .
[ ok .
cgproxy   |[] Starting cgroup management proxy daemon:
cgproxy[ ok .
tor   |/lib/rc/sh/runscript.sh: 274: exec:  /bin/bash:
not found
tor   | * ERROR: tor failed to start
cups-browsed  |[] Starting CUPS Bonjour daemon:
cups-browsed[ ok .
apache2   |[] Starting web server: apache2cron
|[] Starting periodic command scheduler: cron[ ok .
[ ok .
lightdm   |[] Starting Light Display Manager: lightdm[
ok .


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openrc depends on:
ii  insserv1.14.0-5
ii  libc6  2.19-11
ii  libeinfo1  0.13.1-2
ii  librc1 0.13.1-2

openrc recommends no packages.

openrc suggests no packages.

-- Configuration Files:
/etc/rc.conf changed:
rc_parallel="YES"
rc_interactive="YES"
rc_logger="YES"
rc_tty_number=12


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org