summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Shouldn't need to restrict btimed to IPv4 now.Dean Jansa2010-09-031-1/+0
| |
| * update btime and hbeat libs to understand ipv6 as well as ipv4.Dean Jansa2010-09-033-49/+83
| |
* | Cache last used port in bind_anyNathan Straz2010-09-291-0/+10
| | | | | | | | This way we don't try to bind to ports we already checked
* | Wait up to 30 second to establish a connectionNathan Straz2010-09-281-1/+2
| | | | | | | | | | | | The user specified time for holding a connection only. If the user uses too small a time, like if they are rebooting a node, the initial connection may fail.
* | Fix requires for selinux-policy buildNathan Straz2010-09-151-3/+3
| | | | | | | | | | These files need to be instaled before %post so mark the requirements as such.
* | Turn SELinux BuildRequires to RequiresNathan Straz2010-09-031-1/+1
| | | | | | | | | | We need these on the install system since we're building the SELinux policy at install time.
* | Remove qarshd.pp from rpm file listNathan Straz2010-08-201-2/+1
|/
* Bump version for new releasev1.26-1Nathan Straz2010-08-201-1/+6
|
* Remove pre-build selinux filesNathan Straz2010-08-201-5/+1
| | | | | These are not going to be used at all since the post-install rebuild puts it all in /etc/selinux/...
* Don't build selinux-policy during buildNathan Straz2010-08-201-4/+3
| | | | | | The policy is dynamic so should be built on the system after install since we can't guarantee that the build chroot includes the latest selinux-policy package.
* Remove use of policyhelpNathan Straz2010-08-201-7/+1
| | | | The file is gone is recent RHEL6 trees
* Allow all domains more rights to qarshd_t socketsNathan Straz2010-06-301-2/+4
| | | | | | qarshd_t sockets end up as stdin, stdout, and stderr. Some programs will fstat them to determine what they are or change flags on the file descriptor, this is ok.
* [selinux] Require makeNathan Straz2010-06-171-1/+1
| | | | Make is needed to rebuild the qarshd selinux policy.
* Set child_pid to 0 after child returnsNathan Straz2010-06-031-0/+1
| | | | This is mostly for clarity while debugging qarshd.
* Close file descriptors left open by parent processNathan Straz2010-04-281-0/+4
| | | | | | Running things in parallel with pthreads in perl can lead to file descriptor leaks which may cause hangs in qarsh.
* Only include lvm and logging parts of system policyNathan Straz2009-12-032-17/+11
| | | | | There were a lot of bad things to include in the system layer. Exclude anything with "spec" in the name.
* Add system interfaces to qarshd policyNathan Straz2009-11-302-1/+8
| | | | | This allows qarshd to make any system interface transition. Tested against selinux-policy-3.6.32-41.fc12.noarch.
* Fix warnings from rpmlintNathan Straz2009-11-241-10/+10
| | | | | - Switch to tabs on all fields - Change to valid groups
* Bump version for new releasev1.25-1Nathan Straz2009-11-201-2/+9
|
* Update bad-interfaces for Fedora 12Nathan Straz2009-11-201-17/+11
|
* Pull in all services and apps interfacesNathan Straz2009-11-194-21/+46
| | | | | | | | This isn't completely possible because some interfaces cause syntax or load errors. We need to keep a list of interfaces to filter out to get something that loads. This adds gxpp as a requirement to build qarsh.
* Clean the SELinux directory after installNathan Straz2009-10-221-0/+1
| | | | This will prevent temp files from being packaged
* Add SELinux policy for qarshdNathan Straz2009-10-226-1/+116
| | | | We generate the policy based on which services we want to test.
* Only look up local username if remote not specifiedNathan Straz2009-10-081-4/+4
| | | | | | In rare cases the getpwuid() call will fail because of a YP or LDAP timeout. If we're not using the local username we shouldn't even bother looking it up.
* Add quiet option, document exit statusNathan Straz2009-10-012-7/+16
|
* Handle growing files better in qacpNathan Straz2009-09-141-3/+19
| | | | | | Cache the results from the rstat packet and use that file size during the following sendfile so we don't send more than qacp is expecting. This should allow us to qacp root@host:/var/log/messages
* Check Makefile to make an archive from gitv1.24-2Nathan Straz2009-04-171-11/+7
|
* Fix up spec file to work with proper tarballsNathan Straz2009-04-171-8/+11
|
* Bump version for new buildv1.24-1Nathan Straz2009-04-171-1/+9
|
* [qarsh] Handle a very broken qarshdNathan Straz2009-03-271-1/+5
| | | | | | If qarshd is broken enough that it can't load libxml2.so, it won't return an XML packet which we can parse. set_remote_user() really needs to error out of we didn't get a packet back.
* [btime] Increase time to wait for responseNathan Straz2009-03-271-1/+1
| | | | | A quarter of a second may be too short for some connections. Increasing it to half a second should make it more reliable.
* [btimec] Fail if the host is downNathan Straz2009-03-271-1/+3
| | | | Make btimec return proper exit codes so it is more useful in scripts.
* [qacp] Fix improper free when connect failsNathan Straz2009-02-051-5/+5
| | | | | Freeing from the middle of an allocated string is not right. Keep a pointer to the strdup so we can free it correctly.
* [qarsh] Remove continue which could make qarsh hangNathan Straz2009-01-081-4/+0
| | | | | | | | | I don't know how, but I found one instance of qarsh looping through the pselect loop with a one second timeout. If the command has exited and the output file descriptors are all closed, we fall onto this continue which prevents us from getting to the break at the end of the loop. The only thing the continue skips over is that check which we really should check, so remove the continue.
* [qacp] Check that we have two or more pathsNathan Straz2008-12-011-1/+1
|
* Force btimed to be an IPv4 serviceNathan Straz2008-11-251-0/+1
| | | | | When we tried it out on Fedora 10, it was sending responses to IPv6 addresses and returning ENETUNREACH (Network is unreachable).
* Bump version to include pselect speedup.v1.23-1Nathan Straz2008-11-101-1/+5
|
* Don't wait until after the pselect to see if we're done.Nathan Straz2008-11-071-7/+8
| | | | | | All the actions which need to be done before we exit are done after the pselect. Waiting until after the next pselect can cause us to sit for a second before we exit, which slows down things which use qarsh.
* [man] Add an important missing word to qarsh man page.Nathan Straz2008-11-031-1/+1
| | | | Interactive logins are definitely NOT supported by qarsh.
* Bump version to include qarsh fixes.v1.22-1Nathan Straz2008-10-311-1/+5
|
* [qarsh] Fix double-free and command hangNathan Straz2008-10-201-11/+14
| | | | | | | | | | | | | | We need to test all exit conditions at once so we fall back into the hbeat code. I was falling into a case when running "reboot -fin &" where the command would exit, but the sockets would not close and we weren't getting to hbeat() to detect the reboot. In another case which I can't completely explain, we were getting a double-free error from glibc in the qpfree() at the end of run_remote_cmd(). Instead of waiting until the very end to read the exit status, save it off as soon as we get the packet and use cmd_exitted to determine if we have an exit code or if something went horribly wrong.
* Bump version to include qacp fix.v1.21-1Nathan Straz2008-10-141-1/+6
|
* [qacp] Fix double-free when copying file to fileNathan Straz2008-10-141-1/+1
| | | | | A previous commit added tmprstatp, which wasn't being checked just after it was assigned.
* [btimed] Use /proc/uptime when availableNathan Straz2008-10-141-2/+15
| | | | | | | It turns out the boot time being returned to btimec is has not been correct for quite a while. There was probably a change to HZ which isn't reflected properly in _SC_CLK_TCK. This needs some more error checking, but it works for now.
* Bump version to include last fix.v1.20-1Nathan Straz2008-10-101-1/+5
|
* Fix the memory leak fix. The first attempt broke multiple file copy support. ↵Dean Jansa2008-10-101-4/+7
| | | | | | sendfiles should be re-written and broken into single file and multi-file cases to make this cleaner. Signed-off-by: Dean Jansa <djansa@redhat.com>
* Bump version to include latest fixes.v1.19-1Nathan Straz2008-10-101-2/+7
|
* typo fixDean Jansa2008-09-231-1/+1
|
* Fix Copyright lines. vi sure doesn't like that copyright symbol in my termDean Jansa2008-09-233-3/+3
|
* Plug some memory leaksDean Jansa2008-09-233-13/+37
|