detect users with encrypted home for kernel bug reports
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Wishlist
|
Martin Pitt |
Bug Description
Binary package hint: apport
I wrote another patch to also detect if a user reporting a kernel bug also has an encrypted home. I've pushed this to a branch at:
http://
=== modified file 'data/package-
--- data/package-
+++ data/package-
@@ -25,6 +25,12 @@
+ if os.path.
+ os.path.
+ report[
+ else:
+ report[
+
if not version_
~
ProblemType: Bug
ApportLog:
Architecture: i386
CheckboxSubmission: 27199aa7e30bbcb
CheckboxSystem: 8baff8f3b5cdd90
CrashReports:
600:1000:
600:1000:
600:1000:
600:0:
600:1000:
Date: Tue Oct 6 08:55:22 2009
DistroRelease: Ubuntu 9.10
Package: apport 1.9.1-0ubuntu3
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: apport
Uname: Linux 2.6.31-11-generic i686
> + if os.path. exists( os.path. expanduser( "~/.Private" )) and \ exists( os.path. expanduser( "~/.ecryptfs" )):
> + os.path.
I'm not sure whether this is correc/sufficient. It seems to cover the "encrypted private directory" case, but not the "encrypted home dir" case. Dustin, what would be a good check for the latter?