Bugs item #772367, was opened at 2003-07-16 10:05
Message generated for change (Settings changed) made by jenos
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=772367&group_id=9368

Category: Packages
Group: 2.3
>Status: Closed
Resolution: None
Priority: 8
Submitted By: Jason Brechin (brechin)
Assigned to: Terry Fleury (tfleury)
Summary: ntpconfig post_rpm_install scripts don't unmount /proc

Initial Comment:
Testing on RH9, the image build goes successfully, but 
then the image cannot be installed properly on the 
client.  The issue is that /proc is not being unmounted in 
the image.  During the image build process (after 
installing the RPMs), the "Unmounting /proc" message 
_does_ go by.

After building the image:
[EMAIL PROTECTED] scripts]# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw 0 0
/proc /proc proc rw 0 0
/dev/hda1 /boot ext3 rw 0 0
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0
none /mnt/hgfs vmware-hgfs rw,nosuid,nodev 0 0
none /var/lib/systemimager/images/oscarimage/proc 
proc rw 0 0

----------------------------------------------------------------------

>Comment By: Jeremy Enos (jenos)
Date: 2003-07-21 16:22

Message:
Logged In: YES 
user_id=270124

Fixed... just had to comment out a chunk which was starting 
processes.  We shouldn't be manipulating processes in a 
post_rpm_install script...  files are owned by image, 
processes owned by server.



----------------------------------------------------------------------

Comment By: Jason Brechin (brechin)
Date: 2003-07-21 15:50

Message:
Logged In: YES 
user_id=274641

This issue is caused by some action taken in the ntpconfig 
post_rpm_install script.

----OUTPUT FROM NTPCONFIG'S SCRIPT----
About to 
run /root/oscar/packages/ntpconfig/scripts/post_rpm_install 
for ntpconfig
/etc/init.d/ntpd: line 16: /etc/sysconfig/network: No such file 
or directory
/etc/init.d/ntpd: line 23: [: =: unary operator expected
Shutting down ntpd:                                        [  OK  ]
ntpd: Synchronizing with time server:                      [FAILED]
Starting ntpd:                                             [  OK  ]
----END OUTPUT----

Interestingly, it seems to be causing a service start.  I don't 
know if that's good to do within that API script...

----------------------------------------------------------------------

Comment By: Jason Brechin (brechin)
Date: 2003-07-21 11:33

Message:
Logged In: YES 
user_id=274641

This appears to be a script problem, not directly related to 
SystemInstaller...

This could probably be fixed with a script in the base package 
to manually run a `umount $pkgdir/proc` command on rh9 
systems.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=772367&group_id=9368


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to