From: kupcevic@sourceware.org <kupcevic@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga ./conga.spec.in.in make/version.in
Date: 27 Jun 2006 21:15:31 -0000 [thread overview]
Message-ID: <20060627211531.17075.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: conga
Changes by: kupcevic at sourceware.org 2006-06-27 21:15:31
Modified files:
. : conga.spec.in.in
make : version.in
Log message:
Luci persists users/clusters/systems/permissions across upgrades; version bump to 0.8-6
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/conga.spec.in.in.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/make/version.in.diff?cvsroot=cluster&r1=1.6&r2=1.7
--- conga/conga.spec.in.in 2006/06/19 21:21:54 1.8
+++ conga/conga.spec.in.in 2006/06/27 21:15:30 1.9
@@ -42,7 +42,13 @@
BuildRequires: net-snmp-devel tog-pegasus-devel
%description
-conga source rpm
+Conga is a project developing management system for remote stations.
+It consists of luci, https frontend, and ricci, secure daemon that dispatches
+incoming messages to underlying management modules.
+
+This package contains source code of Conga and
+Red Hat Enterprise Linux Cluster Suite ricci/SNMP/CIM module/agent/provider.
+
%prep
%setup -q
@@ -81,8 +87,11 @@
%description -n luci
-luci description
-This package contains Luci website
+Conga is a project developing management system for remote stations.
+It consists of luci, https frontend, and ricci, secure daemon that dispatches
+incoming messages to underlying management modules.
+
+This package contains Luci website.
%files -n luci
@@ -103,20 +112,40 @@
%post -n luci
/sbin/chkconfig --add luci
+if [ -e /var/lib/luci/var/luci_backup.xml ]; then
+ /sbin/service luci status >/dev/null 2>$1
+ LUCI_RUNNING=$?
+ if [ "$LUCI_RUNNING" = "0" ]; then
+ /sbin/service luci stop >/dev/null 2>$1
+ fi
+ /usr/sbin/luci_admin restore >/dev/null 2>$1
+ if [ "$LUCI_RUNNING" = "0" ]; then
+ /sbin/service luci start >/dev/null 2>$1
+ fi
+fi
if [ ! -e /var/lib/luci/var/certs/privkey.pem ]; then
- # no privkey.pem -> luci not initialized
- # set initial random admin password
- T_PASS=`dd if=/dev/urandom bs=5M count=1 2> /dev/null | sha1sum`
- for i in $T_PASS; do
- if [ "-" != $i ] ; then
- echo -n "admin:{SHA}$i" > /var/lib/luci/inituser
- fi
- done
- /bin/chmod 600 /var/lib/luci/inituser
- /bin/chown luci /var/lib/luci/inituser
+ # no privkey.pem -> luci not initialized
+ # set initial random admin password
+ T_PASS=`dd if=/dev/urandom bs=5M count=1 2> /dev/null | sha1sum`
+ for i in $T_PASS; do
+ if [ "-" != $i ] ; then
+ echo -n "admin:{SHA}$i" > /var/lib/luci/inituser
+ fi
+ done
+ /bin/chmod 600 /var/lib/luci/inituser
+ /bin/chown luci /var/lib/luci/inituser
fi
%preun -n luci
+/sbin/service luci status >/dev/null 2>$1
+LUCI_RUNNING=$?
+if [ "$LUCI_RUNNING" = "0" ]; then
+ /sbin/service luci stop >/dev/null 2>$1
+fi
+/usr/sbin/luci_admin backup >/dev/null 2>$1
+if [ "$LUCI_RUNNING" = "0" ]; then
+ /sbin/service luci start >/dev/null 2>$1
+fi
if [ "$1" = 0 ]; then
/sbin/service luci stop >/dev/null 2>$1
/sbin/chkconfig --del luci
@@ -163,9 +192,12 @@
Provides: ricci-modlog
%description -n ricci
-ricci description
-Remote management system.
-This package contains listening daemon, as well as reboot, rpm, storage, service and log management modules.
+Conga is a project developing management system for remote stations.
+It consists of luci, https frontend, and ricci, secure daemon that dispatches
+incoming messages to underlying management modules.
+
+This package contains listening daemon (dispatcher), as well as
+reboot, rpm, storage, service and log management modules.
%files -n ricci
@@ -261,7 +293,12 @@
Conflicts: clumon
%description -n ricci-modcluster
-ricci-modcluster description
+Conga is a project developing management system for remote stations.
+It consists of luci, https frontend, and ricci, secure daemon that dispatches
+incoming messages to underlying management modules.
+
+This package contains Red Hat Enterprise Linux Cluster Suite ricci management module.
+
%files -n ricci-modcluster
%defattr(-,root,root)
@@ -314,7 +351,7 @@
Conflicts: clumon-snmp
%description -n cluster-snmp
-SNMP agent for Red Hat Enterprise Linux Cluster Suite
+SNMP agent for Red Hat Enterprise Linux Cluster Suite.
%files -n cluster-snmp
%defattr(-,root,root)
@@ -356,7 +393,7 @@
Conflicts: clumon-cim
%description -n cluster-cim
-CIM provider for Red Hat Enterprise Linux Cluster Suite
+CIM provider for Red Hat Enterprise Linux Cluster Suite.
%files -n cluster-cim
%defattr(-,root,root)
@@ -388,13 +425,15 @@
%changelog
+* Tue Jun 27 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.8-6
+- Luci persists users/clusters/systems/permissions across upgrades
* Fri Jun 16 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.8-4
- Moved storage, service, log and rpm modules into main ricci.rpm.
* Wed Jun 14 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.8-1
- Packaged cluster-snmp (cluster snmp agent)
- Packaged cluster-cim (cluster CIM provider)
* Mon Jun 06 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.7-5
-- Disable non-https access to Luci, enable https on port 8181
+- Disable non-https access to Luci, enable https on port 8084
* Mon Jun 02 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.7-1
- Packaged Luci - ricci's www frontend
- Added logging module
--- conga/make/version.in 2006/06/19 21:21:54 1.6
+++ conga/make/version.in 2006/06/27 21:15:31 1.7
@@ -1,2 +1,2 @@
VERSION=0.8
-RELEASE=5.FC6
+RELEASE=6
next reply other threads:[~2006-06-27 21:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-27 21:15 kupcevic [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-09-29 17:11 [Cluster-devel] conga ./conga.spec.in.in make/version.in rmccabe
2008-09-23 16:05 rmccabe
2007-03-27 17:14 rmccabe
2006-08-03 20:54 kupcevic
2006-07-25 19:51 kupcevic
2006-06-16 21:34 kupcevic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060627211531.17075.qmail@sourceware.org \
--to=kupcevic@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).