summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * corrected indenting of 'syslog'-related shell scriptsOliver Tappe2008-03-242-13/+15
| | | | | | * only try to remove boot.klog links if such an init script exists at all git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1686 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fileget can't run in the background, in order to allow to use it's resultOliver Tappe2008-03-241-1/+7
| | | | | | | | (config) in init-hook '15-have-ip-config' * added three more init-hooks: '85-have-inital-boot', '90-postinit-done' and '95-cleanup' for finer grained control git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1685 95ad53e4-c205-0410-b2fa-d234c58c8868
* * split syslog::target into syslog::host and syslog::portOliver Tappe2008-03-244-8/+206
| | | | | | | | | | | * implemented stage3 backend for syslog-ng (syslogd still missing) * added another hook-script that: + stops busybox syslogd (in order to be superseded by native syslog daemon) + removes boot.klog if it exists (as it will hang, most probably since we have already emptied the kernel message log) With these changes, I have successfully tested remote syslog for a suse-10.2 vendor-OS. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1684 95ad53e4-c205-0410-b2fa-d234c58c8868
* * getInstalledPackages() has to fetch the info from the packager, not the Oliver Tappe2008-03-242-3/+10
| | | | | | meta-packager git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1683 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed 'precedence'-attribute and made it part of the general plugin info -Oliver Tappe2008-03-2411-123/+37Star
| | | | | | it makes no sense to have this configurable by the user git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1682 95ad53e4-c205-0410-b2fa-d234c58c8868
* Load configuration within the vmware runlevel script ...Dirk von Suchodoletz2008-03-242-12/+10Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1681 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed 'bootlog' plugin to 'syslog', as that is what it is going to ↵Oliver Tappe2008-03-242-9/+9
| | | | | | become, soon git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1680 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Adjusted OSSetup::Distro implementations to apply necessary fixes as part ↵Oliver Tappe2008-03-243-9/+66
| | | | | | | | | of any session, not just installation, since these must be executed for shell and plugin sessions, too. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1679 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Switched from explicit cleanup functions to "resource acquisition by ↵Oliver Tappe2008-03-245-121/+171
| | | | | | | | | definition", implemented by the new ScopedResource class. This change improves robustness with respect to signals and unexpected errors and makes the code cleaner. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1678 95ad53e4-c205-0410-b2fa-d234c58c8868
* * moved syscall related code into a module of its own rightOliver Tappe2008-03-233-63/+97
| | | | | | | * activated mounting of /proc again in startSession() and finishSession(), this time in a more robust fashion (which tries hard to unmount it again) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1677 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added sigtrap protection (against user pressing CTRL-C, for instance) and madeOliver Tappe2008-03-231-12/+21
| | | | | | | sure that any pending cleanup functions are invoked upon unload of module * some formatting corrections git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1676 95ad53e4-c205-0410-b2fa-d234c58c8868
* * no longer asks for root password upon install (will be done as a plugin later)Oliver Tappe2008-03-231-2/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1675 95ad53e4-c205-0410-b2fa-d234c58c8868
* Further improvements to vmware plugin ...Dirk von Suchodoletz2008-03-232-39/+51
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1674 95ad53e4-c205-0410-b2fa-d234c58c8868
* Some hints for distro specific stuff within the runlevel script toDirk von Suchodoletz2008-03-222-14/+31
| | | | | | | be generated ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1673 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for distro-specific runlevelScriptPath() [currently there's onlyOliver Tappe2008-03-222-9/+22
| | | | | | | | | a generic implementation in Distro/Base.pm - other distros may have to override it] * fixed several styleguide violations ;-) * deactivated overly simplistic backup strategy that only works once git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1672 95ad53e4-c205-0410-b2fa-d234c58c8868
* Incorporated modified vmware runlevel script into plugin. It has to beDirk von Suchodoletz2008-03-221-2/+129
| | | | | | | matched to the vendor-os (distro, version) it is installed into ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1671 95ad53e4-c205-0410-b2fa-d234c58c8868
* Slightly improved version of the vmware plugin (at least it (de)installsDirk von Suchodoletz2008-03-224-20/+46
| | | | | | | itself and the needed files) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1670 95ad53e4-c205-0410-b2fa-d234c58c8868
* * replaced busybox.i586 and .config with a version that includes syslogd and ↵Oliver Tappe2008-03-212-4/+4
| | | | | | | | klogd, both are being used be the new bootlog plugin git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1669 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added bootlog plugin which implements a remote log feature during bootOliver Tappe2008-03-212-0/+86
| | | | | | | (should hopefully be helpful for further debugging of the 'desktop' plugin) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1668 95ad53e4-c205-0410-b2fa-d234c58c8868
* Some changes for the vmware plugin to integrate properly ...Dirk von Suchodoletz2008-03-213-34/+26Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1667 95ad53e4-c205-0410-b2fa-d234c58c8868
* Busybox built with support for the ipcalc applet (replacing the oldDirk von Suchodoletz2008-03-211-0/+0
| | | | | | | shell script function ...) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1666 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed debug outputOliver Tappe2008-03-211-4/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1665 95ad53e4-c205-0410-b2fa-d234c58c8868
* changed attr applies_to_client=1 for active and themeMichael Janczyk2008-03-201-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1664 95ad53e4-c205-0410-b2fa-d234c58c8868
* * improved error handling when trying to load plugin-specific distro modules ↵Oliver Tappe2008-03-202-9/+23
| | | | | | | | (now the actual error should be shown) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1663 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed error on slxos-install (distro-info not found)Sebastian Schmelzer2008-03-201-2/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1662 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fix: Base.pm should be upper caseSebastian Schmelzer2008-03-201-0/+0
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1661 95ad53e4-c205-0410-b2fa-d234c58c8868
* * improved log output when trying to load plugin-specific distro modulesOliver Tappe2008-03-201-2/+4
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1660 95ad53e4-c205-0410-b2fa-d234c58c8868
* Checked in with wrong directory name (double underline) Dirk von Suchodoletz2008-03-2010-0/+0
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1659 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Switched indent used in Perl-code and settings files from tabs to 4 spaces.Oliver Tappe2008-03-20134-20647/+20647
| | | | | | May need some manual corrections here and there, but should basically be ok. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1658 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed several bugs with respect to the listing of plugins (as part of a systemOliver Tappe2008-03-191-7/+13
| | | | | | or vendor-OS) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1657 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added new action 'list-attributes'Oliver Tappe2008-03-191-32/+164
| | | | | | | | | * generally made the separation between stage1- and stage3-attributes clearer * improved formatting of output (IMHO) * improved POD quite a bit git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1656 95ad53e4-c205-0410-b2fa-d234c58c8868
* * acted upon outcome of todays discussion with Michael and added a new stage1 Oliver Tappe2008-03-191-20/+30
| | | | | | | | | attribute 'supported_themes', which is going to contain the themes that shall be installed into stage1 (not implemented yet) * improved many attribute details (description, content_descr and content_regex) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1655 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added separate class methods for adding stage1-, stage3- or all attributes toOliver Tappe2008-03-191-5/+79
| | | | | | a given hash and simplified the implementation git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1654 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed incorrect behaviour with respect to merging of plugin attributes:Oliver Tappe2008-03-181-3/+4
| | | | | | | we need to push them over the attributes of the default-system, not merge them - reported by Michael git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1653 95ad53e4-c205-0410-b2fa-d234c58c8868
* slightly changed pic. Esc message moved a bit left, so it fits to xdmcp themeMichael Janczyk2008-03-181-0/+0
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1652 95ad53e4-c205-0410-b2fa-d234c58c8868
* Changes to vmchooser-plugin, import of binaryBastian Wissler2008-03-183-1/+76
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1651 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Heavily worked at OSPlugin::Engine and 'desktop'-plugin. Support for stage1Oliver Tappe2008-03-177-258/+282
| | | | | | | | | attributes and most of the desktop framework is implemented. Although we have made good progress, we are not quite there yet, i.e. the desktop plugin gets the correct attributes into stage3, but it still does not work: kdm gets started although gdm should be run. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1650 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed debug outputOliver Tappe2008-03-171-2/+7
| | | | | | | | * fixed problem with respect to writing system attributes: do not filter unset attributes for the default-system, as we want that to show all existing attributes git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1649 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed several bugs in the config-demuxer caused by recent changes in pluginOliver Tappe2008-03-173-11/+37
| | | | | | | | | | | | | | | code (the way plugin info is returned from DB) * Added support to mergeDefaultAttributesIntoSystem() for merging in attributes that are stored in the installed plugins of the corresponding vendor-OS. The new order for system attribute selection is: 1. default client 2. specific system 3. vendor-OS (plugin attributes only) 4. default system git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1648 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug in addAllStage3AttributesToHash() - the actual filtering was missingOliver Tappe2008-03-171-0/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1647 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed getPackagesForSelection() to getInstallablePackagesForSelection()Oliver Tappe2008-03-171-2/+7
| | | | | | | and changed the semantics to automatically exclude packages that are already installed git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1646 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added getStage3Attrs()Oliver Tappe2008-03-171-0/+28
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1645 95ad53e4-c205-0410-b2fa-d234c58c8868
* * adjusted to recent changes in plugin-codeOliver Tappe2008-03-171-9/+9
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1644 95ad53e4-c205-0410-b2fa-d234c58c8868
* * instead of using a fixed basic path, we now supply a longer list in anOliver Tappe2008-03-171-1/+19
| | | | | | overridable method, making it possible to set distro-specific paths git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1643 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed installSelection() and removeSelection() to ...Packages(), as that'sOliver Tappe2008-03-171-1/+1
| | | | | | | what it is git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1642 95ad53e4-c205-0410-b2fa-d234c58c8868
* * renamed installSelection() and removeSelection() to ...Packages(), as that'sOliver Tappe2008-03-176-26/+34
| | | | | | | what it is * automatically replace newlines in packagelist by a space git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1641 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed bogus packages called 'gpg-pubkey' - we handle those explicitly, ↵Oliver Tappe2008-03-174-24/+0Star
| | | | | | anway. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1640 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fixed some obvious bugs ... (see #154 for discussion too)Dirk von Suchodoletz2008-03-162-18/+24
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1638 95ad53e4-c205-0410-b2fa-d234c58c8868
* Working on the vmware plugin (see comments within the files ...)Dirk von Suchodoletz2008-03-166-1/+251
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1637 95ad53e4-c205-0410-b2fa-d234c58c8868
* Moving setup of client mode (variable desktop::kind) and displaymanagerDirk von Suchodoletz2008-03-167-0/+18
| | | | | | | | (variable desktop::manager) into the desktop plugin ... the old variables start_x and start_xdmcp are deprecated in the near future ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1636 95ad53e4-c205-0410-b2fa-d234c58c8868