| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The httpd service on suse and ubuntu/debian systems is usually
called "apache2" nowadays.
Note: There are older installs with Apache 1.3 out there, in which case
the service is called "apache". An extra check for these installs could
be useful as a sequel to this patch...
Michael
(This used to be ctdb commit b9e50e3416fecef6a881be3f1b91be977299293f)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit 9e2245b9bb795e2d757aacd706a9861a59d1638e)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit 79b8c87338a2d40464e87e501daae403a2f14427)
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a new configure option "--with-logdir".
logdir defaults to "${localstatedir}/log" .
It is important to have logdir configurable for debian systems,
where localstatedir is set to "/var/lib" and not "/var".
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit b0c6854d1e886456fabdc8f1c3bd21c89311c601)
|
|
|
|
|
|
|
|
| |
This is embarassing...
Michael
(This used to be ctdb commit dbd90f6210617b23d5695c4c868392363c75d23b)
|
|
|
|
| |
(This used to be ctdb commit a6cdf9106074890b76d2eabe496af244e0134d31)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit 2634f1bd216ce18f061a282a53314cb1650dbd05)
|
|
|
|
|
|
|
|
|
| |
The netstat test only grepped for the ipv4 wildcard address.
Now the ipv6 wildcard listener is correctly detected as well.
Michael
(This used to be ctdb commit 78e7928797e239e71f96eb001460a0dbf943e18f)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit 25d04bbe9528fafc68751f7beb22daeee3163d34)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes tcp port monitor events on systems, where netcat or nc
is not found in /usr/bin/, Debian, for instance.
The patch also separates the process of finding the binaries and
calling them, moving the detection outside of the loop over the
ports list.
Michael
(This used to be ctdb commit 3adf100e7f0c04aaf2da9ae4c6984cdb708c3b57)
|
|
|
|
|
|
|
|
|
|
|
| |
This is not portable.
The ctdb build includes the necessary headers from includes.h.
And users of ctdb should cope with including the necessary
prerequisite headers themselves.
Michael
(This used to be ctdb commit fedc6983f5dee39152e6f400f89a3e07eab57f0c)
|
|
|
|
|
|
|
|
|
|
| |
The script extracts the version number from the spec file.
It takes an extra argument, that can be appended to the
version in the tar ball name and directory prefix.
Michael
(This used to be ctdb commit 7c813406d6ba55f6a7418f80b13b0bc83cb67928)
|
|
|
|
|
|
|
|
|
|
| |
(for struct sockaddr to be defined)
Thanks to William Jojo <w.jojo@hvcc.edu> for reporting.
Michael
(This used to be ctdb commit 7558bca1e99884c02747adb7cbea799d04ee24d5)
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the autoconf 2.63 warning
"suspicious cache-id, must contain _cv_ to be cached".
Thanks to William Jojo <w.jojo@hvcc.edu> for reporting.
Michael
(This used to be ctdb commit f7be553ed0826d31759812d58db91589ccdf8a8c)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit c9a0330989421afc138db6d195acf93f5eeda9fb)
|
|
|
|
|
|
|
|
| |
metze / Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit 9d12de1ca6107801dada927729e755c0949d73bf)
|
|
|
|
|
|
|
|
| |
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit 1461b78c47810073f8637bc4592cacaadcdaf14b)
|
|
|
|
|
|
|
|
| |
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit 8b5f1e80e3e2e9ca2198e1baee8af36aa5d6c5b5)
|
|
|
|
|
|
|
|
| |
metze
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit de71ce2195bb4f6a96b12437a2d4d1424fd1c59c)
|
|
|
|
|
|
|
|
|
|
| |
Set sin_port or sin6_port to 0, depending on sa_family.
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit e0c70110e241b065c42c1c07f32c3657bac5d98b)
|
|
|
|
|
|
|
|
| |
protect all potentially empty $CTDB_SERVICE_* script names
Michael
(This used to be ctdb commit df0afcbf9a0308fcd6ddcce1ac9366f785576f44)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit c412c9e2d69a3f07e195259f6ad5767fa8160a94)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit b74ef95004989bcfca5fc6468a6f978a196116ca)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit 0dafb869265d0c369bb5ce45fbcabc2232d6fced)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit 145b85c948603cf977a5c5b53d9d9f63fbdba221)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for managing samba and winbind
This uses CTDB_INIT_STYLE as exported by ctdb.init.
suse systems usually have separate init scripts for
smb for smbd and nmb for nmbd, and the ubuntu/debian
start script for smbd and nmbd is called samba instead
of smb (on redhat).
Michael
(This used to be ctdb commit 5fe84f96f3f79baba1f44ba57ce217f501b3c1f8)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit 4cac2a16b70be772e4f1520020762f63c0bf3efe)
|
|
|
|
|
|
|
|
|
| |
and export CTDB_INIT_STYLE, so that event scripts
as called by ctdbd can use it.
Michael
(This used to be ctdb commit 56a10594ea9e44e3f034ac11161fd06e5ae46544)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit ab34a9480b59c649a4fc73a466c8ca0975453ed9)
|
|
|
|
| |
(This used to be ctdb commit 73a7b611bf2ef87e92d6b18c538a260aa988a2e5)
|
|
|
|
|
|
|
|
| |
This is to make rpm checks (eg.g for SuSE systems) survive.
Michael
(This used to be ctdb commit 22cafa88f59ebe50c11f5b65a414800db79405a9)
|
|
|
|
|
|
|
|
|
| |
Signed-off-by: Andreas Schneider <anschneider@suse.de>
(cherry picked from commit b39611c36bb904774fd4032bf2f8003fbdeb5d34)
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit 02893e04154c0590b235082c5a6e5726ceb25dba)
|
|
|
|
|
|
|
|
|
|
| |
--rsynceable is a patch to gzip that not all distributors / packagers
add to gzip. (It has just bitten me on openSUSE.) This path first detects
whether gzip knows about --rsynceable and then calls gzip accordingly.
Michael
(This used to be ctdb commit 62eccefc15e2ca737098980aa0b7d226df73a456)
|
|
|
|
|
|
|
|
|
|
| |
Originally, 1.0 was the version in the spec file and 68 was the release.
But in fact everyone talked about ctdb version 1.0.68.
This puts this straight...
Michael
(This used to be ctdb commit a98a3ff2aad59d51fca6a2f3e2bdcfc99e84fa70)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit 826511f759c3bfa7c587c97786b955572039d2ac)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit 32eac6fc3cce2a9d0a38add56a8bb893e4a85076)
|
|
|
|
|
|
|
|
| |
Instead, extract needed information from the dirname of the invoked name.
Michael
(This used to be ctdb commit cf1e46d734ed51b4ac2eb8a09f2f787ae5c51092)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit 25dbefc92e7303a7b679a769eb06a7c25fdcf198)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit 85e942a26f5e7d4584d31005ff88c36dca215a11)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit ef4caf6874436ff3f451b95586893e39a8cec1ad)
|
|
|
|
|
|
|
|
| |
file name
Michael
(This used to be ctdb commit 9661b7a4f3773d645d0525c4430e3cccf0f32eb5)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit b7290b0a8325021515a904ac60fa9afa019c9db1)
|
|
|
|
|
|
|
|
| |
Extend to show valid commands on Redhat and SuSE Linux.
Michael
(This used to be ctdb commit cdea4893c24511ffc1a7338ca3eb6cfd86d68086)
|
|
|
|
|
|
|
|
| |
metze
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit 3b88f3dec5227e8579672974f7028fb356ee1d94)
|
|
|
|
|
|
| |
allow clients to register either ipv4 or ipv6 client connections to the tickles list
(This used to be ctdb commit d9b44d7c3255b0fd7359b9afeb613e6ff4c4eaac)
|
|
|
|
| |
(This used to be ctdb commit fd85e53794ef7fe24c51c94534370545a0711bd4)
|
|
|
|
|
|
|
|
|
|
| |
actually exist and that it is connected.
two new dedicated ctdb error codes
21: node does not exist
22: node is disconnected
(This used to be ctdb commit 7ee6db06162ad5a554058bb6160ad37b24fe42e0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to a remote node and ctdb->methods is NULL.
This can happen when we are in the middle of a normal shutdown of the
daemon and we have already shut down the transport layer (thus setting
ctdb->methods == NULL in the transport layer destructor)
band there is some unprocessed data related to a remote node.
This prevents an ugly race condition where ctdb might sometimes (rare)
cause a core dump during "ctdb shutdown".
(This used to be ctdb commit fc4e8b5a5d3699221620a8d76701c8589f2b4ff1)
|
|
|
|
|
|
|
|
|
| |
This prevents the monitor action of 50.samba from failing
on e.g. a typical [homes] service with "path = /home/%S" .
Michael
(This used to be ctdb commit 023d6c2e3017d323b5a70f987f3b4e0b8b8f0f7b)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit a1a0fa6eb37b5432cc2b176e252856d37fcc4fc8)
|