Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | journald: Properly handle journal EOF | Tomas Bzatek | 2014-04-18 | 4 | -21/+95 | |
| | | | | | | | | | | | | | | | | | | | The logic of handling EOF is incompatible between journald API and CIM_MessageLog model we use. The CIM_MessageLog.GetRecord() method allows stepping to the next record after data retrieval but there's no specific return code for the EOF case. And returning failure code makes the client application think the whole data retrieval has failed and thus throwing away the last record. To work around this case, a new flag has been introduced to the IterationIdentifier string, which is considered opaque to the client. That way we return success from the GetRecord() method call and putting a flag to the IterationIdentifier string so that any successive GetRecord() method call properly fails without any data loss. Care is taken of the case when a new message is logged between the GetRecord() calls. This commit also adds the CIM_MessageLog.PositionToLastRecord() method for convenient access to the end of the journal. | |||||
* | Software-dbus: refactor & cleanup 2 | Peter Schiffer | 2014-04-18 | 4 | -222/+166 | |
| | ||||||
* | Update job_request decorator for Python 2.6 | Jan Safranek | 2014-04-17 | 1 | -2/+4 | |
| | | | | | There is no inspect.callargs there, so we must assume that 'async' is in kwargs. | |||||
* | Update job_handler decorator for Python 2.6 | Jan Safranek | 2014-04-17 | 1 | -8/+16 | |
| | | | | | | There is no inspect.callargs there. As a simple workaround, 'job' must be the first parameter in decorated method. | |||||
* | Fixed loading of logging config. | Jan Safranek | 2014-04-17 | 2 | -2/+2 | |
| | | | | | - use correct config file path - read correct config file item | |||||
* | Software-dbus: refactor & cleanup | Peter Schiffer | 2014-04-17 | 5 | -202/+214 | |
| | ||||||
* | Service-legacy (non d-bus): | Vitezslav Crhonek | 2014-04-17 | 5 | -5/+78 | |
| | | | | | | - Add support for building service-legacy provider into cmake files (OFF by default) - Add service-legacy mof file (no indications, builds with older cmake) - Fix service enumeration (use chkconfig) | |||||
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providers | Ales Ledvinka | 2014-04-16 | 2 | -2/+2 | |
|\ | ||||||
| * | Software-dbus: fix resolving of older packages | Peter Schiffer | 2014-04-15 | 2 | -2/+2 | |
| | | | | | | | | | | | | Function pk_task_resolve_sync() won't return all versions of required package, so this patch replaces this function with pk_task_search_names_sync() which returns all versions of given package. | |||||
* | | Merge branch 'master' of https://git.fedorahosted.org/git/openlmi-providers | Ales Ledvinka | 2014-04-16 | 1 | -3/+16 | |
|\| | ||||||
| * | Disable the openlmi-devassistant subpackage on rhel | Tomas Bzatek | 2014-04-15 | 1 | -3/+16 | |
| | | | | | | | | | | RHEL 7.0 comes with a rather old devassistant package version than we require so let's disable DevAssistant support for OpenLMI temporarily. | |||||
* | | python 2.6 newclass | Ales Ledvinka | 2014-04-16 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch 'master' of https://git.fedorahosted.org/git/openlmi-providers | Ales Ledvinka | 2014-04-15 | 3 | -14/+15 | |
|\| | ||||||
| * | power: use proper poweroff/reboot commands with sysvinit | Radek Novacek | 2014-04-10 | 1 | -3/+3 | |
| | | | | | | | | The commands/options that were used are not compatible with sysvinit. | |||||
| * | power: check if connection to Logind DBus is valid | Radek Novacek | 2014-04-10 | 1 | -9/+10 | |
| | | ||||||
| * | fix for older versions of cmake | Radek Novacek | 2014-04-10 | 2 | -2/+2 | |
| | | | | | | | | | | Older versions of cmake needs to have absolute path in the destination paremeter of configure_file command. | |||||
* | | python 2.6 compatibility. fix conversion of string into character set error. | Ales Ledvinka | 2014-04-15 | 5 | -29/+29 | |
| | | ||||||
* | | python2.6 review one omission | Ales Ledvinka | 2014-04-14 | 1 | -3/+3 | |
| | | ||||||
* | | python2.6 syntax conversion, review comments for set performance | Ales Ledvinka | 2014-04-14 | 4 | -8/+8 | |
| | | ||||||
* | | python2.6 support, review comment performance of set([]) | Ales Ledvinka | 2014-04-14 | 9 | -53/+53 | |
| | | ||||||
* | | python2.6 software provider | Ales Ledvinka | 2014-04-11 | 8 | -20/+20 | |
|/ | ||||||
* | Service-dbus: Improve EnumerateInstances efficiency | Vitezslav Crhonek | 2014-04-10 | 3 | -15/+249 | |
| | ||||||
* | Add missing pthread.h inclusion | Radek Novacek | 2014-04-09 | 1 | -0/+1 | |
| | ||||||
* | Service (non d-bus): Use mkstemp instead of mktemp and minor updates | Vitezslav Crhonek | 2014-04-08 | 5 | -16/+71 | |
| | ||||||
* | Software-dbus: implemented MemberOfSoftwareCollectionProvider | Peter Schiffer | 2014-04-04 | 5 | -90/+750 | |
| | ||||||
* | Software-dbus: implemented HostedSoftwareCollectionProvider | Peter Schiffer | 2014-03-31 | 1 | -3/+41 | |
| | ||||||
* | devassistant: Add a subpackage to the spec file | Tomas Bzatek | 2014-03-28 | 1 | -3/+20 | |
| | ||||||
* | Software-dbus: enhanced error reporting | Peter Schiffer | 2014-03-28 | 4 | -35/+66 | |
| | ||||||
* | Software-dbus: Implemented SoftwareIdentityResourceProvider | Peter Schiffer | 2014-03-27 | 2 | -4/+183 | |
| | ||||||
* | Software-dbus: implemented LMI_SystemSoftwareCollectionProvider | Peter Schiffer | 2014-03-26 | 4 | -6/+46 | |
| | ||||||
* | Software-dbus: Implemented SoftwareIdentity Provider | Peter Schiffer | 2014-03-26 | 5 | -13/+584 | |
| | | | | Implemented SoftwareIdentity Provider in Software-dbus using PackageKit. | |||||
* | Fix incorrect array length when reading provider config options | Radek Novacek | 2014-03-25 | 2 | -30/+20 | |
| | | | | | Use NULL terminated array instead of obtaining array length using sizeof (which doesn't work in this case). | |||||
* | account: Add tests for invalid system files | Alois Mahdal | 2014-03-25 | 2 | -1/+570 | |
| | | | | | | Each test creates an instance it LMI_Account, then intentionally cripples one of system files related to users/groups, and performs a simple sanity test that checks if instance properties are readable. | |||||
* | Software-dbus: started new software-dbus provider | Peter Schiffer | 2014-03-14 | 27 | -0/+4345 | |
| | ||||||
* | python: fixed SystemName verification | Michal Minar | 2014-03-10 | 1 | -2/+8 | |
| | | | | | | If hostname can not be translated to IP, provider thinks it does not belong to running system. This change makes sure that hostname is properly recognized and no traceback is trown. | |||||
* | Account: Try to make coverity happy. | Robin Hack | 2014-03-05 | 1 | -3/+5 | |
| | | | | Fix nonsense if statement in indication_common.c. | |||||
* | account: Added test for race conditions | Alois Mahdal | 2014-02-27 | 3 | -0/+406 | |
| | | | | | | | | Based on bug 1061153, these tests attempt to create, modify or delete users from a number of threads. Clean up is done by reverting backup of /etc/passwd, /etc/groups, /etc/shadow and /etc/gshadow. | |||||
* | devassistant: Add C and Python provider templates | Tomas Bzatek | 2014-02-25 | 21 | -0/+1594 | |
| | | | | | | This commit introduces basic Developer Assistant support for generating C and Python OpenLMI providers. Turned off by default, enable with -DWITH-DEVASSISTANT=ON cmake argument. | |||||
* | Hardware: documented temperature field for Disk Drive | Peter Schiffer | 2014-02-14 | 1 | -0/+1 | |
| | ||||||
* | Hardware: added VirtualMachine field to the Chassis provider | Peter Schiffer | 2014-02-14 | 6 | -3/+106 | |
| | ||||||
* | Account: Race conditions fixes (like: bz#1061150) | Robin Hack | 2014-02-13 | 5 | -87/+149 | |
| | | | | | | | | | This patch solves: * Avoid race conditions with shadow-utils. * Avoid race condition with libuser: uid/gid "sharing" amoung users/groups. * Fix deadlock in lock.c code. This patch introduces giant lock which is held for all write operations. | |||||
* | Providers: Enable hardware provider tests. | Robin Hack | 2014-02-13 | 1 | -1/+1 | |
| | ||||||
* | Hardware: added temperature to the DiskDriveProvider | Peter Schiffer | 2014-02-10 | 4 | -1/+21 | |
| | ||||||
* | logicalfile: fix GetInstance() on a socket file | Jan Synacek | 2014-02-10 | 1 | -0/+3 | |
| | ||||||
* | Hardware: minor CPU provider updates | Peter Schiffer | 2014-02-06 | 2 | -6/+20 | |
| | | | | | * added cpu name fallback to ProcessorChip class * added stepping fallback for virtual CPUs to Processor class | |||||
* | Hardware: use unknown RPM value if real value is unavailable | Peter Schiffer | 2014-02-05 | 1 | -3/+8 | |
| | ||||||
* | Hardware: don't set ConfiguredMemoryClockSpeed if it's unknown | Peter Schiffer | 2014-02-05 | 1 | -2/+4 | |
| | ||||||
* | Hardware: better cpu name fallback | Peter Schiffer | 2014-02-04 | 1 | -1/+5 | |
| | ||||||
* | Hardware: fixed memory leak | Peter Schiffer | 2014-02-04 | 1 | -0/+2 | |
| | ||||||
* | Hardware: updated tests README | Peter Schiffer | 2014-02-04 | 1 | -7/+10 | |
| |