Status: Unconfirmed
Owner: ----
Labels: OS-Linux Area-Misc Size-Medium Type-Bug

New issue 20982 by adam.fixflyer: chrome won't start if username ==  
hostname (aka chrome only starts as root)
http://code.google.com/p/chromium/issues/detail?id=20982

Chrome Version       : 4.0.206.0~svn20090902r25168-0ubuntu1~ucd1~jaunty
OS + version : Linux 2.6.28-15-generic x86_64 (ubuntu 9.04)
CPU architecture (32-bit / 64-bit): 64-bit
window manager : gnome 2.26.1
URLs (if applicable) : n/a
Behavior in Firefox 3.x (if applicable): starts normally
Behavior in Chrome for Windows (optional): n/a

What steps will reproduce the problem?
1. create a user with the _exact_ same name as your hostname
e.g.:

$ cat /etc/hostname
adam
$ whoami
adam

2. apt-get latest chrome build (mine is the ubuntu build from 9/2/09)
3. run chrome from the 'applications > internet' menu in gnome, OR from the
command line:

$ chromium-browser

What is the expected result?

I expect chrome to start and show me the typical welcome screen, or a
browser window.

What happens instead?

When starting from the menu, the mouse spins with the busy icon for a bit,
then nothing.
When starting from the command line (chromium-browser), it exits
immediately with the following error:

[5560:5560:1253132987513:FATAL:/build/buildd/chromium-browser-
4.0.206.0~svn20090902r25168/build-
tree/src/chrome/browser/process_singleton_linux.cc(732)] Failed to create
SingletonLock: File exists
Trace/breakpoint trap



if i then check the exit code:

echo $?
133



However, when running from a different user, it starts up normally. I
originally noticed that chrome only worked when run as root (sudo chromium-
browser). On my machine, it also runs on a different user I created to test
this (su - regis / chromium-browser / it appears). The regis user seems
exactly the same as root, both have additional output but are able to do
basic web browsing, such as filing this bug.

Please provide any additional information below. Attach a screenshot
and backtrace if possible.


Attachments:
        gdb-chromium.txt  5.8 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to