[Touch-packages] [Bug 1746527] Re: Systemd User Service Cannot Start with ECryptFS Due to PAM Misconfiguration

2019-10-08 Thread Alexander Fieroch
*** This bug is a duplicate of bug 1734290 ***
https://bugs.launchpad.net/bugs/1734290

** This bug has been marked a duplicate of bug 1734290
   ecryptfs decrypts home AFTER systemd user daemon is loaded. trouble ensues…

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1746527

Title:
  Systemd User Service Cannot Start with ECryptFS Due to PAM
  Misconfiguration

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  If a user encrypts their home directory using the standard Ubuntu
  installer GUI, which uses ecryptfs, then the users home directory is
  encrypted while systemd is trying to start their user services so they
  cant be read. After consulting with the systemd developers, the
  problem is remarkably simple to fix

  Ubuntu releases /etc/pam.d/common-session with the follow entries:

  session optionalpam_systemd.so
  session optionalpam_ecryptfs.so unwrap

  they need to be swapped to

  session optionalpam_ecryptfs.so unwrap
  session optionalpam_systemd.so

  so that decryption happens before systemd user services are started.

  Check the thread on the systemd developers mailing list at
  https://lists.freedesktop.org/archives/systemd-
  devel/2018-January/040301.html for further information

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: systemd 234-2ubuntu12.1
  Uname: Linux 4.14.4-acso x86_64
  ApportVersion: 2.20.7-0ubuntu3.7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Jan 31 09:25:10 2018
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2017-11-04 (87 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
  MachineType: Dell Inc. XPS 15 9560
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.14.4-acso 
root=/dev/mapper/ubuntu--vg-root ro quiet splash intel_iommu=on pci=noaer 
pcie_acs_override=downstream vt.handoff=7
  SourcePackage: systemd
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/30/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.5.0
  dmi.board.name: 05FFDN
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.5.0:bd08/30/2017:svnDellInc.:pnXPS159560:pvr:rvnDellInc.:rn05FFDN:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: XPS
  dmi.product.name: XPS 15 9560
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1746527/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1746527] Re: Systemd User Service Cannot Start with ECryptFS Due to PAM Misconfiguration

2018-10-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: systemd (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1746527

Title:
  Systemd User Service Cannot Start with ECryptFS Due to PAM
  Misconfiguration

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  If a user encrypts their home directory using the standard Ubuntu
  installer GUI, which uses ecryptfs, then the users home directory is
  encrypted while systemd is trying to start their user services so they
  cant be read. After consulting with the systemd developers, the
  problem is remarkably simple to fix

  Ubuntu releases /etc/pam.d/common-session with the follow entries:

  session optionalpam_systemd.so
  session optionalpam_ecryptfs.so unwrap

  they need to be swapped to

  session optionalpam_ecryptfs.so unwrap
  session optionalpam_systemd.so

  so that decryption happens before systemd user services are started.

  Check the thread on the systemd developers mailing list at
  https://lists.freedesktop.org/archives/systemd-
  devel/2018-January/040301.html for further information

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: systemd 234-2ubuntu12.1
  Uname: Linux 4.14.4-acso x86_64
  ApportVersion: 2.20.7-0ubuntu3.7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Jan 31 09:25:10 2018
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2017-11-04 (87 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
  MachineType: Dell Inc. XPS 15 9560
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.14.4-acso 
root=/dev/mapper/ubuntu--vg-root ro quiet splash intel_iommu=on pci=noaer 
pcie_acs_override=downstream vt.handoff=7
  SourcePackage: systemd
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/30/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.5.0
  dmi.board.name: 05FFDN
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.5.0:bd08/30/2017:svnDellInc.:pnXPS159560:pvr:rvnDellInc.:rn05FFDN:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: XPS
  dmi.product.name: XPS 15 9560
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1746527/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp