| Bug#: 86550 | Product: Gentoo Linux | Version: unspecified | Platform: All |
| OS/Version: All | Status: RESOLVED | Severity: normal | Priority: P2 |
| Resolution: FIXED | Assigned To: aliz@gentoo.org | Reported By: spock@gentoo.org | |
| Component: Applications | |||
| URL: | |||
| Summary: hddtemp needs to do setsid() when running in daemon mode | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2005-03-24 10:29 0000 | |||
| Description: | Opened: 2005-03-24 10:29 0000 |
When run as a daemon, hddtemp needs to call setsid() to switch to a new session. Otherwise, when /sbin/init uses a tty other than /dev/tty, hddtemp will be killed at the end of the system boot-up. This can happen when CONSOLE=/dev/tty1 or similar is added to the kernel command line.
Created an attachment (id=54362) [details]
A patch that adds the setsid() call.