summaryrefslogtreecommitdiff
path: root/daemons
AgeCommit message (Collapse)Author
2012-09-23Automatically setup local sockets if not already done so.Samuel Thibault
Needed early for shell pipelines. * daemons/runsystem.sh: See whether pflocal is setup already, and do so if not (install case)
2012-09-22Check that runsystem script exists before trying it.Samuel Thibault
* init/init.c (launch_something): Check with file_name_lookup that runsystem script exists before calling start_child. * daemons/console-run.c (main): Check with file_name_lookup that runsystem script exists before opening a console for it.
2012-04-08console-run: Create and settrans /dev/console when not already done.Ludovic Courtès
This patch makes sure /libexec/console-run creates and installs /dev/console on the first run without considering it a failure if it didn't exist already. * daemons/console-run.c (TERMINAL_FIRST_TRY): Change node to `/dev/console'. (TERMINAL_SECOND_TRY): Change node to `/tmp/console'. (open_console): Clear FALLBACK when TRY == 1 and the `file_set_translator' call suceeded.
2011-08-20fix common misspellingsJonathan Neuschäfer
* Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
2011-06-21Set default umask to 022Samuel Thibault
* daemons/runsystem.sh: Call umask 022.
2010-08-01Fix "make dist" in `daemons'.Ludovic Courtès
* daemons/Makefile (SRCS): Add `runsystem.sh'.
2009-07-11Switch to the new ChangeLog style.Thomas Schwinge
* ChangeLog: Wipe out content, and add instructions about how to get it back. * auth/ChangeLog: Remove file. * benchmarks/ChangeLog: Likewise. * boot/ChangeLog: Likewise. * bsdfsck/ChangeLog: Likewise. * config/ChangeLog: Likewise. * console-client/ChangeLog: Likewise. * console/ChangeLog: Likewise. * daemons/ChangeLog: Likewise. * defpager/ChangeLog: Likewise. * doc/ChangeLog: Likewise. * exec/ChangeLog: Likewise. * ext2fs/ChangeLog: Likewise. * fatfs/ChangeLog: Likewise. * fstests/ChangeLog: Likewise. * ftpfs/ChangeLog: Likewise. * hostmux/ChangeLog: Likewise. * hurd/ChangeLog: Likewise. * include/ChangeLog: Likewise. * init/ChangeLog: Likewise. * isofs/ChangeLog: Likewise. * libcons/ChangeLog: Likewise. * libdirmgt/ChangeLog: Likewise. * libdiskfs/ChangeLog: Likewise. * libfshelp/ChangeLog: Likewise. * libftpconn/ChangeLog: Likewise. * libhurdbugaddr/ChangeLog: Likewise. * libihash/ChangeLog: Likewise. * libiohelp/ChangeLog: Likewise. * libnetfs/ChangeLog: Likewise. * libpager/ChangeLog: Likewise. * libpipe/ChangeLog: Likewise. * libports/ChangeLog: Likewise. * libps/ChangeLog: Likewise. * libshouldbeinlibc/ChangeLog: Likewise. * libstore/ChangeLog: Likewise. * libthreads/ChangeLog: Likewise. * libtrivfs/ChangeLog: Likewise. * login/ChangeLog: Likewise. * mach-defpager/ChangeLog: Likewise. * nfs/ChangeLog: Likewise. * nfsd/ChangeLog: Likewise. * pfinet/ChangeLog: Likewise. * pflocal/ChangeLog: Likewise. * proc/ChangeLog: Likewise. * release/ChangeLog: Likewise. * serverboot/ChangeLog: Likewise. * storeio/ChangeLog: Likewise. * sutils/ChangeLog: Likewise. * term/ChangeLog: Likewise. * tmpfs/ChangeLog: Likewise. * trans/ChangeLog: Likewise. * ufs-fsck/ChangeLog: Likewise. * ufs-utils/ChangeLog: Likewise. * ufs/ChangeLog: Likewise. * usermux/ChangeLog: Likewise. * utils/ChangeLog: Likewise.
2008-12-082008-12-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* Makefile (HURDLIBS): Add fshelp and ports.
2007-12-112007-12-11 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* getty.c (main) <execl>: Correctly specify sentinels to avoid GCC 4.3 warnings.
2002-09-152002-09-15 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* getty.c: Include <termios.h>. (set_speed): New function. (main): Take linespec from argc[1], not argc[2]. Call set_speed.
2002-03-26*** empty log message ***Neal H. Walfield
2002-03-262002-03-23 James A. Morrison <ja2morri@uwaterloo.ca>Neal H. Walfield
* console-run.c (open_console): Use ERR, not errno.
2001-12-202001-12-20 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* runsystem.sh: For now, this requires bash.
2001-11-22.Roland McGrath
2001-11-222001-11-21 Roland McGrath <roland@frob.com>Roland McGrath
* runttys.c (setup_terminal, add_terminal, init_ttys): Check for malloc failures. (add_terminal): Fix type used for sizeof calculation in realloc. (init_ttys): Likewise. 2001-11-21 Ryan M Golbeck <rmgolbeck@uwaterloo.ca> * runttys.c (setup_terminal: make_args): Fixed off by one error.
2001-08-20.Roland McGrath
2001-08-202001-08-20 Roland McGrath <roland@frob.com>Roland McGrath
* runsystem.sh: Don't check for MULTIBOOT_CMDLINE environment variable. Instead, expect it as normal arguments from init.
2001-06-08.Roland McGrath
2001-06-082001-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* rc.sh: Start /hurd/mach-defpager before swapon.
2001-06-082001-06-07 Roland McGrath <roland@frob.com>Roland McGrath
* rc.sh: Include $? value in message about unexpected fsck exit.
2001-01-30daemons/Marcus Brinkmann
2001-01-17 Neal H Walfield <neal@cs.uml.edu> * console-run.c (open_console): Conform to new fshelp_start_translator semantics. init/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * init.c (open_console): Conform to new fshelp_start_translator semantics. libfshelp/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * fshelp.h: Add two new parameters to fshelp_open_fn_t: a port to the new task and a cookie. Add a new parameter, cookie, to fshelp_start_translator and fshelp_start_translator_long that will be passed to fshelp_open_fn_t. * fetch-root.c (fshelp_fetch_root): Conform to new fshelp_start_translator_long semantics. * start-translator-long.c (service_fsys_startup): Likewise. (fshelp_start_translator_long): Likewise. * start-translator.c (fshelp_start_translator): Likewise. libtreefs/ Conform to new fshelp_start_translator semantics. trans/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * pump.c (start_pfinet): Conform to new fshelp_start_translator semantics. utils/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * mount.c (do_mount): Conform to new fshelp_start_translator semantics. * settrans.c (main): Conform to new fshelp_start_translator semantics therby allowing us to print the pid of the an active translator.
1999-09-281999-09-23 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell
* getty.c (main): Report an error if login_tty failed.
1999-09-22.Roland McGrath
1999-09-221999-09-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* getty.c: Undo last change.
1999-09-22.Roland McGrath
1999-09-221999-09-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* getty.c (main): Make TTY our controlling terminal with TIOCSCTTY.
1999-09-191999-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* getty.c: Include <utmp.h> for login_tty decl.
1999-09-19.Roland McGrath
1999-09-191999-09-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* runttys.c (main): Only call error if setsid returns -1. From Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
1999-09-181999-09-18 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>Thomas Bushnell
* runttys.c (run): Only call error if setsid returns -1. * console-run.c (open_console): Likewise.
1999-07-11.Roland McGrath
1999-07-111999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* console-run.c (open_console): Move first setting of TERMINAL and ARGZ_LEN outside of loop, quiets compiler warning.
1999-07-11.Roland McGrath
1999-07-111999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* lmail.c: Add #include <sys/mman.h> for munmap decl.
1999-07-031999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* lmail.c (bfree): Use munmap instead of vm_deallocate.
1999-07-011999-07-01 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* rc.sh: Specify bash instead of sh. (remove_translators): Don't descend into "." or "..". Alter calling convention slightly and require the `nullglob' option to be set. Change caller to suit. From Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>.
1999-06-22.Roland McGrath
1999-06-221999-06-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* rc.sh: Clean /tmp using special hackery to nuke translators.
1999-06-18.Roland McGrath
1999-06-181999-06-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* runttys.c: New file.c * Makefile (targets, SRCS): Add runttys, runttys.c. (runttys): New target. (runttys-LDLIBS): New variable, -lutil.
1999-06-181999-06-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* runsystem.sh: New file. * Makefile (targets, special-targets): Add runsystem. (runsystem): New target.
1999-06-181999-06-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* console-run.c: New file. * Makefile (targets, SRCS): Add console-run, console-run.c. (console-run): New target.
1999-06-181999-06-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* runsystem.sh: New file. * Makefile (targets, special-targets): Add runsystem. (runsystem): New target. 1999-06-15 Roland McGrath <roland@baalperazim.frob.com> * runttys.c: New file.c * Makefile (targets, SRCS): Add runttys, runttys.c. (runttys): New target. (runttys-LDLIBS): New variable, -lutil. * console-run.c: New file. * Makefile (targets, SRCS): Add console-run, console-run.c. (console-run): New target.
1999-05-30.Roland McGrath
1999-05-301999-05-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* rc.sh: Don't create /var/run/uptime. It's no longer used.
1999-05-15.Roland McGrath
1999-05-151999-05-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* rc.sh: Do `swapon -a' first thing.
1999-03-09Tue Mar 9 13:18:14 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* lmail.c (OPT_REMOVE): New macro. (options): Don't recognize -r as an alias for --remove, but recognize it separately as a hidden alias. (main / parse_opt): Make -d do nothing. Make -r an alias for -f. Have OPT_REMOVE do the removal thing. Reported by Mark Kettenis (kettenis@wins.uva.nl).
1998-12-06.Roland McGrath
1998-12-061998-12-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* lmail.c (deliver, main): Add braces to silence gcc warning.