I've done some continuing work on the server-manager Update system panel. As mentioned this panel will install standard rpms, packaged rpms and upd packaged files.
To show an example of how this works I have combined all the user-manager rpms and packaged them into one rpm. So, keeping in mind this is still very experimental and has had limited testing.... on a non production server, with a fresh install of SME 5.1.2, please take a moment and see how this all works. STEP 1: download and install the update system rpm http://myezserver.com/downloads/mitel/contrib/update-system-0.0.1/ rpm -Uvh devinfo-mitel-update-system-0.0.1-8.noarch.rpm STEP 2: download the user-manager-pkg rpm to your local workstation and use the server-manager, Update system panel to upload and install. http://myezserver.com/downloads/mitel/contrib/user-manager/package/ devinfo-mitel-user-manager-pkg-1.noarch.rpm STEP 3: use the View log files panel to view the rpmlist.log which will show you all installed rpms. ----------------------------- NOTES: Building Packaged RPMS ----------------------------- There are a few key points to note when you are building rpms for install via the Update system panel: 1) Use absolute command paths in your spec file. An easy way to determine the absolute path of a command is to use the command 'which'. For instance to determine where rm and find are located you would enter and receive this information: [root@e-smith /root]# which rm /bin/rm [root@e-smith /root]# which find /usr/bin/find 2) If you need to restart httpd, httpd-e-smith, httpd-admin in the %post section of your rpm do this via a graceful restart: /etc/rc.d/init.d/httpd graceful /etc/rc.d/init.d/httpd-e-smith graceful /etc/rc.d/init.d/httpd-admin graceful Any other method will cause problems with the Update system panel, which requires httpd to be running of course. So have fun and take a look at the overall process. In brief the packaged rpm installs the rpms into /opt/user-manager where install.sh is copied into /tmp/install.sh for execution via the Update system panel events. To take a deeper look, install devinfo-mitel-user-manager-pkg-1.src.rpm to view the spec file and tarball. Regards, -- Darrell May DMC Netsourced.com http://netsourced.com http://myEZserver.com -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
