>From 4.4 onwards, nodeinit.conf softlink is deprecated. User can modify the
>nodeinit.conf.controller and nodeinit.conf.payload for NID onfiguration files
>for controller and payload rpm packages accordingly. OpenSAF startup reads the
>/etc/opensaf/node_type file and accordingly reads the
>nodeinit.conf.<node_type> file.
When user does a make install, by default opensaf is setup for controller, i.e.
node_type will be set to 'controller'. User has to change this to 'payload' if
the user wishes to change it configure the opensaf as a payload.
changeset: 4320:746c76041302
branch: opensaf-4.2.x
parent: 4317:7d726fdf6978
user: [email protected]
date: Thu Jun 27 12:51:27 2013 +0530
summary: osaf: update nodeinit.conf softlink during rpm -Uvh [281]
changeset: 4321:5eda40762ad8
branch: opensaf-4.3.x
parent: 4318:40048d531c0e
user: [email protected]
date: Thu Jun 27 12:59:25 2013 +0530
summary: osaf: update nodeinit.conf softlink during rpm -Uvh [281]
changeset: 4322:7e6d141c36db
tag: tip
parent: 4319:df0acc9fa78b
user: [email protected]
date: Thu Jun 27 13:08:02 2013 +0530
summary: osaf: remove nodeinit.conf softlink and from packaging [281]
---
** [tickets:#281] OSAF: RPM upgrade creates wrong nodeinit.conf on payloads**
**Status:** fixed
**Created:** Mon May 20, 2013 02:54 PM UTC by Anders Widell
**Last Updated:** Tue Jun 11, 2013 06:30 AM UTC
**Owner:** nobody
The symbolic link nodeinit.conf is created by the postinistall scripts to point
to the correct file (either nodeinit.conf.controller or nodeinit.conf.payload).
An RPM installation will create the link, and an RPM uninstallation will remove
the link. An RPM upgrade does not toch the link.
The problem is that the symbolic link nodeinit.conf is also listed in the
%files section of the opensaf RPM. This means that when the RPM is upgraded,
the nodeinit.conf created by the postinstall script will be overwritten to
always point to nodeinit.conf.controller, on both controller and payload nodes.
The solution is to remove the symbolic link from the %files section.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets