chromium-browser does not run in guest account

Bug #1464958 reported by dbp
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Chromium Browser
Unknown
Unknown
chromium-browser (Ubuntu)
Incomplete
Medium
Unassigned
lightdm (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Description:

In guest account, start chromium browser shows nothing. Start with command line shows error:

guest-1qFsXl@home:~$ chromium-browser http://www.google.com
Check failed: NamespaceUtils::DenySetgroups()

This used to work for months and found failed for few weeks.

Version:

Ubuntu 14.04 LTS
chromium-browser 43.0.2357.81-0ubuntu0.14.04.1.1
linux-image-3.13.0-54-generic 3.13.0-54.91
---
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
Desktop-Session:
 'None'
 'None'
 'None'
DetectedPlugins:

DistroRelease: Ubuntu 14.04
EcryptfsInUse: Yes
Env:
 'None'
 'None'
Load-Avg-1min: 0.28
Load-Processes-Running-Percent: 0.2%
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
NonfreeKernelModules: nvidia
Package: chromium-browser 43.0.2357.81-0ubuntu0.14.04.1.1089
PackageArchitecture: amd64
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-54-generic root=UUID=85a7733c-fbc4-49bf-84ce-02be4c5ba907 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.13.0-54.91-generic 3.13.11-ckt20
Tags: third-party-packages trusty
Uname: Linux 3.13.0-54-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 12/15/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.50
dmi.board.name: H97M-ITX/ac
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.50:bd12/15/2014:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH97M-ITX/ac:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
modified.conffile..etc.default.chromium.browser: [deleted]
mtime.conffile..etc.chromium.browser.default: 2015-01-14T08:39:14.796369

Related branches

Revision history for this message
Chad Miller (cmiller) wrote :

Please paste output of "dmesg". Also

$ apport-collect 1464958

Changed in chromium-browser (Ubuntu):
status: New → Incomplete
assignee: nobody → Chad Miller (cmiller)
Revision history for this message
dbp (dbpalan) wrote : BootDmesg.txt

apport information

tags: added: apport-collected third-party-packages trusty
description: updated
Revision history for this message
dbp (dbpalan) wrote : ChromiumPrefs.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : CurrentDmesg.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : Dependencies.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : DiskUsage.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : InstalledPlugins.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : Lspci.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : Lsusb.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : ProcEnviron.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : ProcInterrupts.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : ProcModules.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : RelatedPackageVersions.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : RelatedPackagesPolicy.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : UdevDb.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : UdevLog.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : gconf-keys.txt

apport information

Revision history for this message
dbp (dbpalan) wrote : modified.conffile..etc.chromium.browser.default.txt

apport information

Chad Miller (cmiller)
Changed in chromium-browser (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Medium
Revision history for this message
Florian Haas (fghaas) wrote :

How exactly is this a dup of #1463598?

Revision history for this message
Chad Miller (cmiller) wrote :

Right, sorry. I think it's this, upstream.

Revision history for this message
Chad Miller (cmiller) wrote :

Florian, is this still trouble? Do you have any kernel updates not applied yet?

Changed in chromium-browser (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Mikko Rauhala (mjr-iki) wrote :

This is still a problem. I'm having the exact same issue (though on google-chrome-stable-44.0.2403.125-1 )

Adding

  /opt/google/chrome/chrome Cx -> chromium,
  /opt/google/chrome/chrome-sandbox Cx -> chromium,

to /etc/apparmor.d/abstractions/lightdm_chromium-browser did not help (I tried that in case it was a matter of yet more filename changes on google's packaging).

google-chrome --no-sandbox works around the issue, with obvious usability (manual startup or manual configuration of switch), stability and security drawbacks.

Revision history for this message
LAZA (laza74) wrote :

Happens for me on my internet café machines:

guest-rxOe8H@Daniel:~$ Check failed: NamespaceUtils::DenySetgroups()

Revision history for this message
LAZA (laza74) wrote :

Why is this set on "Incomplete"?
What else is missing?
Or do we just wait for Google to fix this?

Chad Miller (cmiller)
Changed in chromium-browser (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Christopher Barrington-Leigh (cpbl) wrote :

This problem exists also on 15.04 and 15.10.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in google-chrome-beta (Ubuntu):
status: New → Confirmed
Revision history for this message
Chad Miller (cmiller) wrote :

apparmor="DENIED" operation="open" profile="/usr/lib/lightdm/lightdm-guest-session" name="/proc/sys/kernel/cap_last_cap" pid=20779 comm="dbus-daemon" requested_mask="r" denied_mask="r" fsuid=135 ouid=0
apparmor="DENIED" operation="open" profile="/usr/lib/lightdm/lightdm-guest-session" name="/proc/sys/kernel/cap_last_cap" pid=20800 comm="gnome-keyring-d" requested_mask="r" denied_mask="r" fsuid=135 ouid=0
apparmor="DENIED" operation="open" profile="/usr/lib/lightdm/lightdm-guest-session" name="/proc/sys/kernel/cap_last_cap" pid=20806 comm="gnome-keyring-d" requested_mask="r" denied_mask="r" fsuid=135 ouid=0
apparmor="DENIED" operation="exec" info="profile not found" error=-2 profile="/usr/lib/lightdm/lightdm-guest-session" name="/bin/fusermount" pid=20882 comm="gvfsd-fuse" requested_mask="x" denied_mask="x" fsuid=135 ouid=0
apparmor="DENIED" operation="exec" info="profile not found" error=-2 profile="/usr/lib/lightdm/lightdm-guest-session" name="/bin/fusermount" pid=20882 comm="gvfsd-fuse" requested_mask="x" denied_mask="x" fsuid=135 ouid=0
apparmor="DENIED" operation="exec" info="profile not found" error=-2 profile="/usr/lib/lightdm/lightdm-guest-session" name="/bin/fusermount" pid=20888 comm="gvfsd-fuse" requested_mask="x" denied_mask="x" fsuid=135 ouid=0
apparmor="DENIED" operation="exec" info="profile not found" error=-2 profile="/usr/lib/lightdm/lightdm-guest-session" name="/bin/fusermount" pid=20888 comm="gvfsd-fuse" requested_mask="x" denied_mask="x" fsuid=135 ouid=0
apparmor="DENIED" operation="open" profile="/usr/lib/lightdm/lightdm-guest-session" name="/proc/sys/kernel/cap_last_cap" pid=21048 comm="dbus-daemon" requested_mask="r" denied_mask="r" fsuid=135 ouid=0
apparmor="DENIED" operation="open" profile="/usr/lib/lightdm/lightdm-guest-session" name="/proc/1/cgroup" pid=21042 comm="gnome-session" requested_mask="r" denied_mask="r" fsuid=135 ouid=0
apparmor="DENIED" operation="open" profile="/usr/lib/lightdm/lightdm-guest-session" name="/proc/1/cgroup" pid=21097 comm="indicator-messa" requested_mask="r" denied_mask="r" fsuid=135 ouid=0

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lightdm - 1.17.0-0ubuntu1

---------------
lightdm (1.17.0-0ubuntu1) xenial; urgency=medium

  * New upstream release:
    - Disable log backups - this interferes with logrotate.
    - Support using libaudit to generate audit events.
    - Handle trailing whitespace on boolean values in configuration.
    - Update example configuration to more correctly match allowed options.
    - Fix unnecessary X server from being launched when locking seats.
    - Check the version of the X server we are running so we correctly pass
      -listen tcp when required.
    - Allow reading /proc/<PID>/net/dev from within a guest session.
      (LP: #1442609)
    - Allow guest sessions to write in /{,var/}run/screen folder.
      (LP: #1442611)
    - Update guest-session AppArmor profile to be suitable for openSUSE.
    - Fix apparmor profiles for running Chromium in guest sessions.
      (LP: #1504049, LP: #1464958)
    - Fix configure failing without Vala installed.
  * Build with multi-arch
  * debian/lightdm.logrotate:
    - Use logrotate to handle log files placed in the default system log
      directory (/var/log/lightdm).
  * debian/guest*:
    - Optimize guest account creation, use OverlayFS of AuFS if available.

 -- Robert Ancell <email address hidden> Wed, 28 Oct 2015 15:02:46 +1300

Changed in lightdm (Ubuntu):
status: New → Fix Released
Olivier Tilloy (osomon)
Changed in chromium-browser (Ubuntu):
assignee: Chad Miller (cmiller) → nobody
no longer affects: google-chrome-beta (Ubuntu)
Changed in chromium-browser (Ubuntu):
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.