/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to plugin-runner.c

  • Committer: Teddy Hogeborn
  • Date: 2016-06-21 19:13:11 UTC
  • mto: (237.7.594 trunk)
  • mto: This revision was merged to the branch mainline in revision 343.
  • Revision ID: teddy@recompile.se-20160621191311-cdyg3jniktde5wfr
Fix "bad gpgme_op_decrypt: GPGME: Decryption failed." on boot.

* initramfs-tools-hook: Also copy_exec gpg-agent if it exists.

Closes: 819982
Reported-by: Felix Koop <fdp@fkoop.de>
Suggested-by: Anonymous

Show diffs side-by-side

added added

removed removed

Lines of Context:
807
807
  
808
808
  if(getuid() == 0){
809
809
    /* Work around Debian bug #633582:
810
 
       <https://bugs.debian.org/633582> */
 
810
       <http://bugs.debian.org/633582> */
811
811
    int plugindir_fd = open(/* plugindir or */ PDIR, O_RDONLY);
812
812
    if(plugindir_fd == -1){
813
813
      if(errno != ENOENT){