overlayfs alters /proc/self/exe link(s), making result a dead link.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-lowlatency (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I've had this issue with other Ubuntu kernels.
Problem A:
This is not so much a bug in PulseAudio, but it is effected by this bug.
arcadia:~# invoke-rc.d pulseaudio start * Starting system PulseAudio Daemon W: [pulseaudio] main.c: /proc/self/exe does not point to /usr/bin/
invoke-rc.d: initscript pulseaudio, action "start" failed.
Details:
Looking at other process, like ntpd, it's clear something outside of PA is not functional.
arcadia:~# ps $(pgrep ntpd)
PID TTY STAT TIME COMMAND
4595 ? Ss 0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 105:108
arcadia:~# ls -l /proc/4595/exe
lrwxrwxrwx 1 root root 0 May 31 13:53 /proc/4595/exe -> /sbin/ntpd <--- wow, that's wrong!
arcadia:~# ls /sbin/ntpd /usr/sbin/ntpd
ls: cannot access /sbin/ntpd: No such file or directory
/usr/sbin/ntpd
System settings:
arcadia:~# grep usr /etc/fstab
/dev/mapper/
/dev/mapper/
none /usr overlayfs defaults,
UUID=e7f6ec6c-
I guess the contents of /.usr-rw and /.usr-ro may matter.
arcadia:~# ls -l /.usr-r?
-rw-r--r-- 1 root root 79260 Mar 8 21:36 /.usr-ro/
-rwxr-xr-x 1 root root 601028 Mar 6 09:03 /.usr-ro/sbin/ntpd
-rwxr-xr-x 1 root root 79260 Apr 12 00:23 /.usr-rw/
...I attempted to 'disable' PA by removing it's execute bits. I'm now more fully making use of PA and life is better now.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.2.0-23-
ApportVersion: 2.0.1-0ubuntu5
Architecture: i386
Date: Thu May 31 14:14:18 2012
SourcePackage: linux-lowlatency
UpgradeStatus: Upgraded to precise on 2012-01-03 (149 days ago)
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
Error: command ['aplay', '-l'] failed with exit code -6: ALSA lib conf.c:
ALSA lib conf.c:
**** List of PLAYBACK Hardware Devices ****
ApportVersion: 2.0.1-0ubuntu5
Architecture: i386
ArecordDevices:
Error: command ['arecord', '-l'] failed with exit code -6: ALSA lib conf.c:
ALSA lib conf.c:
**** List of CAPTURE Hardware Devices ****
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Error: command ['amixer', '-c', '0', 'info'] failed with exit code -6: ALSA lib conf.c:
ALSA lib conf.c:
Card0.Amixer.
Error: command ['amixer', '-c', '0'] failed with exit code -6: ALSA lib conf.c:
ALSA lib conf.c:
Card1.Amixer.info:
Error: command ['amixer', '-c', '1', 'info'] failed with exit code -6: ALSA lib conf.c:
ALSA lib conf.c:
Card1.Amixer.
Error: command ['amixer', '-c', '1'] failed with exit code -6: ALSA lib conf.c:
ALSA lib conf.c:
DistroRelease: Ubuntu 12.04
IwConfig: Error: [Errno 2] No such file or directory
MachineType: System manufacturer System Product Name
Package: linux (not installed)
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.80
RfKill: Error: [Errno 2] No such file or directory
SourcePackage: linux
StagingDrivers: zram
Tags: precise staging precise staging
UdevDb: Error: [Errno 2] No such file or directory
Uname: Linux 3.2.0-23-
UpgradeStatus: Upgraded to precise on 2012-01-03 (149 days ago)
UserGroups: adm admin audio cdrom dialout dip disk floppy fuse games kvm libvirtd plugdev pulse-access video
WpaSupplicantLog:
dmi.bios.date: 02/17/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1902
dmi.board.
dmi.board.name: Crosshair IV Formula
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu5
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: VT2020 Analog [VT2020 Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'SB'/'HDA ATI SB at 0xfe3f8000 irq 16'
Mixer name : 'VIA VT2020'
Components : 'HDA:11060441,
Controls : 45
Simple ctrls : 23
Card1.Amixer.info:
Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfe9ec000 irq 88'
Mixer name : 'ATI R6xx HDMI'
Components : 'HDA:1002aa01,
Controls : 6
Simple ctrls : 1
Card1.Amixer.
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
DistroRelease: Ubuntu 12.04
IwConfig: Error: [Errno 2] No such file or directory
MachineType: System manufacturer System Product Name
Package: linux (not installed)
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.80
RfKill: Error: [Errno 2] No such file or directory
SourcePackage: linux
StagingDrivers: zram
Tags: precise staging precise staging
UdevDb: Error: [Errno 2] No such file or directory
Uname: Linux 3.2.0-23-
UpgradeStatus: Upgraded to precise on 2012-01-03 (149 days ago)
UserGroups: adm admin audio cdrom dialout dip disk floppy fuse games kvm libvirtd plugdev pulse-access video
WpaSupplicantLog:
dmi.bios.date: 02/17/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1902
dmi.board.
dmi.board.name: Crosshair IV Formula
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
tags: | added: overlayfs |
affects: | linux (Ubuntu) → linux-lowlatency (Ubuntu) |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1007089
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.