1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/ctdb/config
Martin Schwenke bc59e508d3 ctdb-eventscripts: Remove special case for virtio_net
The current check is incorrect in 2 ways:

* Commit be71a84565 contained a thinko
  that stops virtio_net interfaces from simply being marked up

* virtio_net interfaces can actually be down

virtio_net has supported ethtool since Linux 2.6.29, so just remove
the special case.  This means that testing CTDB on very old virtual
machines is not supported.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Thu Jul 31 13:08:47 CEST 2014 on sn-devel-104
2014-07-31 13:08:47 +02:00
..
events.d ctdb-eventscripts: Remove special case for virtio_net 2014-07-31 13:08:47 +02:00
nfs-rpc-checks.d eventscripts: Become unhealthy faster on nfsd failure 2013-08-14 16:10:30 +10:00
ctdb-crash-cleanup.sh scripts: drop_all_public_ips() now prints messages to stdout, not log 2013-06-20 13:01:09 +10:00
ctdb.init Add missing $remote_fs LSB dependency 2013-10-24 16:54:08 +11:00
ctdb.service initscript: Update systemd configuration to put PID file in /run/ctdb 2013-10-25 12:06:07 +11:00
ctdb.sudoers statd-callout: Make sure statd callout script always runs as root 2013-04-08 11:14:28 +10:00
ctdb.sysconfig ctdb-config: Simplify the default CTDB configuration file 2013-11-27 18:46:17 +01:00
ctdbd_wrapper initscript: New configuration variable CTDB_DBDIR_STATE 2013-10-22 14:34:05 +11:00
debug_locks.sh ctdb-scripts: Be careful when generating unique pids for stack traces 2013-11-27 18:46:17 +01:00
debug-hung-script.sh ctdb-tests: Fix racy test for debugging hung scripts 2014-07-03 08:19:22 +02:00
functions ctdb-scripts: Support NFS on RHEL7 with systemd 2014-07-07 10:59:56 +02:00
gcore_trace.sh common: Debug ctdb_addr_to_str() using new function ctdb_external_trace() 2012-10-18 20:05:42 +11:00
notify.d.README scripts: Rework notify.sh to use notify.d/ directory 2013-05-23 16:18:23 +10:00
notify.sh scripts: Rework notify.sh to use notify.d/ directory 2013-05-23 16:18:23 +10:00
README Eventscript support - Remove unused interface_modify.sh 2012-03-22 15:30:27 +11:00
statd-callout ctdb-scripts: Add an early exit to statd-callout's notify case 2013-11-27 18:46:16 +01:00

This directory contains run-time support scripts for CTDB.

Selected highlights:

  ctdb.init

    An initscript for starting ctdbd at boot time.

  events.d/

    Eventscripts.  See events.d/README for more details.

  functions

    Support functions, sourced by eventscripts and other scripts.

  statd-callout

    rpc.statd high-availability callout to support lock migration on
    failover.

Notes:

* All of these scripts are written in POSIX Bourne shell.  Please
  avoid bash-isms, including the use of "local" variables (which are
  not available in POSIX shell).

* Do not use absolute paths for commands.  Unit tests attempt to
  replace many commands with stubs and can not do this if commands are
  specified with absolute paths.  The functions file controls $PATH so
  absolute paths should not be required.