~ubuntu-branches/ubuntu/maverick/cryptsetup/maverick-proposed

« back to all changes in this revision

Viewing changes to debian/cryptsetup.apport

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek, Steve Langasek, Reinhard Tartler
  • Date: 2009-11-04 12:06:47 UTC
  • Revision ID: james.westby@ubuntu.com-20091104120647-62s34dttuvw27zqg
Tags: 2:1.0.6+20090405.svn49-1ubuntu8
[ Steve Langasek ]
* Make the 'start' action of the init script a no-op, this should be
  handled entirely by the upstart job now; and remove any symlinks from
  /etc/rcS.d on upgrade.  LP: #473615.

[ Reinhard Tartler ]
* Add an apport hook
* import the blkid and un_blkid from debian, LP: #446517
* also use this script by default (setting in /etc/default/cryptdisks)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'''apport package hook for cryptsetup
 
2
 
 
3
(c) 2009 Author: Reinhard Tartler <siretart@tauware.de>
 
4
'''
 
5
 
 
6
from apport.hookutils import *
 
7
 
 
8
def add_info(report):
 
9
        attach_file(report, '/etc/fstab', 'fstab')
 
10
        attach_file_if_exists(report, '/etc/crypttab', 'crypttab')
 
11