ntfs-config crashed with OSError in __init__(): [Errno 2] No such file or directory: '/etc/hal/fdi/policy

Bug #629246 reported by jess1313
This bug affects 177 people
Affects Status Importance Assigned to Milestone
ntfs-config (Debian)
Fix Released
Unknown
ntfs-config (Ubuntu)
Fix Released
High
Unassigned
Maverick
Won't Fix
Undecided
Unassigned
Natty
Invalid
Undecided
Unassigned
Oneiric
Invalid
Undecided
Unassigned
Precise
Fix Released
High
Unassigned

Bug Description

Binary package hint: ntfs-config

Upon attempting to open NTFS tool it immediately closed and generated crash report.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: ntfs-config 1.0.1-3ubuntu5
ProcVersionSignature: Ubuntu 2.6.35-19.28-generic 2.6.35.3
Uname: Linux 2.6.35-19-generic x86_64
NonfreeKernelModules: wl
Architecture: amd64
Date: Thu Sep 2 21:38:57 2010
ExecutablePath: /usr/bin/ntfs-config
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
InterpreterPath: /usr/bin/python2.6
ProcCmdline: /usr/bin/python2.6 -OOt /usr/bin/ntfs-config
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.utf8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/ntfs-config']
SourcePackage: ntfs-config
Title: ntfs-config crashed with OSError in __init__()
UserGroups:

Related branches

Revision history for this message
jess1313 (jess-simpson1313) wrote :
tags: removed: need-duplicate-check
tags: added: bugpattern-needed
Changed in ntfs-config (Ubuntu):
importance: Undecided → High
status: New → Triaged
visibility: private → public
summary: - ntfs-config crashed with OSError in __init__()
+ ntfs-config crashed with OSError in __init__(): [Errno 2] No such file
+ or directory: '/etc/hal/fdi/policy
Revision history for this message
BassXs (bassxs-deactivatedaccount) wrote :

apt-get install hal

Changed in ntfs-config (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

That's a workaround not a fix. Settin back to triaged.

Changed in ntfs-config (Ubuntu):
status: Fix Committed → Triaged
Revision history for this message
aysiu (ubuntubugzilla-psychocats) wrote :

This is a year old and still hasn't been fixed.

Another workaround is to paste in this command:

sudo mkdir -p /etc/hal/fdi/policy

The problem is that when it crashes now in Natty, there is no error message unless you launch the application from the terminal... it simply asks for your password and then disappears.

Revision history for this message
Brian Murray (brian-murray) wrote :

The root cause of this is that ntfs-config has a dependency on hal.

tags: removed: bugpattern-needed
tags: added: bugpattern-written
Changed in ntfs-config (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Revision history for this message
Chris Jones (jones-home) wrote :

I got this just on automatic background mount shortly after rebooting and logging in. Was rebooting after todays updates at 14h15 GMT.

Revision history for this message
Klezkk (klezkk) wrote :

Problem showing on a random basis upon opening.

Revision history for this message
Rares Vernica (rares) wrote :
Revision history for this message
shaikailash (steve-doc-brown) wrote :

I have the same problem on Kubuntu 11.10 64bit freshly installed. It's really serious, many users are in panic without this tool!

Revision history for this message
user (meta1729-deactivatedaccount) wrote :

Installing hal solved the problem here.
How about adding hal as a dependency in the metadata of ntfs-config package?

Revision history for this message
Joe Barker (joeb454) wrote :

You shouldn't need to install hal - as far as I'm aware you just need to create the directory as noted by aysiu in a previous comment - https://bugs.launchpad.net/ubuntu/+source/ntfs-config/+bug/629246/comments/4

Revision history for this message
Josh (majik) wrote :

If that's the case I shouldn't need to create the directory either.

Changed in ntfs-config (Debian):
status: New → Fix Released
Leo Iannacone (l3on)
Changed in ntfs-config (Ubuntu Precise):
assignee: nobody → Leo Iannacone (l3on)
Leo Iannacone (l3on)
Changed in ntfs-config (Ubuntu Precise):
assignee: Leo Iannacone (l3on) → nobody
Revision history for this message
Micah Gersten (micahg) wrote :

This bug was fixed in the package ntfs-config - 1.0.1-10
Sponsored for Leo Iannacone (l3on)

---------------
ntfs-config (1.0.1-10) unstable; urgency=low

  * QA upload.
  * Set maintainer to the QA group
  * ntfs-config doesn't support kfreebsd-*, yet. Limiting architectures to
    linux-any. For details please see #651296.
  * Drop build-depends on libhal-dev and libhal-storage-dev, as they are
    not needed (Closes: #615210)
  * Ship emtpy directory /etc/hal/fdi/policy; ntfs-config tries to add
    config files there, if available (but also works, if hal is not used)
    (Closes: #596782, #573348)
  * Call dh_python2 instead of dh_python as suggested by lintian
  * Bump standards to 3.9.2 (no further changes needed)

 -- Alexander Reichle-Schmehl <email address hidden> Wed, 21 Dec 2011 10:45:50 +0100

Changed in ntfs-config (Ubuntu):
status: Triaged → Fix Released
Leo Iannacone (l3on)
Changed in ntfs-config (Ubuntu Oneiric):
status: New → Confirmed
Changed in ntfs-config (Ubuntu Natty):
status: New → Confirmed
Changed in ntfs-config (Ubuntu Maverick):
status: New → Confirmed
Colin Watson (cjwatson)
Changed in ntfs-config (Ubuntu Maverick):
status: Confirmed → In Progress
Changed in ntfs-config (Ubuntu Natty):
status: Confirmed → In Progress
Changed in ntfs-config (Ubuntu Oneiric):
status: Confirmed → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Can you please reupload that SRU with reverting the build dependency change? That's not quite appropriate for an SRU, as it might change existing behaviour.

Revision history for this message
Martin Pitt (pitti) wrote :

There is little point SRUing this for maverick now. It's EOL in two months, this isn't a very important bug, and it has survived with this bug for most of its lifetime.

Changed in ntfs-config (Ubuntu Maverick):
status: In Progress → Won't Fix
Revision history for this message
dino99 (9d9) wrote :
Changed in ntfs-config (Ubuntu Oneiric):
status: In Progress → Invalid
Changed in ntfs-config (Ubuntu Natty):
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.