← Back to team overview

ecryptfs team mailing list archive

[Bug 290064] Re: ecryptfs-setup-private accepts but cannot add to keyring a mount passphrase containing some characters

 

Although I do get other errors now:

cp -r .ssh/ .gnupg/ .mozilla/ Private/
cp: cannot create regular file `Private/.ssh/id_rsa': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/Crash Reports/submitted/bp-684f6347-84ef-11dd-8199-001a4bd43e5c.txt': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/Cache/4259FFF6d01': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/Cache/0940A9E1d01': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/Cache/_CACHE_001_': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/Cache/29549C3Cd01': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/Cache/5E44EC83d01': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/Cache/6ECF3DA1d01': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/Cache/B8C18B7Ad01': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/Cache/1D4859E2d01': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/foxmarks.log': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}/components/nsAdblockPlus.js': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/{3d7eb24f-2740-49df-8937-200b1cc08f8a}/chrome.manifest': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/content/firebug/domplate.js': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/content/firebug/layout.js': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/content/firebug/profiler.js': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/content/firebug/insideOutBox.js': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/docs/ReleaseNotes_1.2.1.txt': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/lite/warningIcon.png': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/skin/classic/stepOutActive.png': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/skin/classic/win/tabRightHover.png': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/skin/classic/win/min.png': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/skin/classic/stepOut.png': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/skin/classic/dom.css': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/skin/classic/mac/detachActive.png': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/skin/classic/mac/twistyClosed.png': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/skin/classic/breakpointDisabled.png': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/skin/classic/notloading_16.png': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/update.rdf.tpl.xml': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/locale/ja/firebug.properties': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/locale/sk-SK/editors.dtd': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/locale/es-ES/editors.dtd': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/locale/hu-HU/firebug.dtd': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/firebug@xxxxxxxxxxxxxxxxxxxxxx/locale/nl-NL/firebug.dtd': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/content/foxmarks-unittest.js': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/content/foxmarks-invalidpin.xul': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/content/foxmarks-placesoverlay.xul': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/content/foxmarks-pwprefoverlay.js': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/content/foxmarks-nodes.js': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/skin/modern/images/pane-selector-profiles_TEMP.png': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/skin/modern/images/pane-selector-types.png': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/locale/zh-TW/setup.dtd': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/locale/da-DK/foxmarks.properties': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/locale/fr-FR/foxmarks.dtd': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/locale/sk-SK/conflicts.dtd': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/locale/.DS_Store': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/locale/bn-IN/conflicts.dtd': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/locale/fy-NL/setup.dtd': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/locale/pt-BR/foxmarks.properties': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/extensions/foxmarks@xxxxxxx/chrome/locale/ja-JP/foxmarks.dtd': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/bookmarkbackups/bookmarks-2008-10-25.json': Cannot allocate memory
cp: cannot create regular file `Private/.mozilla/firefox/b02jmt4l.default/mimeTypes.rdf': Cannot allocate memory

-- 
ecryptfs-setup-private accepts but cannot add to keyring a mount passphrase containing some characters
https://bugs.launchpad.net/bugs/290064
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in “ecryptfs-utils” source package in Ubuntu: Confirmed

Bug description:
Binary package hint: ecryptfs-utils

~$ lsb_release -rd
Description:	Ubuntu 8.10
Release:	8.10

$ apt-cache policy ecryptfs-utils 
ecryptfs-utils:
  Installed: 53-1ubuntu11

Trying to set up a ~/Private with a mount passphrase containing any parentheses ( "(",")" ) will initially be accepted but the script will fail on trying to add the passphrase to the keyring:

# Add the passphrase to current keyring
# On subsequent logins, this should be handled by "pam_ecryptfs.so unwrap"
response=`printf "$MOUNTPASS" | ecryptfs-add-passphrase -`
if [ $? -ne 0 ]; then
        error "Could not add passphrase to the current keyring"
fi

This has worked previously.



References