Using: grep -q "^use-ssh-agent$" /etc/X11/Xsession.options || { stop; exit 0; } To detect whether or not to launch the ssh agent doesn't seem to make sense to me, since if "use-ssh-agent" is true then ssh-agent will be setup by /etc/X11/Xsession.d/90x11-common_ssh-agent (and later launched), so there doesn't seem to be a need for an upstart script here.
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1244736 Title: upstart configuration for user launches an extra ssh-agent To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1244736/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs