Libsane-extras removes /dev/disk directory

Bug #202743 reported by Woodentop
4
Affects Status Importance Assigned to Milestone
sane-backends-extras (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

DISTRIB_RELEASE=8.04 i386 Package libsane-extras Candidate: 1.0.18.12

After installing libsane-extras and performing a reboot the /dev/disk directory is removed and unable to mount swap, home and NTFS partitions. Replacing /dev/disk/by -* directories will allow a manual mount but still unable to login via GDM. uninstalling package still make no difference.

Dual boot system
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda7
UUID=8f38eae8-29f2-4fb0-b0e2-f8d9d0474770 / reiserfs notail 0 1
# /dev/hda5
UUID=2EC8F698C8F65E11 /data ntfs defaults,umask=007,gid=46 0 1
# /dev/hda8
UUID=8f2eebf6-a781-4d17-bb4a-23acd15f58f0 /home reiserfs defaults 0 2
# /dev/hda6
UUID=419fb210-2fad-4834-9189-962d15577ee3 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
# /dev/sda5 Data
# UUID=2EC8F698C8F65E11 /media/data ntfs defaults,force,umask=007,gid=46 0 1

Revision history for this message
Simon Krix (kinsei) wrote :

Uninstalling the package with --purge fixed this for me, but another solution that worked was to delete the offending symlink /etc/udev/rules.d/025_libsane-extras.rules.

I just reinstalled the package and it didn't recreate the symlink. So perhaps that file was created by a previous version that's no longer available?

Revision history for this message
bhaagensen (bhaagensen) wrote :

I really think this should be sorted properly. It seems like it would be fixable with a simple check. It causes all kinds of problems. Fixing it solved the following problems for me:

-Can not login via gdm.
-Cannot load firmware for ipw2200
-Mouse not working
-Cannot login via tty2
-Cannot use ssh
-Cannot use sudo
-No sound due to sound driver problems

Revision history for this message
Woodentop (woodent) wrote : Re: [Bug 202743] Re: Libsane-extras removes /dev/disk directory

I have deleted symlink and removed and reinstalled libsane-extras.
Boots normally and now able to login etc.
Using scanimage -L can detect the scanner and can scan ok from the shell access.

Unfortunatly using Xscan or any other Gui app the scanner is not detected.

Cheers Chris
----- Original Message ----
From: bhaagensen <email address hidden>
To: <email address hidden>
Sent: Sunday, 23 March, 2008 10:50:10 PM
Subject: [Bug 202743] Re: Libsane-extras removes /dev/disk directory

I really think this should be sorted properly. It seems like it would be
fixable with a simple check. It causes all kinds of problems. Fixing it
solved the following problems for me:

-Can not login via gdm.
-Cannot load firmware for ipw2200
-Mouse not working
-Cannot login via tty2
-Cannot use ssh
-Cannot use sudo
-No sound due to sound driver problems

--
Libsane-extras removes /dev/disk directory
https://bugs.launchpad.net/bugs/202743
You received this bug notification because you are a direct subscriber
of the bug.

Revision history for this message
Simon Krix (kinsei) wrote :

Copying the rules file back in with a better name seems to be the best workaround, until this gets fixed properly:

sudo cp /etc/udev/libsane-extras.rules /etc/udev/rules.d/25-libsane-extras.rules

According to the README, symlinks are prohibited in Ubuntu, but Debian allows them.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in sane-backends-extras:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in sane-backends-extras:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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