summaryrefslogtreecommitdiff
path: root/bus/messagebus.in
Commit message (Collapse)AuthorAgeFilesLines
* Remove distribution-specific init-scriptsSimon McVittie2017-09-251-92/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LSB-style (SysV-style) init scripts have not historically been portable between distributions, as evidenced by the presence of both "Red Hat" and "Slackware" init scripts in dbus. Many distributors prefer to maintain them downstream, as is done in Debian (and its derivatives) and in Slackware, so that the init script can follow OS conventions (for example regarding boot messages) and make use of OS-provided facilities (for example, the Debian init script uses dpkg's start-stop-daemon utility). The Slackware and Red Hat init scripts removed by this commit are not tested or maintained in practice, and so are likely to have bugs. The Slackware init-script provided here is not used on actual Slackware systems, which provide a different implementation of rc.messagebus in their packaging, while the Red Hat init script has been superseded by the systemd unit in current Fedora, CentOS and RHEL versions. The Cgywin messagebus-config provided here does appear to be used in production in cygwin-ports, but it's full of Cygwin-specifics with which the dbus maintainers are not familiar, so it is probably more appropriate for it to be tracked downstream as part of the Cygwin packaging. The systemd unit is not removed, since it is used on multiple Linux distributions with little or no modification, and receives regular testing and maintenance; this makes it appropriate to maintain upstream. Signed-off-by: Simon McVittie <smcv@collabora.com> Bug: https://bugs.freedesktop.org/101706 Reviewed-by: Philip Withnall <withnall@endlessm.com>
* Fix use of $servicename in statusColin Walters2010-07-091-1/+1
| | | | | | | | See https://bugzilla.redhat.com/show_bug.cgi?id=521797 We have two init scripts, and commit 05283235632bc8891aaa3047563cb4 patched the "wrong" (i.e. slackware) one. Patch one that ships with real operating systems too.
* Update messagebus.in init script to start earlierColin Walters2010-01-281-1/+1
| | | | Patch from Fedora.
* add lsb headers to init script (FDO Bug #11491)John (J5) Palmieri2008-01-151-0/+10
| | | | | | 2008-01-15 John (J5) Palmieri <johnp@redhat.com> * bus/messagebus.in: add lsb headers (FDO Bug #11491)
* * bus/messagebus.in, bus/rc.messagebus.in: run dbus-uuidgen --ensureJohn (J5) Palmieri2006-10-191-0/+4
| | | | when starting the system bus
* 2005-01-18 Havoc Pennington <hp@redhat.com>Havoc Pennington2005-01-181-3/+3
| | | | * rename dbus-daemon-1 to dbus-daemon throughout
* 2003-07-28 Havoc Pennington <hp@redhat.com>Havoc Pennington2003-07-281-8/+12
| | | | | | * bus/messagebus.in: fix to avoid processname/servicename confusion, from Michael Kearey https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=100965
* 2003-04-11 Havoc Pennington <hp@redhat.com>Havoc Pennington2003-04-111-0/+1
| | | | | | * bus/messagebus.in: remove pid file when stopping the message bus, since the bus won't have privileges to remove it itself.
* 2003-04-06 Havoc Pennington <hp@pobox.com>Havoc Pennington2003-04-061-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dbus/dbus-sysdeps.c (_dbus_become_daemon): write the pidfile here in the parent process, so we can return an error if it fails. Also, move some of the code into the child so the parent is less hosed if we fail midway through. * bus/bus.c (bus_context_new): move pidfile detection further up in the function, before we start overwriting sockets and such. * bus/messagebus.in: adjust this a bit, not sure if it will work. * configure.in: add --with-system-pid-file and --with-system-socket 2003-04-06 Colin Walters <walters@verbum.org> * configure.in (DBUS_SYSTEM_PID_FILE): New variable. * bus/system.conf.in: Declare a pidfile. * bus/bus.c (bus_context_new): Test for an existing pid file, and create one (if appropriate). * bus/config-parser.c (enum ElementType) [ELEMENT_PIDFILE]: New. (struct BusConfigParser) [pidfile]: New. (element_type_to_name, merge_included, start_busconfig_child) (bus_config_parser_end_element, bus_config_parser_content): Handle it. (bus_config_parser_unref): Free it. (bus_config_parser_get_pidfile): New function. * bus/config-parser.h (_dbus_write_pid_file): Prototype. * dbus/dbus-errors.h (DBUS_ERROR_PIDFILE_EXISTS): New error. * dbus/dbus-sysdeps.c (_dbus_write_pid_file): New function. * dbus/dbus-sysdeps.h: Prototype it.
* 2003-03-31 Havoc Pennington <hp@redhat.com>Havoc Pennington2003-03-311-0/+69
* bus/Makefile.am (install-data-hook): create /var/run/dbus * bus/messagebus.in: add init script for Red Hat /etc/init.d * configure.in: add support for specifying a style of init script to install