Probably permissions messed - Firefox ok with root not with users.
by ludist from LinuxQuestions.org on (#5SEAG)
Hello there.
I changed my root (/) filesystem from ext4 to btrfs. I made a copy of root folders /usr /sbin /lib /bin /etc ... (minus /home /dev /sys /proc /mnt /media /run e.t.c.), restore to btrfs.
After the upgrade to btrfs and Slackware-current (15.0) firefox works only with root. Apparently some permissions issue since it works fine with root account. Last time I did something like that (copy system files) I remember that /dev/shm was the problem.
What do I miss?
Code:ls -l /
drwxr-xr-x 1 root root 2266 28 11:45 bin
drwxr-xr-x 5 root root 4096 28 13:38 boot
drwxr-xr-x 19 root root 5420 28 14:24 dev
drwxr-xr-x 1 root root 17152 28 15:21 etc
drwxr-xr-x 1 root root 100 4 22:53 home
drwxr-xr-x 1 root root 90 26 21:25 lib
drwxr-xr-x 1 root root 6788 21 21:51 lib64
drwxr-xr-x 1 root root 312 28 00:06 media
drwxr-xr-x 1 root root 100 26 2006 mnt
drwxr-xr-x 1 root root 1030 10 2007 opt
dr-xr-xr-x 355 root root 0 28 2021 proc
drwx--x--- 1 root root 4924 28 15:42 root
drwxr-xr-x 9 root root 280 28 14:34 run
drwxr-xr-x 1 root root 5764 28 15:24 sbin
drwxr-xr-x 1 root root 54 8 06:11 srv
dr-xr-xr-x 12 root root 0 28 2021 sys
drwxrwxrwt 1 root root 918 28 15:43 tmp
drwxr-xr-x 1 root root 242 28 14:57 usr
drwxr-xr-x 1 root root 218 20 21:17 varCode:ls -l /dev | grep shm
drwxrwxrwt 3 root root 60 28 16:34 shm/Code:/dev/sda2 on / type btrfs (rw,relatime,compress=zstd,commit=900)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/sda1 on /boot type ext2 (rw)
/dev/sda3 on /home type btrfs (rw,compress=zstd,commit=600)
tmpfs on /mnt/tempfs type tmpfs (rw,nosuid,nodev)
tmpfs on /var/log/setup/tmp type tmpfs (rw,size=10%)
tmpfs on /var/run type tmpfs (rw,size=1%)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)Code:firefox --safe-mode
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
Sandbox: SandboxReporter: thread creation failed: Resource temporarily unavailable
Segmentation faultCode:firefox
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[Parent 24799, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /tmp/firefox-91.3.0/ipc/glue/GeckoChildProcessHost.cpp:731
[Parent 24799, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /tmp/firefox-91.3.0/ipc/glue/GeckoChildProcessHost.cpp:731
[Parent 24799, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /tmp/firefox-91.3.0/ipc/glue/GeckoChildProcessHost.cpp:731
[Parent 24799, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /tmp/firefox-91.3.0/ipc/glue/GeckoChildProcessHost.cpp:731
(firefox:24799): GLib-ERROR **: 16:41:02.658: creating thread 'dconf worker': Error creating thread: Resource temporarily unavailable
Trace/breakpoint trap
I changed my root (/) filesystem from ext4 to btrfs. I made a copy of root folders /usr /sbin /lib /bin /etc ... (minus /home /dev /sys /proc /mnt /media /run e.t.c.), restore to btrfs.
After the upgrade to btrfs and Slackware-current (15.0) firefox works only with root. Apparently some permissions issue since it works fine with root account. Last time I did something like that (copy system files) I remember that /dev/shm was the problem.
What do I miss?
Code:ls -l /
drwxr-xr-x 1 root root 2266 28 11:45 bin
drwxr-xr-x 5 root root 4096 28 13:38 boot
drwxr-xr-x 19 root root 5420 28 14:24 dev
drwxr-xr-x 1 root root 17152 28 15:21 etc
drwxr-xr-x 1 root root 100 4 22:53 home
drwxr-xr-x 1 root root 90 26 21:25 lib
drwxr-xr-x 1 root root 6788 21 21:51 lib64
drwxr-xr-x 1 root root 312 28 00:06 media
drwxr-xr-x 1 root root 100 26 2006 mnt
drwxr-xr-x 1 root root 1030 10 2007 opt
dr-xr-xr-x 355 root root 0 28 2021 proc
drwx--x--- 1 root root 4924 28 15:42 root
drwxr-xr-x 9 root root 280 28 14:34 run
drwxr-xr-x 1 root root 5764 28 15:24 sbin
drwxr-xr-x 1 root root 54 8 06:11 srv
dr-xr-xr-x 12 root root 0 28 2021 sys
drwxrwxrwt 1 root root 918 28 15:43 tmp
drwxr-xr-x 1 root root 242 28 14:57 usr
drwxr-xr-x 1 root root 218 20 21:17 varCode:ls -l /dev | grep shm
drwxrwxrwt 3 root root 60 28 16:34 shm/Code:/dev/sda2 on / type btrfs (rw,relatime,compress=zstd,commit=900)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/sda1 on /boot type ext2 (rw)
/dev/sda3 on /home type btrfs (rw,compress=zstd,commit=600)
tmpfs on /mnt/tempfs type tmpfs (rw,nosuid,nodev)
tmpfs on /var/log/setup/tmp type tmpfs (rw,size=10%)
tmpfs on /var/run type tmpfs (rw,size=1%)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)Code:firefox --safe-mode
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
Sandbox: SandboxReporter: thread creation failed: Resource temporarily unavailable
Segmentation faultCode:firefox
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[Parent 24799, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /tmp/firefox-91.3.0/ipc/glue/GeckoChildProcessHost.cpp:731
[Parent 24799, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /tmp/firefox-91.3.0/ipc/glue/GeckoChildProcessHost.cpp:731
[Parent 24799, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /tmp/firefox-91.3.0/ipc/glue/GeckoChildProcessHost.cpp:731
[Parent 24799, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /tmp/firefox-91.3.0/ipc/glue/GeckoChildProcessHost.cpp:731
(firefox:24799): GLib-ERROR **: 16:41:02.658: creating thread 'dconf worker': Error creating thread: Resource temporarily unavailable
Trace/breakpoint trap