summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * made names of distro module consistent across OpenSLX - now the always ↵Oliver Tappe2008-04-0644-421/+466
| | | | | | | | | | | | start with a capital letter followed by all lowercase (Debian, Fedora, Gentoo, Suse, Ubuntu) * refactored loading of distro modules into a separate function (loadDistroModule() in Basics.pm) * finished support to logging to a file in syslog plugin * worked at desktop plugin (still not working, though) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1721 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Instead of passing all known attributes of the current system into each ↵Oliver Tappe2008-04-031-1/+11
| | | | | | | | | | | plugin, we now create a hash containing only the attributes relating to that plugin. This should simplify checking the attributes in each plugin. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1720 95ad53e4-c205-0410-b2fa-d234c58c8868
* * finally corrected algorithm for merging attributes from default-system & ↵Oliver Tappe2008-04-031-7/+8
| | | | | | | | vendor-OS into a specific system - fixing #213 git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1719 95ad53e4-c205-0410-b2fa-d234c58c8868
* * vmplayer doesn't like to be the small brother and tried to fake the ↵Volker Uhrig2008-04-011-1/+1
| | | | | | | | | identity while trying to execute the missing vmware binary... fixed. no errors anymore. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1717 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed missing filepermissionVolker Uhrig2008-04-011-7/+6Star
| | | | | | | * removes installed links after plugin uninstall git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1716 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed missing range. dhcpd.conf is now correct writtenVolker Uhrig2008-04-011-10/+11
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1715 95ad53e4-c205-0410-b2fa-d234c58c8868
* * rename variableVolker Uhrig2008-03-312-4/+7
| | | | | | | * added comments for later work git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1713 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Minor fix of array declaration and arraynameVolker Uhrig2008-03-311-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1712 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed a few definition of my. They caused in emtpy variables laterVolker Uhrig2008-03-311-10/+19
| | | | | | | * minor changes git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1711 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added TODO about missing documentationOliver Tappe2008-03-311-0/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1710 95ad53e4-c205-0410-b2fa-d234c58c8868
* * minor fix, reported by DirkVolker Uhrig2008-03-311-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1709 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Removed deprecated dhcpd.conf and nat.confVolker Uhrig2008-03-294-79/+12Star
| | | | | | | * minor modifications like missing check of arguments git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1708 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cleaned up code. written configuration are now easier to understandVolker Uhrig2008-03-291-24/+74
| | | | | | | | and modify. * moved creation of vmnet1/vmnet8 devices to the new device section git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1707 95ad53e4-c205-0410-b2fa-d234c58c8868
* Removed debugging print which was accidentally left behind :)Michael Janczyk2008-03-271-1/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1703 95ad53e4-c205-0410-b2fa-d234c58c8868
* New plugin concept: Default theme and splashy binaries moved to plugin. ↵Michael Janczyk2008-03-2719-34/+49
| | | | | | Makefile modified: removed copy of splashy, theme dir shouldn't be copied either after display theme and pxe theme have been moved as well. Added support of own themes in config-path/plugins/bootsplash/themes. New init-hooks added, not really necessary. A few cosmetic corrections ->styleguide git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1702 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Changed check of syscall from die() to warn() in order to let the callerOliver Tappe2008-03-271-1/+1
| | | | | | | continue. Of course, this ain't going to fix anything, but it might help to see what's going wrong after failing to enter 32-bit personality. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1700 95ad53e4-c205-0410-b2fa-d234c58c8868
* * err: removed debug output in slxldd that caused tool to failOliver Tappe2008-03-261-1/+0Star
| | | | | | | everytime :-/ git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1699 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug that caused libraries from ld.so.conf to be overwritten,Oliver Tappe2008-03-261-1/+2
| | | | | | | if other conf-files exist git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1698 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added log output when entering 32-bit personalityOliver Tappe2008-03-261-0/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1697 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Deactivated DB-schema version 0.28, as it does not work with the currentOliver Tappe2008-03-261-1/+5
| | | | | | | implementation (it tries to access a table which is created in the next DB-schema version). git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1696 95ad53e4-c205-0410-b2fa-d234c58c8868
* perl cosmetics and a shorter username entry for kdm, so the enter button ↵Michael Janczyk2008-03-262-3/+3
| | | | | | isn't beneath it. Dirk didn't like it :(. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1695 95ad53e4-c205-0410-b2fa-d234c58c8868
* ... same as r1692 for Base.pm ...Dirk von Suchodoletz2008-03-261-4/+4
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1693 95ad53e4-c205-0410-b2fa-d234c58c8868
* Hiding of linebreaks in shell have to be escaped (\\), otherwiseDirk von Suchodoletz2008-03-264-20/+13Star
| | | | | | | | they arn't properly written by the perl script. There is still a bug with passing the variable $location properly ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1692 95ad53e4-c205-0410-b2fa-d234c58c8868
* Writing distro specific runlevel scripts the trivial way. Should beDirk von Suchodoletz2008-03-257-121/+610
| | | | | | | | improved and generalized (to be usable for other plugins too, see #211) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1691 95ad53e4-c205-0410-b2fa-d234c58c8868
* * 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