apport information
** Tags added: apport-collected
** Description changed:
Please apply commit df91e494 "TOMOYO: Fix mount flags checking order." which
is
in linux-next.git and will be included in 3.4-rc1. Without this patch, when
security=tomoyo is given to kernel boot parameter, certain combination of
mount
request cannot be granted.
Test case:
Compile test.c and run it as root.
----- test.c start -----
#include <stdio.h>
#include <string.h>
#include <sys/mount.h>
#include <errno.h>
int main(int argc, char *argv[])
{
if (mount(NULL, "/tmp", "tmpfs", 0, NULL))
return 1;
if (mount(NULL, "/tmp", NULL, MS_BIND | MS_REMOUNT, NULL) == 0)
printf("OK: Success.\n");
else
printf("BUG: %s\n", strerror(errno));
umount("/tmp");
return 0;
}
----- test.c end -----
Expected result:
OK: Success.
Actual result:
BUG: No such file or directory
+ ---
+ AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
+ ApportVersion: 1.94.1-0ubuntu2
+ Architecture: i386
+ ArecordDevices:
+ **** List of CAPTURE Hardware Devices ****
+ card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]
+ Subdevices: 1/1
+ Subdevice #0: subdevice #0
+ AudioDevicesInUse:
+ USER PID ACCESS COMMAND
+ /dev/snd/controlC0: lightdm 1430 F.... pulseaudio
+ CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211
not found.
+ Card0.Amixer.info:
+ Card hw:0 'AudioPCI'/'Ensoniq AudioPCI ENS1371 at 0x2080, irq 16'
+ Mixer name : 'Cirrus Logic CS4297A rev 3'
+ Components : 'AC97a:43525913'
+ Controls : 24
+ Simple ctrls : 13
+ DistroRelease: Ubuntu 12.04
+ HibernationDevice: RESUME=UUID=bee47962-4d01-4574-b1b2-a334e62e984c
+ InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120309)
+ IwConfig:
+ lo no wireless extensions.
+
+ eth0 no wireless extensions.
+ Lsusb:
+ Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+ Bus 002 Device 002: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
+ MachineType: VMware, Inc. VMware Virtual Platform
+ Package: linux (not installed)
+ ProcEnviron:
+ TERM=vt100
+ LANG=en_US.UTF-8
+ SHELL=/bin/bash
+ ProcFB:
+
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-19-generic-pae
root=UUID=8a11adb6-254d-4dda-9164-0f3070b3f2d5 ro quiet splash vt.handoff=7
security=hostname
+ ProcVersionSignature: Ubuntu 3.2.0-19.30-generic-pae 3.2.11
+ PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No
PulseAudio daemon running, or not running as session daemon.
+ RelatedPackageVersions:
+ linux-restricted-modules-3.2.0-19-generic-pae N/A
+ linux-backports-modules-3.2.0-19-generic-pae N/A
+ linux-firmware 1.71
+ RfKill:
+
+ Tags: precise
+ Uname: Linux 3.2.0-19-generic-pae i686
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups:
+
+ dmi.bios.date: 08/15/2008
+ dmi.bios.vendor: Phoenix Technologies LTD
+ dmi.bios.version: 6.00
+ dmi.board.name: 440BX Desktop Reference Platform
+ dmi.board.vendor: Intel Corporation
+ dmi.board.version: None
+ dmi.chassis.asset.tag: No Asset Tag
+ dmi.chassis.type: 1
+ dmi.chassis.vendor: No Enclosure
+ dmi.chassis.version: N/A
+ dmi.modalias:
dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd08/15/2008:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:
+ dmi.product.name: VMware Virtual Platform
+ dmi.product.version: None
+ dmi.sys.vendor: VMware, Inc.
** Attachment added: "AcpiTables.txt"
https://bugs.launchpad.net/bugs/952010/+attachment/2885697/+files/AcpiTables.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/952010
Title:
[Precise] TOMOYO: Please apply fix for mount permission check.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/952010/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs