opensuse: encrypted /home not auto-mounted anymore after ntfs-config

Bug #186627 reported by jajaja
2
Affects Status Importance Assigned to Milestone
ntfs-config
Invalid
Undecided
Unassigned

Bug Description

running on openSUSE 10.3, ntfs-3g and ntfs-config installed.
my /home is encrypted via the Yast partitioner, I'm being asked for the password during boot.

I tried to make an external USB-HDD readable with ntfs-config.
After reboot, I'm still asked for my password for the /home partition, but somehow it's not mounted correctly anymore. There are no folders or files in the home directory anymore...

FROM /var/log/messages:
--------------------------------------

Jan 28 10:07:56 linux-67vb kernel: NTFS driver 2.1.28 [Flags: R/W MODULE].
Jan 28 10:07:56 linux-67vb kernel: NTFS-fs warning (device sdb1): parse_options(): Option utf8 is no longer supported, using option nls=utf8. Please use option nls=utf8 in the future and make sure utf8 is compiled either as a module or into the kernel.
Jan 28 10:07:57 linux-67vb kernel: NTFS volume version 3.1.
Jan 28 10:07:57 linux-67vb kernel: NTFS-fs error (device sdb1): load_system_files(): Volume is dirty. Mounting read-only. Run chkdsk and mount in Windows.
Jan 28 10:07:57 linux-67vb kernel: NTFS-fs warning (device sdb1): load_system_files(): $LogFile is not clean. Will not be able to remount read-write. Mount in Windows.
Jan 28 10:07:57 linux-67vb hald: mounted /dev/sdb1 on behalf of uid 1000
Jan 28 10:08:01 linux-67vb kernel: eth0: no IPv6 routers present
Jan 28 10:09:00 linux-67vb sudo: innersoul : TTY=pts/3 ; PWD=/media/TREKSTOR/backup/innersoul ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
Jan 28 10:09:00 linux-67vb sudo: innersoul : TTY=pts/3 ; PWD=/media/TREKSTOR/backup/innersoul ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
Jan 28 10:13:23 linux-67vb sudo: innersoul : TTY=pts/6 ; PWD=/home/innersoul ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
Jan 28 10:13:23 linux-67vb sudo: innersoul : TTY=pts/6 ; PWD=/home/innersoul ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
Jan 28 10:14:13 linux-67vb sudo: pam_unix2(sudo:auth): conversation failed
Jan 28 10:14:13 linux-67vb sudo: innersoul : pam_authenticate: Conversation error ; TTY=pts/1 ; PWD=/media/TREKSTOR/backup/innersoul ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
Jan 28 10:14:39 linux-67vb hald: unmounted /dev/sdb1 from '/media/TREKSTOR' on behalf of uid 1000

MY /etc/fstab
---------------------

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/disk/by-id/scsi-SATA_SAMSUNG_HM080HCS0CCJ10P350409-part6 / ext3 acl,user_xattr 1 1
/dev/dm-0 /home ext3 acl,user_xattr,noauto 0 0
/dev/sdb1 /media/TREKSTOR ntfs defaults,nosuid,nodev,uid=1000,utf8 0 0
/dev/disk/by-id/scsi-SATA_SAMSUNG_HM080HCS0CCJ10P350409-part1 /windows/C ntfs-3g users,gid=users,umask=0002,fmask=133,dmask=022,locale=de_DE.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_SAMSUNG_HM080HCS0CCJ10P350409-part5 swap swap defaults 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0

MY /etc/crypttab
------------------------

cr_sda7 /dev/disk/by-id/scsi-SATA_SAMSUNG_HM080HCS0CCJ10P350409-part7 none none

jajaja (freeform-reform)
description: updated
Revision history for this message
jajaja (freeform-reform) wrote :

just realized when I filed the bug report that ntfs-config creates a backup of the fstab.
I changed to the backup version of fstab, now it works again. Great!

However, apparently ntfs-config and pam encryption somehow don't work together

Revision history for this message
Florent Mertens (givre) wrote :

Please provide me the output of:

sudo ntfs-config -q all

Changed in ntfs-config:
status: New → Incomplete
Revision history for this message
jajaja (freeform-reform) wrote :

that's alsmost 3 years ago - I'm on a Mac now.
I guess you can close this bug report.

Revision history for this message
Florent Mertens (givre) wrote :

Closed per reporter request.

Changed in ntfs-config:
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.