A few remarks without having localised the problem:
On Monday 28 November 2005 22:27, Bernard Li wrote:
> > > Looks like it is because SystemInstaller stripped out the
> > post script and it is executed without certain variables defined:
> > >
> > > %post
> > > chown -R pvm:pvm $RPM_BUILD_ROOT/%{prefix}
> > >
> > > I guess the old PVM is built with 400:400 ownership?
>
%post is executed at install time, therefore $RPM_BUILD_ROOT will never be
set. So the %post is wrong, but mostly happens to work correctly.
[EMAIL PROTECTED] opt]# rpm -q --scripts pvm
preinstall scriptlet (using /bin/sh):
# Add PVM user or do nothing
/usr/sbin/useradd -d /opt/pvm3 -r -s /bin/bash pvm > /dev/null 2>&1 || :
#---------------------------------------------------------------------
# Post section
#---------------------------------------------------------------------
postinstall scriptlet (using /bin/sh):
chown -R pvm:pvm $RPM_BUILD_ROOT//opt/pvm3
[...]
This shows that preinstall only creates the pvm user, not the group. On Redhat
systems this mostly creates a group with the same name, but this is not
standard behavior, AFAIK.
Regards,
Erich
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel