[Bug 234100] couchdb2 service keeping stdout open

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 17 15:49:48 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234100

            Bug ID: 234100
           Summary: couchdb2 service keeping stdout open
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: reshadpatuck1 at gmail.com

Hey, I noticed running service couchdb2 start via ssh keeps the ssh connection
open, even after it is done.

This is not a problem when running without a parent shell.

Test case:

on a server make this script:
```
#!/bin/sh
echo "Start"
service couchdb2 restart
echo "Done"
```

now ssh to the server and run the script (without a shell)
```
ssh myserver.com sh /path/to/script.sh
```

The script will run and both Start and Done will be printed but the ssh will
remain open even though the script is done.

Changing the script to pipe the service command to /dev/null fixed this.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list