[Kernel-packages] [Bug 1822108] Re: package linux-image-4.4.0-143-generic 4.4.0-143.169 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127
I just spent some time tracking this down for a datacenter tech trying to do a fresh install: linux-image-4.4.0-143-generic depends on linux-base (no min version) and needs linux-update-symlinks from linux-base linux-image-4.4.0-145-generic depends on linux-base >= 4.5ubuntu1~16.04.1 xenial main has linux-base 4.0ubuntu1 which doesn't have linux-update-symlinks xenial-updates xenial-security have 4.5ubuntu1~16.04.1 which does have linux-update-symlinks -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-signed in Ubuntu. https://bugs.launchpad.net/bugs/1822108 Title: package linux-image-4.4.0-143-generic 4.4.0-143.169 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127 Status in linux-signed package in Ubuntu: Confirmed Bug description: Error occurred when switching drivers for NVIDIA Corporation: G92[GeForce 9800 GT] to NVIDIA binary driver - version 340.107 from nvidia-340(proprietary, tested) ProblemType: Package DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-143-generic 4.4.0-143.169 ProcVersionSignature: Ubuntu 4.8.0-36.36~16.04.1-generic 4.8.11 Uname: Linux 4.8.0-36-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.5 Architecture: amd64 Date: Thu Mar 28 09:47:57 2019 DuplicateSignature: package:linux-image-4.4.0-143-generic:4.4.0-143.169 Setting up linux-image-4.4.0-143-generic (4.4.0-143.169) ... /var/lib/dpkg/info/linux-image-4.4.0-143-generic.postinst: 50: /var/lib/dpkg/info/linux-image-4.4.0-143-generic.postinst: linux-update-symlinks: not found dpkg: error processing package linux-image-4.4.0-143-generic (--configure): subprocess installed post-installation script returned error exit status 127 ErrorMessage: subprocess installed post-installation script returned error exit status 127 InstallationDate: Installed on 2017-05-06 (691 days ago) InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2) RelatedPackageVersions: dpkg 1.18.4ubuntu1.1 apt 1.2.19 SourcePackage: linux-signed Title: package linux-image-4.4.0-143-generic 4.4.0-143.169 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1822108/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1824050] ProcCpuinfoMinimal.txt
apport information ** Attachment added: "ProcCpuinfoMinimal.txt" https://bugs.launchpad.net/bugs/1824050/+attachment/5254590/+files/ProcCpuinfoMinimal.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1824050 Title: access.W_OK yields -1 EACCES (permission denied) on NFS mountpoints Status in linux package in Ubuntu: Confirmed Bug description: When upgrading from xenial kernel (4.4.0-145) to linux-image-generic- hwe-16.04 (4.15.0-47) I am no longer able to run an application that checks it's data directory for write access/path traversal when that directory is an NFS share. This works on 4.4 and 3.13 kernels that I tested with but fails on 4.15. I'm using NFSv3 and have seen the behavior with both a synology NAS as the nfs-server as well as my xenial desktop as the nfs-server. To reproduce: 0.) Boot test machine with kernel 4.15.0-47 1.) set up a NFS export on another machine (nfs-server) /etc/exports: /srv/nfstest 192.168.100.100(rw,sync,no_subtree_check) 2.) mount the NFS share on the test machine and give a non-root user ownership of the mount, in my case I have a user: aptly, with home=/var/lib/aptly, and I mounted the NFS at /var/lib/aptly/test. aptly:aptly owns /var/lib/aptly/test. /etc/fstab: 192.168.100.101:/srv/nfstest/var/lib/aptly/test nfs rw,mountvers=3 3.) attempt to call access.W_OK on the mount as the non-root user `strace ./testaccess.py` stderr: ... access("/var/lib/aptly/test", W_OK) = -1 EACCES (Permission denied) ... stdout: ('Writeable:', False) ('user r,e,s', (5062, 5062, 5062)) ('group r,e,s', (5062, 5062, 5062)) posix.stat_result(st_mode=16895, st_ino=101188113, st_dev=48, st_nlink=3, st_uid=5062, st_gid=5062, st_size=4096, st_atime=1554858490, st_mtime=1554858633, st_ctime=1554858633) testaccess.py: #!/usr/bin/python import os import sys from pprint import pprint directory = '/var/lib/aptly/test' if __name__ == "__main__": writeable = os.access(directory, os.W_OK) print("Writeable:", writeable) print("user r,e,s", os.getresuid()) print("group r,e,s", os.getresgid()) pprint(os.stat(directory)) --- AlsaDevices: total 0 crw-rw 1 root audio 116, 1 Apr 9 18:53 seq crw-rw 1 root audio 116, 33 Apr 9 18:53 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: DistroRelease: Ubuntu 16.04 HibernationDevice: RESUME=/dev/mapper/pao03--aptly01--vg-swap_1 InstallationDate: Installed on 2019-04-09 (1 days ago) InstallationMedia: Ubuntu-Server 16.04.5 LTS "Xenial Xerus" - Release amd64 (20180731) IwConfig: Error: [Errno 2] No such file or directory Lsusb: Error: command ['lsusb'] failed with exit code 1: MachineType: VMware, Inc. VMware Virtual Platform Package: linux (not installed) PciMultimedia: ProcFB: 0 svgadrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-47-generic root=/dev/mapper/pao03--aptly01--vg-root ro ProcVersionSignature: Ubuntu 4.15.0-47.50~16.04.1-generic 4.15.18 RelatedPackageVersions: linux-restricted-modules-4.15.0-47-generic N/A linux-backports-modules-4.15.0-47-generic N/A linux-firmware 1.157.21 RfKill: Error: [Errno 2] No such file or directory Tags: xenial xenial Uname: Linux 4.15.0-47-generic x86_64 UnreportableReason: The report belongs to a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: False dmi.bios.date: 07/28/2017 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:bd07/28/2017: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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1824050/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1824050] CurrentDmesg.txt
apport information ** Attachment added: "CurrentDmesg.txt" https://bugs.launchpad.net/bugs/1824050/+attachment/5254587/+files/CurrentDmesg.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1824050 Title: access.W_OK yields -1 EACCES (permission denied) on NFS mountpoints Status in linux package in Ubuntu: Confirmed Bug description: When upgrading from xenial kernel (4.4.0-145) to linux-image-generic- hwe-16.04 (4.15.0-47) I am no longer able to run an application that checks it's data directory for write access/path traversal when that directory is an NFS share. This works on 4.4 and 3.13 kernels that I tested with but fails on 4.15. I'm using NFSv3 and have seen the behavior with both a synology NAS as the nfs-server as well as my xenial desktop as the nfs-server. To reproduce: 0.) Boot test machine with kernel 4.15.0-47 1.) set up a NFS export on another machine (nfs-server) /etc/exports: /srv/nfstest 192.168.100.100(rw,sync,no_subtree_check) 2.) mount the NFS share on the test machine and give a non-root user ownership of the mount, in my case I have a user: aptly, with home=/var/lib/aptly, and I mounted the NFS at /var/lib/aptly/test. aptly:aptly owns /var/lib/aptly/test. /etc/fstab: 192.168.100.101:/srv/nfstest/var/lib/aptly/test nfs rw,mountvers=3 3.) attempt to call access.W_OK on the mount as the non-root user `strace ./testaccess.py` stderr: ... access("/var/lib/aptly/test", W_OK) = -1 EACCES (Permission denied) ... stdout: ('Writeable:', False) ('user r,e,s', (5062, 5062, 5062)) ('group r,e,s', (5062, 5062, 5062)) posix.stat_result(st_mode=16895, st_ino=101188113, st_dev=48, st_nlink=3, st_uid=5062, st_gid=5062, st_size=4096, st_atime=1554858490, st_mtime=1554858633, st_ctime=1554858633) testaccess.py: #!/usr/bin/python import os import sys from pprint import pprint directory = '/var/lib/aptly/test' if __name__ == "__main__": writeable = os.access(directory, os.W_OK) print("Writeable:", writeable) print("user r,e,s", os.getresuid()) print("group r,e,s", os.getresgid()) pprint(os.stat(directory)) --- AlsaDevices: total 0 crw-rw 1 root audio 116, 1 Apr 9 18:53 seq crw-rw 1 root audio 116, 33 Apr 9 18:53 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: DistroRelease: Ubuntu 16.04 HibernationDevice: RESUME=/dev/mapper/pao03--aptly01--vg-swap_1 InstallationDate: Installed on 2019-04-09 (1 days ago) InstallationMedia: Ubuntu-Server 16.04.5 LTS "Xenial Xerus" - Release amd64 (20180731) IwConfig: Error: [Errno 2] No such file or directory Lsusb: Error: command ['lsusb'] failed with exit code 1: MachineType: VMware, Inc. VMware Virtual Platform Package: linux (not installed) PciMultimedia: ProcFB: 0 svgadrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-47-generic root=/dev/mapper/pao03--aptly01--vg-root ro ProcVersionSignature: Ubuntu 4.15.0-47.50~16.04.1-generic 4.15.18 RelatedPackageVersions: linux-restricted-modules-4.15.0-47-generic N/A linux-backports-modules-4.15.0-47-generic N/A linux-firmware 1.157.21 RfKill: Error: [Errno 2] No such file or directory Tags: xenial xenial Uname: Linux 4.15.0-47-generic x86_64 UnreportableReason: The report belongs to a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: False dmi.bios.date: 07/28/2017 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:bd07/28/2017: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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1824050/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1824050] UdevDb.txt
apport information ** Attachment added: "UdevDb.txt" https://bugs.launchpad.net/bugs/1824050/+attachment/5254594/+files/UdevDb.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1824050 Title: access.W_OK yields -1 EACCES (permission denied) on NFS mountpoints Status in linux package in Ubuntu: Confirmed Bug description: When upgrading from xenial kernel (4.4.0-145) to linux-image-generic- hwe-16.04 (4.15.0-47) I am no longer able to run an application that checks it's data directory for write access/path traversal when that directory is an NFS share. This works on 4.4 and 3.13 kernels that I tested with but fails on 4.15. I'm using NFSv3 and have seen the behavior with both a synology NAS as the nfs-server as well as my xenial desktop as the nfs-server. To reproduce: 0.) Boot test machine with kernel 4.15.0-47 1.) set up a NFS export on another machine (nfs-server) /etc/exports: /srv/nfstest 192.168.100.100(rw,sync,no_subtree_check) 2.) mount the NFS share on the test machine and give a non-root user ownership of the mount, in my case I have a user: aptly, with home=/var/lib/aptly, and I mounted the NFS at /var/lib/aptly/test. aptly:aptly owns /var/lib/aptly/test. /etc/fstab: 192.168.100.101:/srv/nfstest/var/lib/aptly/test nfs rw,mountvers=3 3.) attempt to call access.W_OK on the mount as the non-root user `strace ./testaccess.py` stderr: ... access("/var/lib/aptly/test", W_OK) = -1 EACCES (Permission denied) ... stdout: ('Writeable:', False) ('user r,e,s', (5062, 5062, 5062)) ('group r,e,s', (5062, 5062, 5062)) posix.stat_result(st_mode=16895, st_ino=101188113, st_dev=48, st_nlink=3, st_uid=5062, st_gid=5062, st_size=4096, st_atime=1554858490, st_mtime=1554858633, st_ctime=1554858633) testaccess.py: #!/usr/bin/python import os import sys from pprint import pprint directory = '/var/lib/aptly/test' if __name__ == "__main__": writeable = os.access(directory, os.W_OK) print("Writeable:", writeable) print("user r,e,s", os.getresuid()) print("group r,e,s", os.getresgid()) pprint(os.stat(directory)) --- AlsaDevices: total 0 crw-rw 1 root audio 116, 1 Apr 9 18:53 seq crw-rw 1 root audio 116, 33 Apr 9 18:53 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: DistroRelease: Ubuntu 16.04 HibernationDevice: RESUME=/dev/mapper/pao03--aptly01--vg-swap_1 InstallationDate: Installed on 2019-04-09 (1 days ago) InstallationMedia: Ubuntu-Server 16.04.5 LTS "Xenial Xerus" - Release amd64 (20180731) IwConfig: Error: [Errno 2] No such file or directory Lsusb: Error: command ['lsusb'] failed with exit code 1: MachineType: VMware, Inc. VMware Virtual Platform Package: linux (not installed) PciMultimedia: ProcFB: 0 svgadrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-47-generic root=/dev/mapper/pao03--aptly01--vg-root ro ProcVersionSignature: Ubuntu 4.15.0-47.50~16.04.1-generic 4.15.18 RelatedPackageVersions: linux-restricted-modules-4.15.0-47-generic N/A linux-backports-modules-4.15.0-47-generic N/A linux-firmware 1.157.21 RfKill: Error: [Errno 2] No such file or directory Tags: xenial xenial Uname: Linux 4.15.0-47-generic x86_64 UnreportableReason: The report belongs to a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: False dmi.bios.date: 07/28/2017 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:bd07/28/2017: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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1824050/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1824050] Re: access.W_OK yields -1 EACCES (permission denied) on NFS mountpoints
apport information ** Tags added: apport-collected xenial ** Description changed: When upgrading from xenial kernel (4.4.0-145) to linux-image-generic- hwe-16.04 (4.15.0-47) I am no longer able to run an application that checks it's data directory for write access/path traversal when that directory is an NFS share. This works on 4.4 and 3.13 kernels that I tested with but fails on 4.15. I'm using NFSv3 and have seen the behavior with both a synology NAS as the nfs-server as well as my xenial desktop as the nfs-server. To reproduce: 0.) Boot test machine with kernel 4.15.0-47 1.) set up a NFS export on another machine (nfs-server) /etc/exports: /srv/nfstest 192.168.100.100(rw,sync,no_subtree_check) 2.) mount the NFS share on the test machine and give a non-root user ownership of the mount, in my case I have a user: aptly, with home=/var/lib/aptly, and I mounted the NFS at /var/lib/aptly/test. aptly:aptly owns /var/lib/aptly/test. /etc/fstab: 192.168.100.101:/srv/nfstest/var/lib/aptly/test nfs rw,mountvers=3 3.) attempt to call access.W_OK on the mount as the non-root user `strace ./testaccess.py` stderr: ... access("/var/lib/aptly/test", W_OK) = -1 EACCES (Permission denied) ... stdout: ('Writeable:', False) ('user r,e,s', (5062, 5062, 5062)) ('group r,e,s', (5062, 5062, 5062)) posix.stat_result(st_mode=16895, st_ino=101188113, st_dev=48, st_nlink=3, st_uid=5062, st_gid=5062, st_size=4096, st_atime=1554858490, st_mtime=1554858633, st_ctime=1554858633) testaccess.py: #!/usr/bin/python import os import sys from pprint import pprint directory = '/var/lib/aptly/test' if __name__ == "__main__": writeable = os.access(directory, os.W_OK) print("Writeable:", writeable) print("user r,e,s", os.getresuid()) print("group r,e,s", os.getresgid()) pprint(os.stat(directory)) + --- + AlsaDevices: + total 0 + crw-rw 1 root audio 116, 1 Apr 9 18:53 seq + crw-rw 1 root audio 116, 33 Apr 9 18:53 timer + AplayDevices: Error: [Errno 2] No such file or directory + ApportVersion: 2.20.1-0ubuntu2.18 + Architecture: amd64 + ArecordDevices: Error: [Errno 2] No such file or directory + AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: + DistroRelease: Ubuntu 16.04 + HibernationDevice: RESUME=/dev/mapper/pao03--aptly01--vg-swap_1 + InstallationDate: Installed on 2019-04-09 (1 days ago) + InstallationMedia: Ubuntu-Server 16.04.5 LTS "Xenial Xerus" - Release amd64 (20180731) + IwConfig: Error: [Errno 2] No such file or directory + Lsusb: Error: command ['lsusb'] failed with exit code 1: + MachineType: VMware, Inc. VMware Virtual Platform + Package: linux (not installed) + PciMultimedia: + + ProcFB: 0 svgadrmfb + ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-47-generic root=/dev/mapper/pao03--aptly01--vg-root ro + ProcVersionSignature: Ubuntu 4.15.0-47.50~16.04.1-generic 4.15.18 + RelatedPackageVersions: + linux-restricted-modules-4.15.0-47-generic N/A + linux-backports-modules-4.15.0-47-generic N/A + linux-firmware 1.157.21 + RfKill: Error: [Errno 2] No such file or directory + Tags: xenial xenial + Uname: Linux 4.15.0-47-generic x86_64 + UnreportableReason: The report belongs to a package that is not installed. + UpgradeStatus: No upgrade log present (probably fresh install) + UserGroups: + + _MarkForUpload: False + dmi.bios.date: 07/28/2017 + 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:bd07/28/2017: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: "CRDA.txt" https://bugs.launchpad.net/bugs/1824050/+attachment/5254586/+files/CRDA.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1824050 Title: access.W_OK yields -1 EACCES (permission denied) on NFS mountpoints Status in linux package in Ubuntu: Confirmed Bug description: When upgrading from xenial kernel (4.4.0-145) to linux-image-generic- hwe-16.04 (4.15.0-47) I am no longer able to run an application that checks it's data directory for write access/path traversal when that directory is an NFS share. This works on 4.4 and 3.13 kernels that I tested with but fails on 4.15. I'm using NFSv3 and have seen the behavior with both a synology NAS as the nfs-server as well as my xenial desktop as the
[Kernel-packages] [Bug 1824050] HookError_generic.txt
apport information ** Attachment added: "HookError_generic.txt" https://bugs.launchpad.net/bugs/1824050/+attachment/5254588/+files/HookError_generic.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1824050 Title: access.W_OK yields -1 EACCES (permission denied) on NFS mountpoints Status in linux package in Ubuntu: Confirmed Bug description: When upgrading from xenial kernel (4.4.0-145) to linux-image-generic- hwe-16.04 (4.15.0-47) I am no longer able to run an application that checks it's data directory for write access/path traversal when that directory is an NFS share. This works on 4.4 and 3.13 kernels that I tested with but fails on 4.15. I'm using NFSv3 and have seen the behavior with both a synology NAS as the nfs-server as well as my xenial desktop as the nfs-server. To reproduce: 0.) Boot test machine with kernel 4.15.0-47 1.) set up a NFS export on another machine (nfs-server) /etc/exports: /srv/nfstest 192.168.100.100(rw,sync,no_subtree_check) 2.) mount the NFS share on the test machine and give a non-root user ownership of the mount, in my case I have a user: aptly, with home=/var/lib/aptly, and I mounted the NFS at /var/lib/aptly/test. aptly:aptly owns /var/lib/aptly/test. /etc/fstab: 192.168.100.101:/srv/nfstest/var/lib/aptly/test nfs rw,mountvers=3 3.) attempt to call access.W_OK on the mount as the non-root user `strace ./testaccess.py` stderr: ... access("/var/lib/aptly/test", W_OK) = -1 EACCES (Permission denied) ... stdout: ('Writeable:', False) ('user r,e,s', (5062, 5062, 5062)) ('group r,e,s', (5062, 5062, 5062)) posix.stat_result(st_mode=16895, st_ino=101188113, st_dev=48, st_nlink=3, st_uid=5062, st_gid=5062, st_size=4096, st_atime=1554858490, st_mtime=1554858633, st_ctime=1554858633) testaccess.py: #!/usr/bin/python import os import sys from pprint import pprint directory = '/var/lib/aptly/test' if __name__ == "__main__": writeable = os.access(directory, os.W_OK) print("Writeable:", writeable) print("user r,e,s", os.getresuid()) print("group r,e,s", os.getresgid()) pprint(os.stat(directory)) --- AlsaDevices: total 0 crw-rw 1 root audio 116, 1 Apr 9 18:53 seq crw-rw 1 root audio 116, 33 Apr 9 18:53 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: DistroRelease: Ubuntu 16.04 HibernationDevice: RESUME=/dev/mapper/pao03--aptly01--vg-swap_1 InstallationDate: Installed on 2019-04-09 (1 days ago) InstallationMedia: Ubuntu-Server 16.04.5 LTS "Xenial Xerus" - Release amd64 (20180731) IwConfig: Error: [Errno 2] No such file or directory Lsusb: Error: command ['lsusb'] failed with exit code 1: MachineType: VMware, Inc. VMware Virtual Platform Package: linux (not installed) PciMultimedia: ProcFB: 0 svgadrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-47-generic root=/dev/mapper/pao03--aptly01--vg-root ro ProcVersionSignature: Ubuntu 4.15.0-47.50~16.04.1-generic 4.15.18 RelatedPackageVersions: linux-restricted-modules-4.15.0-47-generic N/A linux-backports-modules-4.15.0-47-generic N/A linux-firmware 1.157.21 RfKill: Error: [Errno 2] No such file or directory Tags: xenial xenial Uname: Linux 4.15.0-47-generic x86_64 UnreportableReason: The report belongs to a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: False dmi.bios.date: 07/28/2017 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:bd07/28/2017: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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1824050/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1824050] ProcEnviron.txt
apport information ** Attachment added: "ProcEnviron.txt" https://bugs.launchpad.net/bugs/1824050/+attachment/5254591/+files/ProcEnviron.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1824050 Title: access.W_OK yields -1 EACCES (permission denied) on NFS mountpoints Status in linux package in Ubuntu: Confirmed Bug description: When upgrading from xenial kernel (4.4.0-145) to linux-image-generic- hwe-16.04 (4.15.0-47) I am no longer able to run an application that checks it's data directory for write access/path traversal when that directory is an NFS share. This works on 4.4 and 3.13 kernels that I tested with but fails on 4.15. I'm using NFSv3 and have seen the behavior with both a synology NAS as the nfs-server as well as my xenial desktop as the nfs-server. To reproduce: 0.) Boot test machine with kernel 4.15.0-47 1.) set up a NFS export on another machine (nfs-server) /etc/exports: /srv/nfstest 192.168.100.100(rw,sync,no_subtree_check) 2.) mount the NFS share on the test machine and give a non-root user ownership of the mount, in my case I have a user: aptly, with home=/var/lib/aptly, and I mounted the NFS at /var/lib/aptly/test. aptly:aptly owns /var/lib/aptly/test. /etc/fstab: 192.168.100.101:/srv/nfstest/var/lib/aptly/test nfs rw,mountvers=3 3.) attempt to call access.W_OK on the mount as the non-root user `strace ./testaccess.py` stderr: ... access("/var/lib/aptly/test", W_OK) = -1 EACCES (Permission denied) ... stdout: ('Writeable:', False) ('user r,e,s', (5062, 5062, 5062)) ('group r,e,s', (5062, 5062, 5062)) posix.stat_result(st_mode=16895, st_ino=101188113, st_dev=48, st_nlink=3, st_uid=5062, st_gid=5062, st_size=4096, st_atime=1554858490, st_mtime=1554858633, st_ctime=1554858633) testaccess.py: #!/usr/bin/python import os import sys from pprint import pprint directory = '/var/lib/aptly/test' if __name__ == "__main__": writeable = os.access(directory, os.W_OK) print("Writeable:", writeable) print("user r,e,s", os.getresuid()) print("group r,e,s", os.getresgid()) pprint(os.stat(directory)) --- AlsaDevices: total 0 crw-rw 1 root audio 116, 1 Apr 9 18:53 seq crw-rw 1 root audio 116, 33 Apr 9 18:53 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: DistroRelease: Ubuntu 16.04 HibernationDevice: RESUME=/dev/mapper/pao03--aptly01--vg-swap_1 InstallationDate: Installed on 2019-04-09 (1 days ago) InstallationMedia: Ubuntu-Server 16.04.5 LTS "Xenial Xerus" - Release amd64 (20180731) IwConfig: Error: [Errno 2] No such file or directory Lsusb: Error: command ['lsusb'] failed with exit code 1: MachineType: VMware, Inc. VMware Virtual Platform Package: linux (not installed) PciMultimedia: ProcFB: 0 svgadrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-47-generic root=/dev/mapper/pao03--aptly01--vg-root ro ProcVersionSignature: Ubuntu 4.15.0-47.50~16.04.1-generic 4.15.18 RelatedPackageVersions: linux-restricted-modules-4.15.0-47-generic N/A linux-backports-modules-4.15.0-47-generic N/A linux-firmware 1.157.21 RfKill: Error: [Errno 2] No such file or directory Tags: xenial xenial Uname: Linux 4.15.0-47-generic x86_64 UnreportableReason: The report belongs to a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: False dmi.bios.date: 07/28/2017 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:bd07/28/2017: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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1824050/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1824050] WifiSyslog.txt
apport information ** Attachment added: "WifiSyslog.txt" https://bugs.launchpad.net/bugs/1824050/+attachment/5254595/+files/WifiSyslog.txt ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1824050 Title: access.W_OK yields -1 EACCES (permission denied) on NFS mountpoints Status in linux package in Ubuntu: Confirmed Bug description: When upgrading from xenial kernel (4.4.0-145) to linux-image-generic- hwe-16.04 (4.15.0-47) I am no longer able to run an application that checks it's data directory for write access/path traversal when that directory is an NFS share. This works on 4.4 and 3.13 kernels that I tested with but fails on 4.15. I'm using NFSv3 and have seen the behavior with both a synology NAS as the nfs-server as well as my xenial desktop as the nfs-server. To reproduce: 0.) Boot test machine with kernel 4.15.0-47 1.) set up a NFS export on another machine (nfs-server) /etc/exports: /srv/nfstest 192.168.100.100(rw,sync,no_subtree_check) 2.) mount the NFS share on the test machine and give a non-root user ownership of the mount, in my case I have a user: aptly, with home=/var/lib/aptly, and I mounted the NFS at /var/lib/aptly/test. aptly:aptly owns /var/lib/aptly/test. /etc/fstab: 192.168.100.101:/srv/nfstest/var/lib/aptly/test nfs rw,mountvers=3 3.) attempt to call access.W_OK on the mount as the non-root user `strace ./testaccess.py` stderr: ... access("/var/lib/aptly/test", W_OK) = -1 EACCES (Permission denied) ... stdout: ('Writeable:', False) ('user r,e,s', (5062, 5062, 5062)) ('group r,e,s', (5062, 5062, 5062)) posix.stat_result(st_mode=16895, st_ino=101188113, st_dev=48, st_nlink=3, st_uid=5062, st_gid=5062, st_size=4096, st_atime=1554858490, st_mtime=1554858633, st_ctime=1554858633) testaccess.py: #!/usr/bin/python import os import sys from pprint import pprint directory = '/var/lib/aptly/test' if __name__ == "__main__": writeable = os.access(directory, os.W_OK) print("Writeable:", writeable) print("user r,e,s", os.getresuid()) print("group r,e,s", os.getresgid()) pprint(os.stat(directory)) --- AlsaDevices: total 0 crw-rw 1 root audio 116, 1 Apr 9 18:53 seq crw-rw 1 root audio 116, 33 Apr 9 18:53 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: DistroRelease: Ubuntu 16.04 HibernationDevice: RESUME=/dev/mapper/pao03--aptly01--vg-swap_1 InstallationDate: Installed on 2019-04-09 (1 days ago) InstallationMedia: Ubuntu-Server 16.04.5 LTS "Xenial Xerus" - Release amd64 (20180731) IwConfig: Error: [Errno 2] No such file or directory Lsusb: Error: command ['lsusb'] failed with exit code 1: MachineType: VMware, Inc. VMware Virtual Platform Package: linux (not installed) PciMultimedia: ProcFB: 0 svgadrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-47-generic root=/dev/mapper/pao03--aptly01--vg-root ro ProcVersionSignature: Ubuntu 4.15.0-47.50~16.04.1-generic 4.15.18 RelatedPackageVersions: linux-restricted-modules-4.15.0-47-generic N/A linux-backports-modules-4.15.0-47-generic N/A linux-firmware 1.157.21 RfKill: Error: [Errno 2] No such file or directory Tags: xenial xenial Uname: Linux 4.15.0-47-generic x86_64 UnreportableReason: The report belongs to a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: False dmi.bios.date: 07/28/2017 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:bd07/28/2017: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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1824050/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1824050] ProcInterrupts.txt
apport information ** Attachment added: "ProcInterrupts.txt" https://bugs.launchpad.net/bugs/1824050/+attachment/5254592/+files/ProcInterrupts.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1824050 Title: access.W_OK yields -1 EACCES (permission denied) on NFS mountpoints Status in linux package in Ubuntu: Confirmed Bug description: When upgrading from xenial kernel (4.4.0-145) to linux-image-generic- hwe-16.04 (4.15.0-47) I am no longer able to run an application that checks it's data directory for write access/path traversal when that directory is an NFS share. This works on 4.4 and 3.13 kernels that I tested with but fails on 4.15. I'm using NFSv3 and have seen the behavior with both a synology NAS as the nfs-server as well as my xenial desktop as the nfs-server. To reproduce: 0.) Boot test machine with kernel 4.15.0-47 1.) set up a NFS export on another machine (nfs-server) /etc/exports: /srv/nfstest 192.168.100.100(rw,sync,no_subtree_check) 2.) mount the NFS share on the test machine and give a non-root user ownership of the mount, in my case I have a user: aptly, with home=/var/lib/aptly, and I mounted the NFS at /var/lib/aptly/test. aptly:aptly owns /var/lib/aptly/test. /etc/fstab: 192.168.100.101:/srv/nfstest/var/lib/aptly/test nfs rw,mountvers=3 3.) attempt to call access.W_OK on the mount as the non-root user `strace ./testaccess.py` stderr: ... access("/var/lib/aptly/test", W_OK) = -1 EACCES (Permission denied) ... stdout: ('Writeable:', False) ('user r,e,s', (5062, 5062, 5062)) ('group r,e,s', (5062, 5062, 5062)) posix.stat_result(st_mode=16895, st_ino=101188113, st_dev=48, st_nlink=3, st_uid=5062, st_gid=5062, st_size=4096, st_atime=1554858490, st_mtime=1554858633, st_ctime=1554858633) testaccess.py: #!/usr/bin/python import os import sys from pprint import pprint directory = '/var/lib/aptly/test' if __name__ == "__main__": writeable = os.access(directory, os.W_OK) print("Writeable:", writeable) print("user r,e,s", os.getresuid()) print("group r,e,s", os.getresgid()) pprint(os.stat(directory)) --- AlsaDevices: total 0 crw-rw 1 root audio 116, 1 Apr 9 18:53 seq crw-rw 1 root audio 116, 33 Apr 9 18:53 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: DistroRelease: Ubuntu 16.04 HibernationDevice: RESUME=/dev/mapper/pao03--aptly01--vg-swap_1 InstallationDate: Installed on 2019-04-09 (1 days ago) InstallationMedia: Ubuntu-Server 16.04.5 LTS "Xenial Xerus" - Release amd64 (20180731) IwConfig: Error: [Errno 2] No such file or directory Lsusb: Error: command ['lsusb'] failed with exit code 1: MachineType: VMware, Inc. VMware Virtual Platform Package: linux (not installed) PciMultimedia: ProcFB: 0 svgadrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-47-generic root=/dev/mapper/pao03--aptly01--vg-root ro ProcVersionSignature: Ubuntu 4.15.0-47.50~16.04.1-generic 4.15.18 RelatedPackageVersions: linux-restricted-modules-4.15.0-47-generic N/A linux-backports-modules-4.15.0-47-generic N/A linux-firmware 1.157.21 RfKill: Error: [Errno 2] No such file or directory Tags: xenial xenial Uname: Linux 4.15.0-47-generic x86_64 UnreportableReason: The report belongs to a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: False dmi.bios.date: 07/28/2017 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:bd07/28/2017: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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1824050/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1824050] ProcModules.txt
apport information ** Attachment added: "ProcModules.txt" https://bugs.launchpad.net/bugs/1824050/+attachment/5254593/+files/ProcModules.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1824050 Title: access.W_OK yields -1 EACCES (permission denied) on NFS mountpoints Status in linux package in Ubuntu: Confirmed Bug description: When upgrading from xenial kernel (4.4.0-145) to linux-image-generic- hwe-16.04 (4.15.0-47) I am no longer able to run an application that checks it's data directory for write access/path traversal when that directory is an NFS share. This works on 4.4 and 3.13 kernels that I tested with but fails on 4.15. I'm using NFSv3 and have seen the behavior with both a synology NAS as the nfs-server as well as my xenial desktop as the nfs-server. To reproduce: 0.) Boot test machine with kernel 4.15.0-47 1.) set up a NFS export on another machine (nfs-server) /etc/exports: /srv/nfstest 192.168.100.100(rw,sync,no_subtree_check) 2.) mount the NFS share on the test machine and give a non-root user ownership of the mount, in my case I have a user: aptly, with home=/var/lib/aptly, and I mounted the NFS at /var/lib/aptly/test. aptly:aptly owns /var/lib/aptly/test. /etc/fstab: 192.168.100.101:/srv/nfstest/var/lib/aptly/test nfs rw,mountvers=3 3.) attempt to call access.W_OK on the mount as the non-root user `strace ./testaccess.py` stderr: ... access("/var/lib/aptly/test", W_OK) = -1 EACCES (Permission denied) ... stdout: ('Writeable:', False) ('user r,e,s', (5062, 5062, 5062)) ('group r,e,s', (5062, 5062, 5062)) posix.stat_result(st_mode=16895, st_ino=101188113, st_dev=48, st_nlink=3, st_uid=5062, st_gid=5062, st_size=4096, st_atime=1554858490, st_mtime=1554858633, st_ctime=1554858633) testaccess.py: #!/usr/bin/python import os import sys from pprint import pprint directory = '/var/lib/aptly/test' if __name__ == "__main__": writeable = os.access(directory, os.W_OK) print("Writeable:", writeable) print("user r,e,s", os.getresuid()) print("group r,e,s", os.getresgid()) pprint(os.stat(directory)) --- AlsaDevices: total 0 crw-rw 1 root audio 116, 1 Apr 9 18:53 seq crw-rw 1 root audio 116, 33 Apr 9 18:53 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: DistroRelease: Ubuntu 16.04 HibernationDevice: RESUME=/dev/mapper/pao03--aptly01--vg-swap_1 InstallationDate: Installed on 2019-04-09 (1 days ago) InstallationMedia: Ubuntu-Server 16.04.5 LTS "Xenial Xerus" - Release amd64 (20180731) IwConfig: Error: [Errno 2] No such file or directory Lsusb: Error: command ['lsusb'] failed with exit code 1: MachineType: VMware, Inc. VMware Virtual Platform Package: linux (not installed) PciMultimedia: ProcFB: 0 svgadrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-47-generic root=/dev/mapper/pao03--aptly01--vg-root ro ProcVersionSignature: Ubuntu 4.15.0-47.50~16.04.1-generic 4.15.18 RelatedPackageVersions: linux-restricted-modules-4.15.0-47-generic N/A linux-backports-modules-4.15.0-47-generic N/A linux-firmware 1.157.21 RfKill: Error: [Errno 2] No such file or directory Tags: xenial xenial Uname: Linux 4.15.0-47-generic x86_64 UnreportableReason: The report belongs to a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: False dmi.bios.date: 07/28/2017 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:bd07/28/2017: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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1824050/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1824050] Lspci.txt
apport information ** Attachment added: "Lspci.txt" https://bugs.launchpad.net/bugs/1824050/+attachment/5254589/+files/Lspci.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1824050 Title: access.W_OK yields -1 EACCES (permission denied) on NFS mountpoints Status in linux package in Ubuntu: Confirmed Bug description: When upgrading from xenial kernel (4.4.0-145) to linux-image-generic- hwe-16.04 (4.15.0-47) I am no longer able to run an application that checks it's data directory for write access/path traversal when that directory is an NFS share. This works on 4.4 and 3.13 kernels that I tested with but fails on 4.15. I'm using NFSv3 and have seen the behavior with both a synology NAS as the nfs-server as well as my xenial desktop as the nfs-server. To reproduce: 0.) Boot test machine with kernel 4.15.0-47 1.) set up a NFS export on another machine (nfs-server) /etc/exports: /srv/nfstest 192.168.100.100(rw,sync,no_subtree_check) 2.) mount the NFS share on the test machine and give a non-root user ownership of the mount, in my case I have a user: aptly, with home=/var/lib/aptly, and I mounted the NFS at /var/lib/aptly/test. aptly:aptly owns /var/lib/aptly/test. /etc/fstab: 192.168.100.101:/srv/nfstest/var/lib/aptly/test nfs rw,mountvers=3 3.) attempt to call access.W_OK on the mount as the non-root user `strace ./testaccess.py` stderr: ... access("/var/lib/aptly/test", W_OK) = -1 EACCES (Permission denied) ... stdout: ('Writeable:', False) ('user r,e,s', (5062, 5062, 5062)) ('group r,e,s', (5062, 5062, 5062)) posix.stat_result(st_mode=16895, st_ino=101188113, st_dev=48, st_nlink=3, st_uid=5062, st_gid=5062, st_size=4096, st_atime=1554858490, st_mtime=1554858633, st_ctime=1554858633) testaccess.py: #!/usr/bin/python import os import sys from pprint import pprint directory = '/var/lib/aptly/test' if __name__ == "__main__": writeable = os.access(directory, os.W_OK) print("Writeable:", writeable) print("user r,e,s", os.getresuid()) print("group r,e,s", os.getresgid()) pprint(os.stat(directory)) --- AlsaDevices: total 0 crw-rw 1 root audio 116, 1 Apr 9 18:53 seq crw-rw 1 root audio 116, 33 Apr 9 18:53 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: DistroRelease: Ubuntu 16.04 HibernationDevice: RESUME=/dev/mapper/pao03--aptly01--vg-swap_1 InstallationDate: Installed on 2019-04-09 (1 days ago) InstallationMedia: Ubuntu-Server 16.04.5 LTS "Xenial Xerus" - Release amd64 (20180731) IwConfig: Error: [Errno 2] No such file or directory Lsusb: Error: command ['lsusb'] failed with exit code 1: MachineType: VMware, Inc. VMware Virtual Platform Package: linux (not installed) PciMultimedia: ProcFB: 0 svgadrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-47-generic root=/dev/mapper/pao03--aptly01--vg-root ro ProcVersionSignature: Ubuntu 4.15.0-47.50~16.04.1-generic 4.15.18 RelatedPackageVersions: linux-restricted-modules-4.15.0-47-generic N/A linux-backports-modules-4.15.0-47-generic N/A linux-firmware 1.157.21 RfKill: Error: [Errno 2] No such file or directory Tags: xenial xenial Uname: Linux 4.15.0-47-generic x86_64 UnreportableReason: The report belongs to a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: False dmi.bios.date: 07/28/2017 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:bd07/28/2017: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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1824050/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1824050] [NEW] access.W_OK yields -1 EACCES (permission denied) on NFS mountpoints
Public bug reported: When upgrading from xenial kernel (4.4.0-145) to linux-image-generic- hwe-16.04 (4.15.0-47) I am no longer able to run an application that checks it's data directory for write access/path traversal when that directory is an NFS share. This works on 4.4 and 3.13 kernels that I tested with but fails on 4.15. I'm using NFSv3 and have seen the behavior with both a synology NAS as the nfs-server as well as my xenial desktop as the nfs-server. To reproduce: 0.) Boot test machine with kernel 4.15.0-47 1.) set up a NFS export on another machine (nfs-server) /etc/exports: /srv/nfstest 192.168.100.100(rw,sync,no_subtree_check) 2.) mount the NFS share on the test machine and give a non-root user ownership of the mount, in my case I have a user: aptly, with home=/var/lib/aptly, and I mounted the NFS at /var/lib/aptly/test. aptly:aptly owns /var/lib/aptly/test. /etc/fstab: 192.168.100.101:/srv/nfstest/var/lib/aptly/test nfs rw,mountvers=3 3.) attempt to call access.W_OK on the mount as the non-root user `strace ./testaccess.py` stderr: ... access("/var/lib/aptly/test", W_OK) = -1 EACCES (Permission denied) ... stdout: ('Writeable:', False) ('user r,e,s', (5062, 5062, 5062)) ('group r,e,s', (5062, 5062, 5062)) posix.stat_result(st_mode=16895, st_ino=101188113, st_dev=48, st_nlink=3, st_uid=5062, st_gid=5062, st_size=4096, st_atime=1554858490, st_mtime=1554858633, st_ctime=1554858633) testaccess.py: #!/usr/bin/python import os import sys from pprint import pprint directory = '/var/lib/aptly/test' if __name__ == "__main__": writeable = os.access(directory, os.W_OK) print("Writeable:", writeable) print("user r,e,s", os.getresuid()) print("group r,e,s", os.getresgid()) pprint(os.stat(directory)) ** Affects: linux (Ubuntu) Importance: Undecided Status: Incomplete ** Attachment added: "apport.linux-image-4.15.0-47-generic.j9ut204h.apport" https://bugs.launchpad.net/bugs/1824050/+attachment/5254575/+files/apport.linux-image-4.15.0-47-generic.j9ut204h.apport -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1824050 Title: access.W_OK yields -1 EACCES (permission denied) on NFS mountpoints Status in linux package in Ubuntu: Incomplete Bug description: When upgrading from xenial kernel (4.4.0-145) to linux-image-generic- hwe-16.04 (4.15.0-47) I am no longer able to run an application that checks it's data directory for write access/path traversal when that directory is an NFS share. This works on 4.4 and 3.13 kernels that I tested with but fails on 4.15. I'm using NFSv3 and have seen the behavior with both a synology NAS as the nfs-server as well as my xenial desktop as the nfs-server. To reproduce: 0.) Boot test machine with kernel 4.15.0-47 1.) set up a NFS export on another machine (nfs-server) /etc/exports: /srv/nfstest 192.168.100.100(rw,sync,no_subtree_check) 2.) mount the NFS share on the test machine and give a non-root user ownership of the mount, in my case I have a user: aptly, with home=/var/lib/aptly, and I mounted the NFS at /var/lib/aptly/test. aptly:aptly owns /var/lib/aptly/test. /etc/fstab: 192.168.100.101:/srv/nfstest/var/lib/aptly/test nfs rw,mountvers=3 3.) attempt to call access.W_OK on the mount as the non-root user `strace ./testaccess.py` stderr: ... access("/var/lib/aptly/test", W_OK) = -1 EACCES (Permission denied) ... stdout: ('Writeable:', False) ('user r,e,s', (5062, 5062, 5062)) ('group r,e,s', (5062, 5062, 5062)) posix.stat_result(st_mode=16895, st_ino=101188113, st_dev=48, st_nlink=3, st_uid=5062, st_gid=5062, st_size=4096, st_atime=1554858490, st_mtime=1554858633, st_ctime=1554858633) testaccess.py: #!/usr/bin/python import os import sys from pprint import pprint directory = '/var/lib/aptly/test' if __name__ == "__main__": writeable = os.access(directory, os.W_OK) print("Writeable:", writeable) print("user r,e,s", os.getresuid()) print("group r,e,s", os.getresgid()) pprint(os.stat(directory)) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1824050/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1824050] Re: access.W_OK yields -1 EACCES (permission denied) on NFS mountpoints
This linux-nfs list member found the origin of the problem: https://marc.info/?l=linux-nfs=155480197614448=2 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1824050 Title: access.W_OK yields -1 EACCES (permission denied) on NFS mountpoints Status in linux package in Ubuntu: Confirmed Bug description: When upgrading from xenial kernel (4.4.0-145) to linux-image-generic- hwe-16.04 (4.15.0-47) I am no longer able to run an application that checks it's data directory for write access/path traversal when that directory is an NFS share. This works on 4.4 and 3.13 kernels that I tested with but fails on 4.15. I'm using NFSv3 and have seen the behavior with both a synology NAS as the nfs-server as well as my xenial desktop as the nfs-server. To reproduce: 0.) Boot test machine with kernel 4.15.0-47 1.) set up a NFS export on another machine (nfs-server) /etc/exports: /srv/nfstest 192.168.100.100(rw,sync,no_subtree_check) 2.) mount the NFS share on the test machine and give a non-root user ownership of the mount, in my case I have a user: aptly, with home=/var/lib/aptly, and I mounted the NFS at /var/lib/aptly/test. aptly:aptly owns /var/lib/aptly/test. /etc/fstab: 192.168.100.101:/srv/nfstest/var/lib/aptly/test nfs rw,mountvers=3 3.) attempt to call access.W_OK on the mount as the non-root user `strace ./testaccess.py` stderr: ... access("/var/lib/aptly/test", W_OK) = -1 EACCES (Permission denied) ... stdout: ('Writeable:', False) ('user r,e,s', (5062, 5062, 5062)) ('group r,e,s', (5062, 5062, 5062)) posix.stat_result(st_mode=16895, st_ino=101188113, st_dev=48, st_nlink=3, st_uid=5062, st_gid=5062, st_size=4096, st_atime=1554858490, st_mtime=1554858633, st_ctime=1554858633) testaccess.py: #!/usr/bin/python import os import sys from pprint import pprint directory = '/var/lib/aptly/test' if __name__ == "__main__": writeable = os.access(directory, os.W_OK) print("Writeable:", writeable) print("user r,e,s", os.getresuid()) print("group r,e,s", os.getresgid()) pprint(os.stat(directory)) --- AlsaDevices: total 0 crw-rw 1 root audio 116, 1 Apr 9 18:53 seq crw-rw 1 root audio 116, 33 Apr 9 18:53 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: DistroRelease: Ubuntu 16.04 HibernationDevice: RESUME=/dev/mapper/pao03--aptly01--vg-swap_1 InstallationDate: Installed on 2019-04-09 (1 days ago) InstallationMedia: Ubuntu-Server 16.04.5 LTS "Xenial Xerus" - Release amd64 (20180731) IwConfig: Error: [Errno 2] No such file or directory Lsusb: Error: command ['lsusb'] failed with exit code 1: MachineType: VMware, Inc. VMware Virtual Platform Package: linux (not installed) PciMultimedia: ProcFB: 0 svgadrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-47-generic root=/dev/mapper/pao03--aptly01--vg-root ro ProcVersionSignature: Ubuntu 4.15.0-47.50~16.04.1-generic 4.15.18 RelatedPackageVersions: linux-restricted-modules-4.15.0-47-generic N/A linux-backports-modules-4.15.0-47-generic N/A linux-firmware 1.157.21 RfKill: Error: [Errno 2] No such file or directory Tags: xenial xenial Uname: Linux 4.15.0-47-generic x86_64 UnreportableReason: The report belongs to a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: False dmi.bios.date: 07/28/2017 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:bd07/28/2017: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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1824050/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp