1)
user_name@computer:~$ stat /home/department/user_name/
File: /home/department/user_name/
Size: 267 Blocks: 289 IO Block: 16384 directory
Device: 27h/39d Inode: 9542 Links: 146
Access: (0755/drwxr-xr-x) Uid: (XXXXXXXXX/user_name) Gid:
(YYYYYYYY/default_group)
Access: 2024-03-20 14:50:40.921533172 +0100
Modify: 2024-04-17 18:20:30.872510781 +0200
Change: 2024-04-17 18:20:30.872510781 +0200
Birth: 2019-06-03 16:14:43.032386913 +0200
2) as far as I know, no apparmor specific denials.
The non-standard home directory is added to the apparmor ${HOMEDIRS} paramater
(see
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2061981/comments/3)
The only error message I get is:
user_name@computer:~$ chromium
cannot update snap namespace: cannot expand mount entry (none
$HOME/.local/share none x-snapd.kind=ensure-dir,x-snapd.must-exist-dir=$HOME 0
0): cannot use invalid home directory "/home/department/user_name": permission
denied
snap-update-ns failed with code 1
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/2061981
Title:
chromium fails to start with non-standard home directory
Status in chromium-browser package in Ubuntu:
Confirmed
Status in snapd package in Ubuntu:
Confirmed
Bug description:
CURRENT WORKAROUND
------------------
snap disconnect chromium:dot-local-share-applications
snap disconnect chromium:dot-local-share-icons
Those are just "quality of life" interfaces (c.f. LP:1732482) that
most users probably do not even use, disconnecting them will cause no
breakage. (Of course, a proper diagnosis and fix is due.)
ORIGINAL REPORT
---------------
cannot update snap namespace: cannot expand mount entry (none
$HOME/.local/share none x-snapd.kind=ensure-dir,x-snapd.must-exist-
dir=$HOME 0 0): cannot use invalid home directory
"/home/department/user_name": permission denied
Fails to start on Ubuntu 22.04 for users with 'non-standard' home directory
/home/department/user_name
Used to work fine up to last week.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: chromium-browser 1:85.0.4183.83-0ubuntu2.22.04.1
ProcVersionSignature: Ubuntu 6.5.0-27.28~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-27-generic x86_64
NonfreeKernelModules: zfs nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Wed Apr 17 10:32:18 2024
InstallationDate: Installed on 2017-03-24 (2580 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64
(20160420.1)
Snap.Changes:
ID Status Spawn Ready Summary
206 Error 2024-04-16T19:08:43+02:00 2024-04-16T19:16:51+02:00 Remove
"chromium" snap
207 Done 2024-04-16T19:17:27+02:00 2024-04-16T19:18:44+02:00 Remove
"chromium" snap
208 Done 2024-04-16T19:18:46+02:00 2024-04-16T19:19:47+02:00 Install
"chromium" snap
209 Done 2024-04-17T10:31:58+02:00 2024-04-17T10:32:02+02:00 Connect
chromium:password-manager-service to snapd:password-manager-service
SourcePackage: chromium-browser
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2061981/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp