Didn't manage to reproduce on 4.17.3

** Tags added: kernel-fixed-upstream

** Changed in: linux (Ubuntu)
       Status: Incomplete => Fix Released

-- 
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/1777420

Title:
  Login loop after inactivity in login screen

Status in linux package in Ubuntu:
  Fix Released

Bug description:
  I have Kubuntu 18.04 installed with /home/$USER directory using
  ecryptfs. As a display manager I use standard sddm and sddm-locker. If
  I leave my PC for a weekend powered on and locked then I'm unable to
  log in on monday.

  When I enter correct password in sddm - it prints that I entered
  incorrect password. If I switch to any virtual terminal and try to
  login there I'm immediately thrown out of session back to login
  prompt. That's what I see in logs:

  auth.log:
  Jun 18 12:59:55 yanPC login[14123]: pam_ecryptfs: Passphrase file wrapped
  Jun 18 12:59:56 yanPC login[14031]: pam_unix(login:session): session opened 
for user yan by LOGIN(uid=0)
  Jun 18 12:59:56 yanPC systemd-logind[770]: New session 1757 of user yan. 
  Jun 18 12:59:56 yanPC login[14031]: pam_ecryptfs: Error setting up private 
mount
  Jun 18 12:59:56 yanPC login[14031]: pam_unix(login:session): session closed 
for user yan
  Jun 18 12:59:56 yanPC login[14031]: pam_ecryptfs: Error setting up private 
mount
  Jun 18 12:59:56 yanPC systemd-logind[770]: Removed session 1757.

  syslog:
  Jun 18 12:59:56 yanPC systemd[1]: Started Session 1757 of user yan. 
  Jun 18 12:59:56 yanPC kernel: [870285.302824] cgroup: fork rejected by pids 
controller in /user.slice/user-1000.slice/session-1757.scope
  Jun 18 12:59:56 yanPC systemd[1]: getty@tty3.service: Service has no hold-off 
time, scheduling restart.
  Jun 18 12:59:56 yanPC systemd[1]: getty@tty3.service: Scheduled restart job, 
restart counter is at 12.
  Jun 18 12:59:56 yanPC systemd[1]: Stopped Getty on tty3.
  Jun 18 12:59:56 yanPC systemd[1]: Started Getty on tty3.

  
  kern.log:
  Jun 18 12:59:26 yanPC kernel: [870256.029760] cgroup: fork rejected by pids 
controller in /user.slice/user-1000.slice/session-1756.scope
  Jun 18 12:59:56 yanPC kernel: [870285.302824] cgroup: fork rejected by pids 
controller in /user.slice/user-1000.slice/session-1757.scope

  
  If I login as root from virtual terminal and systemctl restart sddm.service 
then I'm able to login from anywhere.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  yan       15467 F.... pulseaudio
  CurrentDesktop: KDE
  DistroRelease: Ubuntu 18.04
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2018-05-28 (21 days ago)
  InstallationMedia: Kubuntu 18.04 LTS "Bionic Beaver" - Release amd64 
(20180426)
  IwConfig:
   lo        no wireless extensions.
   
   enp0s31f6  no wireless extensions.
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120
   Bus 001 Device 003: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: System manufacturer System Product Name
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-22-generic 
root=UUID=5971ee8e-0793-4798-890d-992475d56d8a ro quiet splash vt.handoff=1
  ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-22-generic N/A
   linux-backports-modules-4.15.0-22-generic  N/A
   linux-firmware                             1.173.1
  RfKill:
   
  Tags:  bionic
  Uname: Linux 4.15.0-22-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo wireshark
  _MarkForUpload: True
  dmi.bios.date: 11/16/2015
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0505
  dmi.board.asset.tag: Default string
  dmi.board.name: Z170M-PLUS
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev X.0x
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 3
  dmi.chassis.vendor: Default string
  dmi.chassis.version: Default string
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0505:bd11/16/2015:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnZ170M-PLUS:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1777420/+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

Reply via email to