Public bug reported:

There is an issue with the Xsession, in which logging out and logging
back in again does not clear environment variables, so the ssh-agent
script thinks that the agent is already running, and thus does not
bother to start it again.

I have altered the script, albeit in not the most pretty way, to detect
if the agent is already running, and if not, force a restart.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: x11-common 1:7.7+19ubuntu7.1
ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
Uname: Linux 4.15.0-33-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CompositorRunning: None
CurrentDesktop: KDE
Date: Tue Aug 28 17:33:34 2018
Dependencies: lsb-base 9.20170808ubuntu1
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
DkmsStatus:
 anbox, 1, 4.15.0-32-generic, x86_64: installed
 anbox, 1, 4.15.0-33-generic, x86_64: installed
 nvidia, 396.54, 4.15.0-33-generic, x86_64: installed
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480] 
[1002:67df] (rev c7) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Radeon RX 480 [1043:04fb]
InstallationDate: Installed on 2018-08-04 (24 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
MachineType: MSI MS-7751
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-33-generic 
root=/dev/mapper/ubuntu--vg-root ro quiet splash amdgpu.dc=0 mem=33554428k 
vt.handoff=1
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/09/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V10.11
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z77A-GD65 (MS-7751)
dmi.board.vendor: MSI
dmi.board.version: 2.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 2.0
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrV10.11:bd10/09/2013:svnMSI:pnMS-7751:pvr2.0:rvnMSI:rnZ77A-GD65(MS-7751):rvr2.0:cvnMSI:ct3:cvr2.0:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7751
dmi.product.version: 2.0
dmi.sys.vendor: MSI
mtime.conffile..etc.X11.Xsession.d.90x11-common_ssh-agent: 
2018-08-28T17:23:14.025376
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.94+git1808281609.f3d90e8~b~padoka0
version.libgl1-mesa-dri: libgl1-mesa-dri 
1:18.3~git180816191500.b618d7e~b~padoka0
version.libgl1-mesa-glx: libgl1-mesa-glx 
1:18.3~git180816191500.b618d7e~b~padoka0
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 
1:18.0.99+git1808290006.cba8fe4~b~padoka0
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git1806121919.3d39506~b~padoka0
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1789523

Title:
  The ssh-agent launcher script fails to relaunch ssh-agent

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to