General Mac OS X Discussion General Apple and Mac OS X Discussion

Reply
 
LinkBack Thread Tools Display Modes
  (#31) Old
Senior Member
 
Posts: 122
Join Date: Aug 2009
Default 03-18-2010, 05:52 PM

Odd.

Can also go to the same Utilities pulldown and bring up Terminal.

At that point, you can "cd" to /Volumes/name-of-USB and invoke DellEFI via command line: ./dellefi.app (or whatever variation of the name). Might have to hunt around the file system for that.

And if you have a copy of DellEFI on the Minis's drive, should be able to get to that too, somewhere under /Volumes/name-of-mini-drive


Mini 9 | OS X 10.6.7 | 2GB | 16GB STEC | .3Mp | No BT |
BIOS A05 | USB Legacy: ON | USB Wake: OFF | Bluetooth: OFF | NBI .8.4 RC1.1 (20100616212351)
Sleep: Working | Speakers: Working | Headphone Jack: Working
Reply With Quote
  (#32) Old
Member
 
Posts: 52
Join Date: Dec 2009
Default 03-18-2010, 07:03 PM

The Strange Case of Safari 4.0.5 — Coldspots

The Strange Case of Safari 4.0.5

Funky things going on with Apple's latest web browser update.


CUPERTINO (Rixstep) — Apple did more than take care of potentially embarrassing bugs in Safari in anticipation of CanSecWest. They changed underlying technologies as well. And not all for the better.

There's also the question of why Apple hide the previous version with all associated components in zip archives on user hard drives and how they achieve root access without user authentication.

RAM Glutton

Suddenly Safari's become a memory glutton. People using Google Wave have noticed very strange behaviour. Sign in at wave.google.com with Safari 4.0.5 and keep an eye on memory usage with Activity Monitor.

Some systems break the gigabyte ceiling for VM and at least half that in real memory.



Firefox 3.6 at the same site with the same login: a completely different behavioural pattern.



Firefox 3.6 is only a 32-bit application but Wave users claim Safari's memory usage was not alarming with previous versions. And the Google Chrome browser (version 5.0.307.11) uses even less memory than Firefox 3.6.

Safari 4.0.5 makes swap go crazy too - rebooting can be the only way to get the system running smoothly again.

6 items, 2147483648 bytes, 4194304 blocks, 0 bytes in extended attributes.

InstallAtLogout

/Library/Updates has a curious property list file with the following data after the automatic 4.0.5 update begins.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>InstallAtLogout</key>
<array>
<string>061-7784</string>
</array>
<key>ProductPaths</key>
<dict>
<key>061-7784</key>
<string>061-7784</string>
</dict>
</dict>
</plist>
Yet several modules - the WebKit being not the least - require root privileges to update. And whilst the 4.0.5 update requires user authentication on Leopard 10.5, on Snow Leopard 10.6 it does not. Meaning there's another 'Opener hole' somewhere on the system - after all these years. (And Safari 4.0.5 isn't the first time it's been used.)

There are several further indications in the 4.0.5 install package that root access is not only required but expected.

aaa_alert.

# We're running as root, so we do su $user -c $DISPLAYALERT
# to run with the localization preferences of the user that
# invoked the installation in the first place.
archiveSafari.

system('/usr/sbin/chown', 'root:admin', $BACKUP_FILE_LIST);
system('/bin/chmod', '0664', $BACKUP_FILE_LIST);

# create target folder if needed
if (! -e "${BACKUP_FOLDER}") {
print "Creating backup folder\n";
system('/bin/mkdir', '-p', $BACKUP_FOLDER);
system('/usr/sbin/chown', 'root:admin', $BACKUP_FOLDER);
system('/bin/chmod', '0775', $BACKUP_FOLDER);
}

# move archive to target folder
if (-e "${TEMP_FILE}.gz" && -e "$BACKUP_FOLDER") {
print "Moving archive to backup folder\n";
system('/bin/mv', "${TEMP_FILE}.gz", $BACKUP_FILE);
system('/usr/sbin/chown', 'root:admin', $BACKUP_FILE);
system('/bin/chmod', '0664', ${BACKUP_FILE});
} else {
print "Failed to create archive: ${BACKUP_FILE}\n";
}

# place Leopard cookie
if (-e "$BACKUP_FOLDER") {
print "Touching $BACKUP_OS_COOKIE\n";
system('/usr/bin/touch', $BACKUP_OS_COOKIE);
} else {
print "Failed to create cookie file\n";
}
disableReportCrash. (Root access is needed to run this command.)

#!/bin/sh

if [ "$3" == "/" ]; then
echo "Disabling ReportCrash"
launchctl unload "/System/Library/LaunchDaemons/com.apple.ReportCrash.Root.plist"
fi

exit 0
updateDyldSharedCache. (Root access is needed to run this command.)

#!/bin/bash

"$3"/usr/bin/update_dyld_shared_cache -root "$3"
.SafariPath

Finally there's the matter of the hidden archive of the previous version of Safari at /Library/Application Support/Apple.

3 items, 21737541 bytes, 42464 blocks, 0 bytes in extended attributes.

/Library/Application Support/Apple/.Safari_Leopard
/Library/Application Support/Apple/.SafariArchive.tar.gz
/Library/Application Support/Apple/.SafariPath
See Also
Developers Workshop: 061-7784

---------- Post added at 01:03 PM ---------- Previous post was at 12:59 PM ----------

Quote:
Originally Posted by reberto View Post
Safari doesn't work that way. It is its own application that does not affect the OS when updated. Internet Explorer updates affect Windows, but that's because Windows is actually based off IE, OS X isn't based off Safari.

So yes, you are talking to yourself, because you're wrong

and you do not know what you are talking about...
Reply With Quote
  (#33) Old
Junior Member
 
colheart's Avatar
 
Posts: 21
Join Date: Nov 2008
Default 03-18-2010, 08:14 PM

Quote:
Originally Posted by nobo_mini View Post
Odd.

Can also go to the same Utilities pulldown and bring up Terminal.

At that point, you can "cd" to /Volumes/name-of-USB and invoke DellEFI via command line: ./dellefi.app (or whatever variation of the name). Might have to hunt around the file system for that.

And if you have a copy of DellEFI on the Minis's drive, should be able to get to that too, somewhere under /Volumes/name-of-mini-drive
At least I were able to find it via the terminal on the harddrive but got the message that the library wasn't loaded etc.
Messed up...not good...
Reply With Quote
  (#34) Old
Junior Member
 
Posts: 4
Join Date: Oct 2009
Default 07-09-2010, 12:31 AM

Im a newbie here. i have a dell mini 9 running 10.5.7, i just updated itunes to 9.2 and its telling me to update Safari to make itunes work fully. So the question is what do I run and how do I do it, I downloaded Safari 4.05Tiger, is that the right one? do i have to do the efi thingy? thanks for all your help.
Reply With Quote
Reply

« IWork '09 $24.99. Today only (07/08/10). | How do you install ilife on the 10v »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Copyright © 2008-2011 MyDellMini.com.