[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#246460: apache is not detaching from the terminal which made it start, its parent

Package: apache
Severity: minor

As apache is a daemon, shouldn't it detach from the terminal where
it was started?
Nice to say that if termunal is closed, apache doesn't stop...

verd:/etc/init.d# /etc/init.d/apache stop
Stopping web server: apache.
verd:/etc/init.d# /etc/init.d/apache start
Starting web server: apache.
verd:/etc/init.d# ps
  PID TTY          TIME CMD
19665 pts/1    00:00:00 bash
21199 pts/1    00:00:00 apache-ssl
21246 pts/1    00:00:00 apache
21252 pts/1    00:00:00 ps

-- System Information:
Debian Release: 3.0
Architecture: i386
Kernel: Linux verd 2.4.23-fs #3 dl des 15 01:55:35 CET 2003 i686
Locale: LANG=ca_ES@euro, LC_CTYPE=ca_ES@euro (ignored: LC_ALL set to ca_ES.UTF-8)

Versions of packages apache depends on:
ii  apache-common      Support files for all Apache webse
ii  debconf                     1.4.22       Debian configuration management sy
ii  dpkg                        1.10.20      Package maintenance system for Deb
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-12    Berkeley v4.2 Database Libraries [
ii  libexpat1                   1.95.6-8     XML parsing C library - runtime li
ii  libmagic1                   4.03-3       File type determination library us
ii  libpam0g                    0.76-6       Pluggable Authentication Modules l
ii  logrotate                   3.6.5-2      Log rotation utility
ii  mime-support                3.22-1       MIME files 'mime.types' & 'mailcap
ii  perl                        5.8.3-2      Larry Wall's Practical Extraction 

-- debconf information:
  apache/server-name: veinat.net
  apache/server-port: 80
* apache/enable-suexec: true
  apache/init: true
  apache/server-admin: jep@veinat.net

Reply to: