gdm fails starting a session if gpg-agent-info-$(hostname) is malformed

Bug #1086743 reported by Matteo Bertini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
New
Undecided
Unassigned

Bug Description

Put some random stuff in (in fact for fsck did this for me):

echo "dklsjf ksakjdhas hldslfkljhkljs(" > /home/$USER/.gnupg/gpg-agent-info-$(hostname)

Then login in gdm, the screen flashes and this is the log in ./.cache/gdm/session.log:

/etc/gdm/Xsession: Beginning session setup...
localuser:matteo being added to access control list
localuser:matteo being added to access control list
Setting IM through im-switch for locale=en_US.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
/etc/gdm/Xsession: 1: /home/matteo/.gnupg/gpg-agent-info-pecetta: Syntax error: "(" unexpected

A similar error occurs in lightdm.

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.