SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-12-26 21:34:00

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 9,984
Website

[SOLVED] Trying to remove gnome-keyring ->> fix the error!

Sector11 wrote:

AWESOME!!!!  That fix - fixed it - no error!!!

No need to remove GNOME-keyring at all.  I reinstalled in order to get follow the above.

One OOPS!: The file you are looking for is: Certificate and Key Storage - medit will say it is: gnome-keyring-pkcs11.desktop when open.

Thank you all!

 11 Jan 14 | 14:57:19 ~
    $ conky -c /media/5/conky/test.conky &
[1] 3277
 
 11 Jan 14 | 14:57:21 ~
    $ Conky: forked to background, pid is 3290

Conky: desktop window (264) is root window
Conky: window type - normal
Conky: drawing to created window (0x3600001)
Conky: drawing to double buffer

Start of original post:

It's not completely gone... and it's messing things up.

 26 Dec 13 | 17:52:12 ~/v9000
    $ conky -c /media/5/Conky/V9-hourly-data.conky &
[1] 4671
p11-kit: couldn't load module: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
 
 26 Dec 13 | 18:00:41 ~/v9000
    $ Conky: forked to background, pid is 4676

This directory:

/usr/lib/x86_64-linux-gnu/pkcs11/

does not exist.

 26 Dec 13 | 18:23:04 ~
    $ ser gnome-keyring
c   gnome-keyring                                      - GNOME keyring services (daemon and tools)                    
i A libgnome-keyring-common                            - GNOME keyring services library - data files                  
p   libgnome-keyring-dev                               - Development files for GNOME keyring service                  
i A libgnome-keyring0                                  - GNOME keyring services library                               
p   libgnome-keyring0-dbg                              - GNOME keyring services library (debugging symbols)           
p   libgnome-keyring1.0-cil                            - CLI library to access the GNOME Keyring daemon               
p   libgnome-keyring1.0-cil-dev                        - CLI library to access the GNOME Keyring daemon               
p   libpam-gnome-keyring                               - PAM module to unlock the GNOME keyring upon login            
p   monodoc-gnome-keyring-manual                       - CLI library to access the GNOME Keyring daemon - manual      
 
 26 Dec 13 | 18:23:14 ~
    $ ser p11
p   libdap11                                           - Open-source Project for a Network Data Access Protocol librar
p   libp11-2                                           - pkcs#11 convenience library                                  
p   libp11-2-dbg                                       - pkcs#11 convenience library - debugging symbols              
p   libp11-dev                                         - pkcs#11 convenience library - development files              
p   libp11-kit-dev                                     - Library for loading and coordinating access to PKCS#11 module
i   libp11-kit0                                        - Library for loading and coordinating access to PKCS#11 module
p   libpam-p11                                         - PAM module for using PKCS#11 smart cards                     
p   p11-kit                                            - Utilities for working with the p11-glue library and proxy mod
 
 26 Dec 13 | 18:23:51 ~
    $ 

Anyone know how I can delete this completely?
Thanks ...

Last edited by Sector11 (2014-01-11 18:18:40)

Offline

Be excellent to each other!

#2 2013-12-27 01:41:37

ew
#! Die Hard
Registered: 2012-09-27
Posts: 1,975

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

Sector11 wrote:

It's not completely gone... and it's messing things up.

Anyone know how I can delete this completely?
Thanks ...

Don`t know, but wouldn`t this do it ?:  (Remove all packages that are marked with a "i") ?

sudo apt-get --purge remove libgnome-keyring-common libgnome-keyring0 libp11-kit0

Last edited by ew (2013-12-27 01:42:52)


- Vacant account

Offline

#3 2013-12-27 02:19:26

retf
#! CrunchBanger
From: On top of spaghetti
Registered: 2013-12-25
Posts: 200

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

I don't think there are any "real" gnome dependencies for gnome keyring.  I imagine that if the keyring is not empty it would not be removed entirely - even if you "purge" it - at least I would hope there would be some sort of error message before removal.  The keyring is the same as that found in the "keyctl" utility - or at least that's my understanding... the gnome keyring API is an interface to the keyctl utility - again, my understanding... I would recommend ensuring gnome keyring is installed completely rather than attempting to purge it - it's possible you have "active" keys/passwords/etc listed on under the "gnome keyring" keyring...

"keyctl show" is useful for beginning to probe deeper into keyrings...

Hopefully more learned "others" will correct my possible misunderstandings...

Offline

#4 2013-12-27 13:04:09

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 9,984
Website

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

I have always removed gnome-keyring this is a fresh re-install if Waldorf as Debian SID died when my HDD died.  I had #! installed on that drive as well without gnome-keyring so I'm not sure why this one won't go.

 27 Dec 13 | 09:50:18 ~
    $ remv libp11-kit0
[sudo] password for sector11: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libcurl3-gnutls : Depends: libgnutls26 (>= 2.12.17-0) but it is not going to be installed
                   Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
                   Depends: librtmp0 (>= 2.3) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 
 27 Dec 13 | 09:50:30 ~
    $ 

Well, it's not "held" packages:

 27 Dec 13 | 09:50:30 ~
    $ dpkg --get-selections | grep hold
 
 27 Dec 13 | 09:52:09 ~
    $ 

Offline

#5 2013-12-27 13:32:29

josephg
#! Member
From: Surrey
Registered: 2011-10-24
Posts: 65
Website

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

i don't use gnome-keyring either. i simply don't trust anything to store my passwords. and i wouldn't touch gnome with a barge pole either.


leaner code is cleaner code is more efficient code

Offline

#6 2013-12-27 14:33:02

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 9,984
Website

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

josephg wrote:

i don't use gnome-keyring either. i simply don't trust anything to store my passwords. and i wouldn't touch gnome with a barge pole either.

Are you running Waldorf?  And if so how did you get rid of it?

Offline

#7 2013-12-27 15:42:36

retf
#! CrunchBanger
From: On top of spaghetti
Registered: 2013-12-25
Posts: 200

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

josephg wrote:

i don't use gnome-keyring either. i simply don't trust anything to store my passwords. and i wouldn't touch gnome with a barge pole either.

Passwords are stored somewhere if they exist - you can't "just remember them" - because the system needs to know the password in order to authenticate the user.  So, even you don't explicitly store them, they are stored somewhere, in plaintext [even if just in RAM for a moment], and most likely somewhere you do not have any control over or access to.  The statement "don't trust anything to store my passwords" doesn't make any sense really --- just a little pet peeve of mine... the only way around storing passwords somewhere is to use X509 certificates to authenticate users.  However, if the X509 cert is stolen - then the thief will be able to authenticate as the user without any password to guess...

However, back to subject at hand - removal of gnome-keyring... try removing and purging libpam-gnome-keyring as well as gnome-keyring...

Offline

#8 2013-12-27 16:03:49

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 9,984
Website

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

retf wrote:

{snip}

However, back to subject at hand - removal of gnome-keyring... try removing and purging libpam-gnome-keyring as well as gnome-keyring...

I concur with the snipped part ... and to continue (network-manager has been replaced with WICD)

 27 Dec 13 | 12:38:36 ~
    $ sremv libpam-gnome-keyring
[sudo] password for sector11: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  crda dnsmasq-base iw libjim0debian2 libnetfilter-conntrack3 libnl-route-3-200 libnm-gtk-common libnm-gtk0
  libpam-gnome-keyring mobile-broadband-provider-info modemmanager network-manager usb-modeswitch
  usb-modeswitch-data wireless-regdb
0 upgraded, 0 newly installed, 15 to remove and 0 not upgraded.
Remv crda [1.1.2-1]
Remv dnsmasq-base [2.62-3+deb7u1]
Remv iw [3.4-1]
Remv usb-modeswitch [1.2.3+repack0-1]
Remv libjim0debian2 [0.73-3]
Remv libnetfilter-conntrack3 [1.0.1-1]
Remv network-manager [0.9.4.0-10]
Remv libnl-route-3-200 [3.2.7-4]
Remv libnm-gtk0 [0.9.4.1-5]
Remv libnm-gtk-common [0.9.4.1-5]
Remv libpam-gnome-keyring [3.4.1-5]
Remv mobile-broadband-provider-info [20120708-1]
Remv modemmanager [0.5.2.0-2]
Remv usb-modeswitch-data [20120815-2]
Remv wireless-regdb [2011.04.28-1]
 
 27 Dec 13 | 12:38:59 ~
    $ remv libpam-gnome-keyring
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  crda dnsmasq-base iw libjim0debian2 libnetfilter-conntrack3 libnl-route-3-200 libnm-gtk-common libnm-gtk0
  libpam-gnome-keyring mobile-broadband-provider-info modemmanager network-manager usb-modeswitch
  usb-modeswitch-data wireless-regdb
0 upgraded, 0 newly installed, 15 to remove and 0 not upgraded.
After this operation, 8,412 kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 99554 files and directories currently installed.)
Removing crda ...
Removing dnsmasq-base ...
Removing iw ...
Removing usb-modeswitch ...
Removing libjim0debian2:amd64 ...
Removing libnetfilter-conntrack3:amd64 ...
Removing network-manager ...
Stopping network connection manager: NetworkManager.
Removing libnl-route-3-200:amd64 ...
Removing libnm-gtk0 ...
Removing libnm-gtk-common ...
Removing libpam-gnome-keyring ...
Removing mobile-broadband-provider-info ...
Removing modemmanager ...
Removing usb-modeswitch-data ...
Removing wireless-regdb ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
 
 27 Dec 13 | 12:39:30 ~
    $ conky -c /media/5/Conky/V9-hourly-data.conky &
[1] 15810
 
 27 Dec 13 | 12:39:39 ~
    $ WARNING: gnome-keyring:: couldn't connect to: /home/sector11/.cache/keyring-I4M2nb/pkcs11: No such file or directory
Conky: forked to background, pid is 15815

still there.  sad

Offline

#9 2013-12-27 16:42:30

retf
#! CrunchBanger
From: On top of spaghetti
Registered: 2013-12-25
Posts: 200

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

Perhaps the GNOME_KEYRING_CONTROL environment variable is still set.

Gnome Keyring Info Page

Offline

#10 2013-12-27 17:01:17

retf
#! CrunchBanger
From: On top of spaghetti
Registered: 2013-12-25
Posts: 200

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

Also

ls -l /etc/xdg/autostart

might be useful  to page through or edit --- but hopefully those entries would have been cleaned up with the "purge" ... maybe not though...

Offline

#11 2013-12-27 17:31:28

iMBeCil
WAAAAT?
From: Zgb, Croatia
Registered: 2012-03-22
Posts: 562

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

@Sector11

I have been fiddling with gnome-keyring (and with ssh-agent) for a few days ... I wanted to get rid of DM (Slim), and start my WM (pekwm) from startx. And I wanted just opposite of you: to get gnome-keyring running.

What I have learned/discovered so far is:
1) login processes (either with SLIM or plain console login; I do not know which one you have) establish some sort of 'keyring'. This is controlled by '/etc/pam.d/*' config files. I do not fully understand those config files, but it is instructive to see

$ more /etc/pam.d/slim

i.e. what slim does. Also what pure (console) logging in does:

$ more /etc/pam.d/login

So, as soon as you use PAM, there is an almost 100% chance that you are storing your password somehow in memory.

Conclusion: per default, #! with SLIM starts gnome-keyring. #! without slim seems to start some sort of 'ssh-agent'.

2) When SLIM starts openbox, it sources files in '/etc/X11/Xsession.d/'. See:

$ more /etc/X11/Xsession.d/90x11-common_ssh-agent

This file checks for already running 'key-agent' (any software taking care of storing login passwords in memory for future use). If none is present, then it starts 'ssh-agent' for just this purpose. I don't know if this is really necessary or not for normal system functioning. Normally, in vanilla #!, at this point, 'key-agent' software is already running, and this file does nothing.

Conclusion: even if you remove PAM, you will have to deal with this 'ssh-agent', is you are running X.
---------------------------
To avoid TL;DR, let my just say that for you it might be enough to remove (i.e. comment out) lines with

            pam_gnome_keyring.so

in '/etc/pam.d/*' config files. But, there is still chance that some other 'key-agent' stores passwords in memory.

PS. Be careful, read man, as you can render your system unusable.


Postpone all your duties; if you die, you won't have to do them ..

Offline

#12 2013-12-27 17:45:43

retf
#! CrunchBanger
From: On top of spaghetti
Registered: 2013-12-25
Posts: 200

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

In looking for an answer to this question, I discovered that this same issue had been ?solved? late 2012... Here

In any case, I strongly advise against commenting out items in the pam config files unless you *really* know what you are doing.  A correctly running pam is the only way to login - if a needed module is commented, the next boot might be the last one until a system re-install...

For a "passwordless" login --- try pam_usb PAM_USB

I've used pam_usb and it's neat --- however, I haven't been able to figure out how to use it to automatically unlock an ecryptfs home directory...  I got as far as using the "insert wrapped passphrase" command to gain access, but didn't get it to run automatically...

Offline

#13 2013-12-27 18:27:51

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 9,984
Website

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

@ iMBeCil and @ retf

retf wrote:

In looking for an answer to this question, I discovered that this same issue had been ?solved? late 2012... Here

OUCH!  That's mine ... and in the last post ... I didn't put in there just what I added .. so I tried "OpenBox;"  big_smile

retf wrote:

In any case, I strongly advise against commenting out items in the pam config files unless you *really* know what you are doing.  A correctly running pam is the only way to login - if a needed module is commented, the next boot might be the last one until a system re-install...

For a "passwordless" login --- try pam_usb PAM_USB

Ahhhhhhh I have another #! OOTB system here on sda7 and sda8, my backup system, I'll just boot to that and change it back.  Well almost OOTB, it has a few of my apps but the "system" has not been changed.

I'll pass on the USB thing, my BIOS has been changed (by a computer techie no less) and I cannot boot from USB's at the moment until I find the right sequence in the BIOS that allows it.  mad mad mad

Well the two lines in the pam config that have gnome_keyring both have "optional" in them:

auth    optional        pam_gnome_keyring.so
session optional        pam_gnome_keyring.so auto_start

I'm looking at: more /etc/pam.d/lightdm - slim has been removed.

Last edited by Sector11 (2013-12-27 18:28:47)

Offline

#14 2013-12-27 19:04:40

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 9,984
Website

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

Just so we are all at the same place.

I commented out the two lines in: /etc/pam.d/lightdm

auth    optional        pam_gnome_keyring.so
session optional        pam_gnome_keyring.so auto_start

No change - or not change I could see.  Booted up fine and conky has the same error ... as the other thread says:

Not a grave error - I'll live with it.

Unless anyone has another idea.

I'm willing to try anything.

The beauty of #!, it's like safety glass, if it breaks, it breaks evenly .. that glues back together every nicely.

Last edited by Sector11 (2013-12-27 19:06:19)

Offline

#15 2013-12-27 19:16:59

retf
#! CrunchBanger
From: On top of spaghetti
Registered: 2013-12-25
Posts: 200

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

This might be useful:

grep --color=auto -e gnome /etc/pam.d/*

Offline

#16 2014-01-11 15:00:57

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 9,984
Website

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

retf wrote:

"keyctl show" is useful for beginning to probe deeper into keyrings...

Hopefully more learned "others" will correct my possible misunderstandings...

revisiting this thread - what is "keyctl show"?

 11 Jan 14 | 11:48:26 ~
    $ keyctl show
bash: keyctl: command not found
 
 11 Jan 14 | 11:49:29 ~
    $ sudo keyctl show
[sudo] password for sector11: 
sudo: keyctl: command not found
 
 11 Jan 14 | 11:49:39 ~
    $ ser keyctl
                                       
 11 Jan 14 | 11:49:59 ~
    $ sho keyctl
E: Unable to locate package keyctl
 
 11 Jan 14 | 11:50:05 ~
    $ 

Offline

#17 2014-01-11 15:56:10

hhh
Caught in the Vortex
Registered: 2010-08-04
Posts: 1,885

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

@Sector11, am I misunderstanding things? Isn't the problem that there is no file gnome-keyring-pkcs11.so because you've removed gnome-keyring, but something (??? I'm seeing this file missing for Wine users on 64bit, could that be it?) is calling for it?

If so, I'd try a hack... download the wheezy amd64 gnome-keyring deb...
http://packages.debian.org/wheezy/amd64 … g/download

Extract it, copy the missing folders and file...
/usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so

Shove it into your file structure and reboot. I figure it's worth a shot.

-edit- Sorry, I didn't catch that this was a slightly resurrected thread.

Last edited by hhh (2014-01-11 16:10:38)

Offline

#18 2014-01-11 16:01:30

porkpiehat
#! Die Hard
Registered: 2012-10-02
Posts: 589

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

Sector11 wrote:

revisiting this thread - what is "keyctl show"?

First hit in a search for "keyctl man page" : http://linux.die.net/man/1/keyctl

Use "apt-file" to search for the command:

$ apt-file search keyctl
...
keyutils: /bin/keyctl
...

Install the "keyutils" package.

Last edited by porkpiehat (2014-01-11 16:02:41)


I love mankind; it's people I can't stand. -- Linus van Pelt

Offline

#19 2014-01-11 18:02:04

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 9,984
Website

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

hhh wrote:

@Sector11, am I misunderstanding things? Isn't the problem that there is no file gnome-keyring-pkcs11.so because you've removed gnome-keyring, but something (??? I'm seeing this file missing for Wine users on 64bit, could that be it?) is calling for it?

If so, I'd try a hack... download the wheezy amd64 gnome-keyring deb...
http://packages.debian.org/wheezy/amd64 … g/download

Extract it, copy the missing folders and file...
/usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so

Shove it into your file structure and reboot. I figure it's worth a shot.

-edit- Sorry, I didn't catch that this was a slightly resurrected thread.

I need to apologize.

I reinstalled gnome-keyring because apparently there is a fix for the error.  If that works I don't care that it's here.

Since reinstalling ... gnome-keyring-pkcs11.so is here.

However there is no: /etc/xdg/autostart/gnome-keyring-pkcs11.desktop that is in Step 1 of the three steps.

OH CRAP!  It's called: Certificate and Key Storage --- ops ops ops

OnlyShowIn=GNOME;Unity;OPENBOX;

Now to re-boot
BRB

Offline

#20 2014-01-11 18:03:13

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 9,984
Website

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

porkpiehat wrote:
Sector11 wrote:

revisiting this thread - what is "keyctl show"?

First hit in a search for "keyctl man page" : http://linux.die.net/man/1/keyctl

Use "apt-file" to search for the command:

$ apt-file search keyctl
...
keyutils: /bin/keyctl
...

Install the "keyutils" package.


Had to get "apt-file" - I like it..

See above ... after the upcoming reboot ... I'll have more info.

Offline

#21 2014-01-11 18:09:07

Sector11
77345 ¡#
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 9,984
Website

Re: [SOLVED] Trying to remove gnome-keyring ->> fix the error!

AWESOME!!!!  That fix - fixed it - no error!!!

Thank you all!

Marking this solved ... see OP

Last edited by Sector11 (2014-01-11 18:22:48)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo