Bug 191869 - tmux(1) refuses to start via service(8)
Allan Jude
allanjude at freebsd.org
Mon Jul 14 20:49:56 UTC 2014
On 2014-07-14 16:43, dteske at FreeBSD.org wrote:
> Hi -rc,
>
> I'd like to get a review on a proposed patch to service(8).
>
> I've filed BUG #191869:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191869
>
> Proposed commit/message below:
>
> Fix an issue with service(8) where utilities such as screen(1) and tmux(1)
> would behave differently when utilizing rc-script was invoked manually vs.
> service(8). The issue being that these utilities require the TERM environ
> variable to be set and service(8) was not passing it down.
>
> Reported by: Michael Dexter <editor at callfortesting.org>
> Reviewed by: <your name here>
> MFC after: 3 days
> X-MFC-to: stable/10, stable/9
> --This line, and those below, will be ignored--
>
> M service/service.sh
>
> <see attached patch.txt>
>
This fix works for me. Solves the problem with my rc script that starts
puppetdb in screen so I can reattach to the console in the future.
I don't think it should cause any problem with the regular scripts as
they startup, since TERM will be set to a reasonable default (cons25)
--
Allan Jude
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20140714/6e5bfa57/attachment.sig>
More information about the freebsd-rc
mailing list