Bug 3119 - Can't update slimserver on a Mac named "slimserver"
: Can't update slimserver on a Mac named "slimserver"
Status: NEW
Product: Logitech Media Server
Classification: Unclassified
Component: Mac Installer
: 6.2.2
: Macintosh MacOS X 10.4
: -- minor (vote)
: Future
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-07 03:51 UTC by Daniel Barrett
Modified: 2011-11-06 23:24 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Barrett 2006-03-07 03:51:13 UTC
I tried updating to slimserver 6.2.2 (From 6.2.1) using your standard Mac installer. slimserver 6.2.1 was NOT running at the time. However, the 6.2.2 installer reported that slimserver is running and I must terminate it in order to do the update.

Here's the likely cause: my Mac's hostname is "slimserver". As soon as I changed the hostname (to "slim"), the update worked flawlessly.

I'll bet the installer does a "ps" and greps for "slimserver" to see if the server is running. If so, your regular expression is too permissive.  My Mac was running OSXvnc (http://www.redstonesoftware.com/vnc.html) which includes the hostname in its ps entries, like this:

/bin/sh /Library/StartupItems/OSXvnc/OSXvnc-keepalive /Library/StartupItems/OSXvnc/OSXvnc-server -rfbport 15900 -desktop slimserver -alwaysshared -restartonuserswitch N -keyboardloading n -pressmodsforkeys n -swapbuttons -rendezvous y -rfbauth /Library/StartupItems/OSXvnc/.osxvncauth
Comment 1 Blackketter Dean 2006-04-23 21:54:04 UTC
your guess is exactly right.  

it's not a simple fix right now, but we'll take a look at it after 6.2.2 ships.  thanks.
Comment 2 Alan Young 2011-11-06 23:24:03 UTC
Unassigned bugs cannot have a priority.