← Back to team overview

ecryptfs team mailing list archive

[Bug 430891] Re: failures from dmsetup visible on stderr when running

 

Trivial fix in lp:~mterry/ecryptfs/error-bugs -- I didn't propose for
merging or add a changelog because it seems the ubuntu packaging and the
specified bzr are out of sync.

The issue was just that the 2>/dev/null occurred after piping the output
to grep, so didn't actually get a chance to redirect dmsetup's output.

** Branch linked: lp:~mterry/ecryptfs/error-bugs

-- 
failures from dmsetup visible on stderr when running
https://bugs.launchpad.net/bugs/430891
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in “ecryptfs-utils” package in Ubuntu: New

Bug description:
Binary package hint: ecryptfs-utils

$ sudo /usr/bin/ecryptfs-setup-swap
dm_task_set_name: Device /dev/md1 not found
Command failed

WARNING:
An encrypted swap is required to help ensure that encrypted files are not leaked to disk in an unencrypted format.
...

$ sudo /sbin/dmsetup table /dev/md1
dm_task_set_name: Device /dev/md1 not found
Command failed

Looks like the call to dmsetup needs to have stderr directed to /dev/null.

ProblemType: Bug
Architecture: amd64
Date: Wed Sep 16 10:51:12 2009
DistroRelease: Ubuntu 9.10
Package: ecryptfs-utils 80-0ubuntu1 [modified: usr/bin/ecryptfs-setup-swap]
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.34-generic
SourcePackage: ecryptfs-utils
Uname: Linux 2.6.31-10-generic x86_64



References