Bug 119008 - YaST creates obsolete directory for DVD±RW/RAM device in /media
Summary: YaST creates obsolete directory for DVD±RW/RAM device in /media
Status: RESOLVED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Final
Hardware: Other All
: P5 - None : Minor
Target Milestone: ---
Assignee: Martin Vidner
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-27 12:51 UTC by Stanislav Brabec
Modified: 2005-10-12 10:15 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
y2log.bz2 (179.87 KB, application/x-bzip2)
2005-10-11 19:11 UTC, Stanislav Brabec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Brabec 2005-09-27 12:51:45 UTC
When HAL/DBUS detects DVD±RW/RAM capable device (e. g. internal LG GSA-4160B),
it creates two directories in /media - /media/dvd and /media/dvdram, but all
media types are mounted at /media/dvdram and nothing to /media/dvd. So it seems,
that /media/dvd is obsolete.
Comment 1 Danny Al-Gaaf 2005-09-27 17:11:26 UTC
could you attach lshal and the part of /var/log/messages with the mount 
messages?

Also useful: insert a DVD, wait for mount, umount the media by hand until 
complete unmounted, and attach the output of:

getfattr --name="trusted.created_by_halsubmount" --only-values -h /media/dvd
getfattr --name="trusted.created_by_halsubmount" --only-values -h /media/dvdram
Comment 2 Stanislav Brabec 2005-09-28 19:24:28 UTC
Sep 28 20:39:47 utx kernel: ISO 9660 Extensions: RRIP_1991A
Sep 28 20:39:50 utx udevd[2164]: get_netlink_msg: no ACTION in payload found,
skip event 'umount'
Sep 28 20:39:51 utx kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
Sep 28 20:39:51 utx udevd[2164]: get_netlink_msg: no ACTION in payload found,
skip event 'mount'
Sep 28 20:39:51 utx kernel: ISO 9660 Extensions: RRIP_1991A
Sep 28 20:39:54 utx udevd[2164]: get_netlink_msg: no ACTION in payload found,
skip event 'umount'
Sep 28 20:39:54 utx kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
Sep 28 20:39:54 utx udevd[2164]: get_netlink_msg: no ACTION in payload found,
skip event 'mount'
Sep 28 20:39:54 utx kernel: ISO 9660 Extensions: RRIP_1991A
Sep 28 20:39:58 utx udevd[2164]: get_netlink_msg: no ACTION in payload found,
skip event 'umount'
Sep 28 20:40:38 utx kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
Sep 28 20:40:38 utx udevd[2164]: get_netlink_msg: no ACTION in payload found,
skip event 'mount'
Sep 28 20:40:38 utx kernel: ISO 9660 Extensions: RRIP_1991A
Sep 28 20:40:41 utx udevd[2164]: get_netlink_msg: no ACTION in payload found,
skip event 'umount'
Sep 28 20:40:49 utx hal-subfs-mount[22347]: By hald-subfs-mount created link
/media/CDROM got removed.
Sep 28 20:42:03 utx hal-subfs-mount[22572]: SYMLINKS::
disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-4160B_K3I48LE1633
disk/by-path/pci-0000:00:11.1-ide-1:0 dvdram cdrom dvd
Sep 28 20:42:03 utx hal-subfs-mount[22572]: MOUNT_POINT:: /media/dvdram
Sep 28 20:42:03 utx hal-subfs-mount[22572]: MOUNTPOINT:: /media/dvdram
Sep 28 20:42:03 utx hal-subfs-mount[22572]: Collected mount options and
Called(0) /bin/mount -t subfs -o
fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 /dev/hdc "/media/dvdram"
Sep 28 20:42:03 utx kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
Sep 28 20:42:04 utx udevd[2164]: get_netlink_msg: no ACTION in payload found,
skip event 'mount'
Sep 28 20:42:04 utx kernel: ISO 9660 Extensions: RRIP_1991A
Sep 28 20:42:07 utx udevd[2164]: get_netlink_msg: no ACTION in payload found,
skip event 'umount'
Sep 28 20:42:08 utx kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
Sep 28 20:42:08 utx udevd[2164]: get_netlink_msg: no ACTION in payload found,
skip event 'mount'
Sep 28 20:42:08 utx kernel: ISO 9660 Extensions: RRIP_1991A
Sep 28 20:42:11 utx udevd[2164]: get_netlink_msg: no ACTION in payload found,
skip event 'umount'
Sep 28 20:43:00 utx kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
Sep 28 20:43:00 utx udevd[2164]: get_netlink_msg: no ACTION in payload found,
skip event 'mount'
Sep 28 20:43:00 utx kernel: ISO 9660 Extensions: RRIP_1991A
Sep 28 20:43:21 utx udevd[2164]: get_netlink_msg: no ACTION in payload found,
skip event 'umount'
Sep 28 20:44:32 utx syslog-ng[3170]: SIGHUP received, restarting syslog-ng
Sep 28 20:44:33 utx syslog-ng[3170]: new configuration initialized
Sep 28 21:04:34 utx kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
Sep 28 21:04:34 utx kernel: klogd 1.4.1, ---------- state change ----------
Sep 28 21:04:34 utx syslog-ng[3170]: Changing permissions on special file
/dev/xconsole
Sep 28 21:04:34 utx syslog-ng[3170]: Changing permissions on special file /dev/tty10
Sep 28 21:04:34 utx udevd[2164]: get_netlink_msg: no ACTION in payload found,
skip event 'mount'
Sep 28 21:04:34 utx kernel: ISO 9660 Extensions: RRIP_1991A
Sep 28 21:04:38 utx udevd[2164]: get_netlink_msg: no ACTION in payload found,
skip event 'umount'


utx:~ # getfattr --name="trusted.created_by_halsubmount" --only-values -h /media/dvd
/media/dvd: trusted.created_by_halsubmount: No such attribute
utx:~ # getfattr --name="trusted.created_by_halsubmount" --only-values -h
/media/dvdram
/media/dvdram: trusted.created_by_halsubmount: No such attribute

Additionally, it creates symlink
lrwxrwxrwx   1 root root  13 2005-09-28 20:42 CDROM -> /media/dvdram
(ISO-9660 DVD label was CDROM)
Comment 3 Danny Al-Gaaf 2005-10-06 13:22:36 UTC
I think the dir: /media/dvd was created by YaST and not by the hal mount helper. 

If you remove the DVD which dirs and links in /media are removed?

Did you umount all mounts under /media before you executed the getfattr command? 
You need to stop HAL and umount all devices in /media (please check with /proc/
mounts). 

Could you also start HAL with verbose=yes in /etc/init.d/haldaemon, insert the 
DVD and attach the related part of /var/log/messages?
Comment 4 Stanislav Brabec 2005-10-06 19:59:48 UTC
Yes, /media/dvd was created by YaST:
/var/log/YaST2/y2log-5:2005-09-22 19:38:14 <1> linux(15848) [agent-system]
SystemAgent.cc(Read):544 Can't access directory '/media/dvd': není souborem ani
adresářem'
/var/log/YaST2/y2log-5:2005-09-22 19:38:14 <1> linux(15848) [agent-system]
SystemAgent.cc(Execute):1097 mkdir /media/dvd

HAL/D-BUS/subfs uses /media/dvdram. Medium is mounted to /media/dvdram and
symlink pointing from /media/{sanitized_media_label} to /media/dvdram is
created/removed.

getfattr was called when no medium was present.

HAL daemon restarted, multi-session DVD-RW with label "CDROM" ejected and inserted:

Oct  6 21:51:25 utx hal-subfs-mount[26629]: hal-subfs-mount started in debug mode.
Oct  6 21:51:25 utx hal-subfs-mount[26629]: hal-subfs-mount init hal lib
Oct  6 21:51:25 utx hal-subfs-mount[26629]: hal-subfs-mount  hal lib initialized
Oct  6 21:51:25 utx hal-subfs-mount[26629]: hal-subfs-mount got drive
Oct  6 21:51:25 utx hal-subfs-mount[26629]: UDI_TO_REMOVE - MountPoint : /dev/hdc
Oct  6 21:51:25 utx hal-subfs-mount[26629]: Device on /dev/hdc is currently not
mounted
Oct  6 21:51:25 utx hal-subfs-mount[26629]: UMOUNT: devpath: /dev/hdc
Oct  6 21:51:25 utx hal-subfs-mount[26629]: UMOUNT: mountpoint/devpath:
/dev/hdc, umount_exitcode: 256
Oct  6 21:51:25 utx hal-subfs-mount[26629]: Found by hald-subfs-mount created
unused dir/link
Oct  6 21:51:25 utx hal-subfs-mount[26629]: By hald-subfs-mount created link
/media/CDROM got removed.
Oct  6 21:51:37 utx hal-subfs-mount[26663]: hal-subfs-mount started in debug mode.
Oct  6 21:51:37 utx hal-subfs-mount[26663]: hal-subfs-mount init hal lib
Oct  6 21:51:37 utx hal-subfs-mount[26663]: hal-subfs-mount  hal lib initialized
Oct  6 21:51:37 utx hal-subfs-mount[26663]: hal-subfs-mount got drive
Oct  6 21:51:37 utx hal-subfs-mount[26663]: Device on /dev/hdc is currently not
mounted
Oct  6 21:51:37 utx hal-subfs-mount[26663]: UDEVINFO RETURNED:
disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-4160B_K3I48LE1633
disk/by-path/pci-0000:00:11.1-ide-1:0 dvdram cdrom dvd
Oct  6 21:51:37 utx hal-subfs-mount[26663]: SYMLINKS::
disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-4160B_K3I48LE1633
disk/by-path/pci-0000:00:11.1-ide-1:0 dvdram cdrom dvd
Oct  6 21:51:37 utx hal-subfs-mount[26663]: get_created_free_mountpoint(CDROM,
/media/CDROM, disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-4160B_K3I48LE1633
disk/by-path/pci-0000:00:11.1-ide-1:0 dvdram cdrom dvd  )
Oct  6 21:51:37 utx hal-subfs-mount[26663]: Check for mountpoint named as
symlink: disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-4160B_K3I48LE1633
Oct  6 21:51:37 utx hal-subfs-mount[26663]: Check for mountpoint named as
symlink: disk/by-path/pci-0000:00:11.1-ide-1:0
Oct  6 21:51:37 utx hal-subfs-mount[26663]: Check for mountpoint named as
symlink: dvdram
Oct  6 21:51:37 utx hal-subfs-mount[26663]: Device on /media/dvdram is currently
not mounted
Oct  6 21:51:37 utx hal-subfs-mount[26663]: Found free symlinked mountpoint:
/media/dvdram
Oct  6 21:51:37 utx hal-subfs-mount[26663]: Symlink (/media/CDROM) to mountpoint
/media/dvdram created.
Oct  6 21:51:37 utx hal-subfs-mount[26663]: set_extendedAttribute to /media/CDROM
Oct  6 21:51:37 utx hal-subfs-mount[26663]: Return created/found mountpoint:
/media/dvdram
Oct  6 21:51:37 utx hal-subfs-mount[26663]: MOUNT_POINT:: /media/dvdram
Oct  6 21:51:37 utx hal-subfs-mount[26663]: MOUNTPOINT:: /media/dvdram
Oct  6 21:51:37 utx hal-subfs-mount[26663]: DRIVE /dev/hdc TYPE 2.
Oct  6 21:51:37 utx hal-subfs-mount[26663]: Collected mount options and
Called(0) /bin/mount -t
subfs -o fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 /dev/hdc
"/media/dvdram"
Oct  6 21:51:37 utx kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
Oct  6 21:51:37 utx udevd[2180]: get_netlink_msg: no ACTION in payload found,
skip event 'mount'Oct  6 21:51:37 utx kernel: ISO 9660 Extensions: RRIP_1991A
Oct  6 21:51:40 utx udevd[2180]: get_netlink_msg: no ACTION in payload found,
skip event 'umount'
Oct  6 21:51:40 utx udevd[2180]: get_netlink_msg: no ACTION in payload found,
skip event 'umount'
Oct  6 21:51:40 utx submountd: mount failure, Invalid argument
Oct  6 21:51:40 utx kernel: UDF-fs: No VRS found
Oct  6 21:51:40 utx kernel: subfs: unsuccessful attempt to mount media (256)
Oct  6 21:51:40 utx kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
Oct  6 21:51:40 utx udevd[2180]: get_netlink_msg: no ACTION in payload found,
skip event 'mount'Oct  6 21:51:40 utx kernel: ISO 9660 Extensions: RRIP_1991A
Oct  6 21:51:43 utx udevd[2180]: get_netlink_msg: no ACTION in payload found,
skip event 'umount'
Comment 5 Danny Al-Gaaf 2005-10-10 14:04:50 UTC
I think dvdram was also created by YaST. In this case the behavior of the hal 
helper is correct. The behavior is:

- Check if there is a dir named as a dev-symlink in / media(use the first which 
match and is currently not used) 
  --> this is /media/dvdram in this case
- if found one use and create symlink with name of volumelabel
- if no dir found create a dir named as volumelabel.

Because /media/dvdram has no attribute trusted.created_by_halsubmount=yes I 
think this dir is created by YaST or any other tool. All dirs and symlinks 
created by hal mount helper get this attribute. Could you check this?
 
Comment 6 Stanislav Brabec 2005-10-10 14:34:07 UTC
Yes, there is a directory /media/dvdram and symlink /media/CDROM which points to
/media/dvdram ("CDROM" is a label of actually inserted DVD).

I will check attribute of the symlink and ctime of /media/dvdram.
Comment 7 Stanislav Brabec 2005-10-10 19:48:48 UTC
Yes, symlink is created by hal.

# getfattr --name="trusted.created_by_halsubmount" --only-values -h /media/CDROM
getfattr: Removing leading '/' from absolute path names
yes#

And yes, it seems, that /media/dvdram was created by YaST, too. So it can be a
problem of YaST.

ls -ald --full-time --time=ctime /media/dvdram/
drwxr-xr-x  2 root root 48 2005-09-18 15:32:38.000000000 +0200 /media/dvdram/

Attaching excerpt of y2log created in the same second, when /media/dvdram was
created.

2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:4432 CheckForLvmRootFs
root=$["detected_fs":`reiser, "device":"/dev/hda1", "format":true, "fsid":131,
"fstopt":"acl,user_xattr", "fstype":"Linux native", "inactive":true,
"label":"data", "mount":"/", "name":"hda1", "nr":1, "region":[0, 972],
"size_k":7807589, "type":`primary, "used_fs":`reiser,
"uuid":"a35207a0-39f3-4a34-8c41-7bcb1a4280cc"]
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:4434 CheckForLvmRootFs
ret=false
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:3517 WriteFstab called
2005-09-18 15:32:38 <1> linux(2642) [YCP] StorageDevices.ycp:313 ProbeCDROMs
([$["bus":"IDE", "bus_hwcfg":"ide", "cdr":true, "cdrw":true, "class_id":262,
"dev_name":"/dev/hdc", "dev_names":["/dev/hdc",
"/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-4160B_K3I48LE1633",
"/dev/disk/by-path/pci-0000:00:11.1-ide-1:0"], "dev_num":$["major":22,
"minor":0, "range":1, "type":"b"], "device":"DVDRAM GSA-4160B",
"driver":"VIA_IDE", "dvd":true, "dvdr":true, "dvdram":true,
"linkname":"/dev/dvdram", "model":"HL-DT-ST DVDRAM GSA-4160B",
"old_unique_key":"AsSl.pyHDrQmlyc0", "prog_if":5, "rev":"A300",
"sub_class_id":2, "sysfs_bus_id":"1.0", "udev_links":["dvdram", "cdrom", "dvd"],
"udi":"/org/freedesktop/Hal/devices/storage_serial_K3I48LE1633",
"unique_key":"90A1.NpeR4uGBbW5", "vendor":"HL-DT-ST"], $["bus":"IDE",
"bus_hwcfg":"ide", "cdr":true, "cdrw":true, "class_id":262,
"dev_name":"/dev/hdd", "dev_names":["/dev/hdd",
"/dev/disk/by-path/pci-0000:00:11.1-ide-1:1"], "dev_num":$["major":22,
"minor":64, "range":1, "type":"b"], "device":"CD-W540E", "driver":"VIA_IDE",
"linkname":"/dev/cdrecorder", "model":"CD-W540E", "notready":true,
"old_unique_key":"po3i.DObc7ca3Z91", "prog_if":2, "rev":"1.0B",
"sub_class_id":2, "sysfs_bus_id":"1.1", "udev_links":["cdrecorder"],
"udi":"/org/freedesktop/Hal/devices/storage_model_CD_W540E",
"unique_key":"cBQ5.i+OHop_Xp96"]])
2005-09-18 15:32:38 <1> linux(2642) [YCP] AsciiFile.ycp:88
path=/mnt/etc/udev/rules.d/55-cdrom.rules
2005-09-18 15:32:38 <1> linux(2642) [YCP] StorageDevices.ycp:823
MakeUdevRulesLine $["bus":"IDE", "bus_hwcfg":"ide", "cdr":true, "cdrw":true,
"class_id":262, "dev_name":"/dev/hdc", "dev_names":["/dev/hdc",
"/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-4160B_K3I48LE1633",
"/dev/disk/by-path/pci-0000:00:11.1-ide-1:0"], "dev_num":$["major":22,
"minor":0, "range":1, "type":"b"], "device":"DVDRAM GSA-4160B",
"driver":"VIA_IDE", "dvd":true, "dvdr":true, "dvdram":true,
"linkname":"/dev/dvdram", "model":"HL-DT-ST DVDRAM GSA-4160B",
"old_unique_key":"AsSl.pyHDrQmlyc0", "prog_if":5, "rev":"A300",
"sub_class_id":2, "sysfs_bus_id":"1.0", "udev_links":["dvdram", "cdrom", "dvd"],
"udi":"/org/freedesktop/Hal/devices/storage_serial_K3I48LE1633",
"unique_key":"90A1.NpeR4uGBbW5", "vendor":"HL-DT-ST"]
2005-09-18 15:32:38 <1> linux(2642) [YCP] StorageDevices.ycp:810 UdevPathEntry
l:["/dev/hdc", "/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-4160B_K3I48LE1633",
"/dev/disk/by-path/pci-0000:00:11.1-ide-1:0"]
2005-09-18 15:32:38 <1> linux(2642) [YCP] StorageDevices.ycp:812 UdevPathEntry
l:["/dev/disk/by-path/pci-0000:00:11.1-ide-1:0"]
2005-09-18 15:32:38 <1> linux(2642) [YCP] StorageDevices.ycp:817 UdevPathEntry
ret:ENV{ID_PATH}=="pci-0000:00:11.1-ide-1:0"
2005-09-18 15:32:38 <1> linux(2642) [YCP] StorageDevices.ycp:826
MakeUdevRulesLine path:ENV{ID_PATH}=="pci-0000:00:11.1-ide-1:0"
2005-09-18 15:32:38 <1> linux(2642) [YCP] StorageDevices.ycp:829
MakeUdevRulesLine ret SUBSYSTEM=="block",
ENV{ID_PATH}=="pci-0000:00:11.1-ide-1:0", SYSFS{removable}=="1",
SYMLINK+="dvdram cdrom dvd"
2005-09-18 15:32:38 <1> linux(2642) [YCP] StorageDevices.ycp:823
MakeUdevRulesLine $["bus":"IDE", "bus_hwcfg":"ide", "cdr":true, "cdrw":true,
"class_id":262, "dev_name":"/dev/hdd", "dev_names":["/dev/hdd",
"/dev/disk/by-path/pci-0000:00:11.1-ide-1:1"], "dev_num":$["major":22,
"minor":64, "range":1, "type":"b"], "device":"CD-W540E", "driver":"VIA_IDE",
"linkname":"/dev/cdrecorder", "model":"CD-W540E", "notready":true,
"old_unique_key":"po3i.DObc7ca3Z91", "prog_if":2, "rev":"1.0B",
"sub_class_id":2, "sysfs_bus_id":"1.1", "udev_links":["cdrecorder"],
"udi":"/org/freedesktop/Hal/devices/storage_model_CD_W540E",
"unique_key":"cBQ5.i+OHop_Xp96"]
2005-09-18 15:32:38 <1> linux(2642) [YCP] StorageDevices.ycp:810 UdevPathEntry
l:["/dev/hdd", "/dev/disk/by-path/pci-0000:00:11.1-ide-1:1"]
2005-09-18 15:32:38 <1> linux(2642) [YCP] StorageDevices.ycp:812 UdevPathEntry
l:["/dev/disk/by-path/pci-0000:00:11.1-ide-1:1"]
2005-09-18 15:32:38 <1> linux(2642) [YCP] StorageDevices.ycp:817 UdevPathEntry
ret:ENV{ID_PATH}=="pci-0000:00:11.1-ide-1:1"
2005-09-18 15:32:38 <1> linux(2642) [YCP] StorageDevices.ycp:826
MakeUdevRulesLine path:ENV{ID_PATH}=="pci-0000:00:11.1-ide-1:1"
2005-09-18 15:32:38 <1> linux(2642) [YCP] StorageDevices.ycp:829
MakeUdevRulesLine ret SUBSYSTEM=="block",
ENV{ID_PATH}=="pci-0000:00:11.1-ide-1:1", SYSFS{removable}=="1",
SYMLINK+="cdrecorder"
2005-09-18 15:32:38 <1> linux(2642) [YCP] StorageDevices.ycp:859 MakeCDLinks
[$["bus":"IDE", "bus_hwcfg":"ide", "cdr":true, "cdrw":true, "class_id":262,
"dev_name":"/dev/hdc", "dev_names":["/dev/hdc",
"/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-4160B_K3I48LE1633",
"/dev/disk/by-path/pci-0000:00:11.1-ide-1:0"], "dev_num":$["major":22,
"minor":0, "range":1, "type":"b"], "device":"DVDRAM GSA-4160B",
"driver":"VIA_IDE", "dvd":true, "dvdr":true, "dvdram":true,
"linkname":"/dev/dvdram", "model":"HL-DT-ST DVDRAM GSA-4160B",
"old_unique_key":"AsSl.pyHDrQmlyc0", "prog_if":5, "rev":"A300",
"sub_class_id":2, "sysfs_bus_id":"1.0", "udev_links":["dvdram", "cdrom", "dvd"],
"udi":"/org/freedesktop/Hal/devices/storage_serial_K3I48LE1633",
"unique_key":"90A1.NpeR4uGBbW5", "vendor":"HL-DT-ST"], $["bus":"IDE",
"bus_hwcfg":"ide", "cdr":true, "cdrw":true, "class_id":262,
"dev_name":"/dev/hdd", "dev_names":["/dev/hdd",
"/dev/disk/by-path/pci-0000:00:11.1-ide-1:1"], "dev_num":$["major":22,
"minor":64, "range":1, "type":"b"], "device":"CD-W540E", "driver":"VIA_IDE",
"linkname":"/dev/cdrecorder", "model":"CD-W540E", "notready":true,
"old_unique_key":"po3i.DObc7ca3Z91", "prog_if":2, "rev":"1.0B",
"sub_class_id":2, "sysfs_bus_id":"1.1", "udev_links":["cdrecorder"],
"udi":"/org/freedesktop/Hal/devices/storage_model_CD_W540E",
"unique_key":"cBQ5.i+OHop_Xp96"]]
2005-09-18 15:32:38 <1> linux(2642) [YCP] StorageDevices.ycp:861 MakeCDLinks dir
/mnt/etc/udev/rules.d
2005-09-18 15:32:38 <1> linux(2642) [agent-system] SystemAgent.cc(Execute):1097
mkdir /mnt/etc/udev/rules.d
2005-09-18 15:32:38 <1> linux(2642) [YCP] AsciiFile.ycp:316 path
/mnt/etc/udev/rules.d/55-cdrom.rules
2005-09-18 15:32:38 <1> linux(2642) [YCP] AsciiFile.ycp:317 out: $["comment":"^[
\t]*#.*", "delim":" ", "l":$[1:$["buildline":true, "changed":true, "fields":["#
cdrom links generated by YaST2"]], 2:$["buildline":true, "changed":true,
"fields":["# "]], 3:$["buildline":true, "changed":true,
"fields":["SUBSYSTEM==\"block\", ENV{ID_PATH}==\"pci-0000:00:11.1-ide-1:0\",
SYSFS{removable}==\"1\", SYMLINK+=\"dvdram cdrom dvd\""]], 4:$["buildline":true,
"changed":true, "fields":["SUBSYSTEM==\"block\",
ENV{ID_PATH}==\"pci-0000:00:11.1-ide-1:1\", SYSFS{removable}==\"1\",
SYMLINK+=\"cdrecorder\""]]]]
2005-09-18 15:32:38 <1> linux(2642) [YCP] AsciiFile.ycp:323 Out text: # cdrom
links generated by YaST2
# 
SUBSYSTEM=="block", ENV{ID_PATH}=="pci-0000:00:11.1-ide-1:0",
SYSFS{removable}=="1", SYMLINK+="dvdram cdrom dvd"
SUBSYSTEM=="block", ENV{ID_PATH}=="pci-0000:00:11.1-ide-1:1",
SYSFS{removable}=="1", SYMLINK+="cdrecorder"
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:3487 AddFstabEntry
entry:$["freq":0, "mntops":"defaults", "mount":"/proc", "passno":0,
"spec":"proc", "vfstype":"proc"]
2005-09-18 15:32:38,177 INFO  libstorage - Storage.cc(addFstabEntry):3930
device:proc mount:/proc vfs:proc opts:defaults freq:0 passno:0
2005-09-18 15:32:38,177 INFO  libstorage - EtcFstab.cc(addEntry):280 dev:proc
mp:/proc
2005-09-18 15:32:38,177 INFO  libstorage - EtcFstab.cc(findFile):292 device:proc
mp:/proc fstab:(nil) cryptotab:(nil)
2005-09-18 15:32:38,177 INFO  libstorage - AsciiFile.cc(loadFile):48 Loading
File:"/mnt/etc/fstab"
2005-09-18 15:32:38,177 INFO  libstorage - EtcFstab.cc(findFile):311
fstab:0xa6526f0 cryptotab:(nil) lineno:-1
2005-09-18 15:32:38,177 INFO  libstorage - EtcFstab.cc(createTabLine):339
device:proc mp:/proc
2005-09-18 15:32:38,178 INFO  libstorage - EtcFstab.cc(createTabLine):358
ret:proc                 /proc                proc       defaults              0 0
2005-09-18 15:32:38,178 INFO  libstorage - EtcFstab.cc(flush):504 ret:0
2005-09-18 15:32:38,178 INFO  libstorage - Storage.cc(addFstabEntry):3960 ret:0
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:3487 AddFstabEntry
entry:$["freq":0, "mntops":"noauto", "mount":"/sys", "passno":0, "spec":"sysfs",
"vfstype":"sysfs"]
2005-09-18 15:32:38,179 INFO  libstorage - Storage.cc(addFstabEntry):3930
device:sysfs mount:/sys vfs:sysfs opts:noauto freq:0 passno:0
2005-09-18 15:32:38,179 INFO  libstorage - EtcFstab.cc(addEntry):280 dev:sysfs
mp:/sys
2005-09-18 15:32:38,179 INFO  libstorage - EtcFstab.cc(findFile):292
device:sysfs mp:/sys fstab:(nil) cryptotab:(nil)
2005-09-18 15:32:38,179 INFO  libstorage - AsciiFile.cc(loadFile):48 Loading
File:"/mnt/etc/fstab"
2005-09-18 15:32:38,179 INFO  libstorage - EtcFstab.cc(findFile):311
fstab:0xa6526f0 cryptotab:(nil) lineno:-1
2005-09-18 15:32:38,180 INFO  libstorage - EtcFstab.cc(createTabLine):339
device:sysfs mp:/sys
2005-09-18 15:32:38,180 INFO  libstorage - EtcFstab.cc(createTabLine):358
ret:sysfs                /sys                 sysfs      noauto                0 0
2005-09-18 15:32:38,180 INFO  libstorage - EtcFstab.cc(flush):504 ret:0
2005-09-18 15:32:38,180 INFO  libstorage - Storage.cc(addFstabEntry):3960 ret:0
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:3487 AddFstabEntry
entry:$["freq":0, "mntops":"noauto", "mount":"/proc/bus/usb", "passno":0,
"spec":"usbfs", "vfstype":"usbfs"]
2005-09-18 15:32:38,181 INFO  libstorage - Storage.cc(addFstabEntry):3930
device:usbfs mount:/proc/bus/usb vfs:usbfs opts:noauto freq:0 passno:0
2005-09-18 15:32:38,181 INFO  libstorage - EtcFstab.cc(addEntry):280 dev:usbfs
mp:/proc/bus/usb
2005-09-18 15:32:38,181 INFO  libstorage - EtcFstab.cc(findFile):292
device:usbfs mp:/proc/bus/usb fstab:(nil) cryptotab:(nil)
2005-09-18 15:32:38,181 INFO  libstorage - AsciiFile.cc(loadFile):48 Loading
File:"/mnt/etc/fstab"
2005-09-18 15:32:38,181 INFO  libstorage - EtcFstab.cc(findFile):311
fstab:0x9e8c918 cryptotab:(nil) lineno:-1
2005-09-18 15:32:38,182 INFO  libstorage - EtcFstab.cc(createTabLine):339
device:usbfs mp:/proc/bus/usb
2005-09-18 15:32:38,182 INFO  libstorage - EtcFstab.cc(createTabLine):358
ret:usbfs                /proc/bus/usb        usbfs      noauto                0 0
2005-09-18 15:32:38,182 INFO  libstorage - EtcFstab.cc(flush):504 ret:0
2005-09-18 15:32:38,182 INFO  libstorage - Storage.cc(addFstabEntry):3960 ret:0
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:3487 AddFstabEntry
entry:$["freq":0, "mntops":"mode=0620,gid=5", "mount":"/dev/pts", "passno":0,
"spec":"devpts", "vfstype":"devpts"]
2005-09-18 15:32:38,183 INFO  libstorage - Storage.cc(addFstabEntry):3930
device:devpts mount:/dev/pts vfs:devpts opts:mode=0620,gid=5 freq:0 passno:0
2005-09-18 15:32:38,183 INFO  libstorage - EtcFstab.cc(addEntry):280 dev:devpts
mp:/dev/pts
2005-09-18 15:32:38,183 INFO  libstorage - EtcFstab.cc(findFile):292
device:devpts mp:/dev/pts fstab:(nil) cryptotab:(nil)
2005-09-18 15:32:38,183 INFO  libstorage - AsciiFile.cc(loadFile):48 Loading
File:"/mnt/etc/fstab"
2005-09-18 15:32:38,184 INFO  libstorage - EtcFstab.cc(findFile):311
fstab:0xa064198 cryptotab:(nil) lineno:-1
2005-09-18 15:32:38,184 INFO  libstorage - EtcFstab.cc(createTabLine):339
device:devpts mp:/dev/pts
2005-09-18 15:32:38,184 INFO  libstorage - EtcFstab.cc(createTabLine):358
ret:devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
2005-09-18 15:32:38,184 INFO  libstorage - EtcFstab.cc(flush):504 ret:0
2005-09-18 15:32:38,184 INFO  libstorage - Storage.cc(addFstabEntry):3960 ret:0
2005-09-18 15:32:38 <1> linux(2642) [YCP] Encoding.ycp:72 GetEncLang ret cs_CZ
2005-09-18 15:32:38 <1> linux(2642) [YCP] Encoding.ycp:94 GetUtf8Lang ret true
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:642 LangTypicalEncoding
lang cs_CZ ret utf8
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:3435 ret $["freq":0,
"mntops":"noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8",
"mount":"/media/dvdram", "passno":0, "spec":"/dev/dvdram", "vfstype":"subfs"]
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:3487 AddFstabEntry
entry:$["freq":0,
"mntops":"noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8",
"mount":"/media/dvdram", "passno":0, "spec":"/dev/dvdram", "vfstype":"subfs"]
2005-09-18 15:32:38,186 INFO  libstorage - Storage.cc(addFstabEntry):3930
device:/dev/dvdram mount:/media/dvdram vfs:subfs
opts:noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 freq:0 passno:0
2005-09-18 15:32:38,186 INFO  libstorage - EtcFstab.cc(addEntry):280
dev:/dev/dvdram mp:/media/dvdram
2005-09-18 15:32:38,187 INFO  libstorage - EtcFstab.cc(findFile):292
device:/dev/dvdram mp:/media/dvdram fstab:(nil) cryptotab:(nil)
2005-09-18 15:32:38,187 INFO  libstorage - AsciiFile.cc(loadFile):48 Loading
File:"/mnt/etc/fstab"
2005-09-18 15:32:38,187 INFO  libstorage - EtcFstab.cc(findFile):311
fstab:0xa1d6430 cryptotab:(nil) lineno:-1
2005-09-18 15:32:38,187 INFO  libstorage - EtcFstab.cc(createTabLine):339
device:/dev/dvdram mp:/media/dvdram
2005-09-18 15:32:38,187 INFO  libstorage - EtcFstab.cc(createTabLine):358
ret:/dev/dvdram          /media/dvdram        subfs     
noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
2005-09-18 15:32:38,188 INFO  libstorage - EtcFstab.cc(flush):504 ret:0
2005-09-18 15:32:38,188 INFO  libstorage - Storage.cc(addFstabEntry):3960 ret:0
2005-09-18 15:32:38 <1> linux(2642) [YCP] Encoding.ycp:72 GetEncLang ret cs_CZ
2005-09-18 15:32:38 <1> linux(2642) [YCP] Encoding.ycp:94 GetUtf8Lang ret true
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:642 LangTypicalEncoding
lang cs_CZ ret utf8
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:3435 ret $["freq":0,
"mntops":"noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8",
"mount":"/media/cdrecorder", "passno":0, "spec":"/dev/cdrecorder",
"vfstype":"subfs"]
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:3487 AddFstabEntry
entry:$["freq":0,
"mntops":"noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8",
"mount":"/media/cdrecorder", "passno":0, "spec":"/dev/cdrecorder",
"vfstype":"subfs"]
2005-09-18 15:32:38,189 INFO  libstorage - Storage.cc(addFstabEntry):3930
device:/dev/cdrecorder mount:/media/cdrecorder vfs:subfs
opts:noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 freq:0 passno:0
2005-09-18 15:32:38,189 INFO  libstorage - EtcFstab.cc(addEntry):280
dev:/dev/cdrecorder mp:/media/cdrecorder
2005-09-18 15:32:38,190 INFO  libstorage - EtcFstab.cc(findFile):292
device:/dev/cdrecorder mp:/media/cdrecorder fstab:(nil) cryptotab:(nil)
2005-09-18 15:32:38,190 INFO  libstorage - AsciiFile.cc(loadFile):48 Loading
File:"/mnt/etc/fstab"
2005-09-18 15:32:38,190 INFO  libstorage - EtcFstab.cc(findFile):311
fstab:0xa2ed8d8 cryptotab:(nil) lineno:-1
2005-09-18 15:32:38,190 INFO  libstorage - EtcFstab.cc(createTabLine):339
device:/dev/cdrecorder mp:/media/cdrecorder
2005-09-18 15:32:38,190 INFO  libstorage - EtcFstab.cc(createTabLine):358
ret:/dev/cdrecorder      /media/cdrecorder    subfs     
noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
2005-09-18 15:32:38,191 INFO  libstorage - EtcFstab.cc(flush):504 ret:0
2005-09-18 15:32:38,191 INFO  libstorage - Storage.cc(addFstabEntry):3960 ret:0
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:3487 AddFstabEntry
entry:$["freq":0, "mntops":"noauto,user", "mount":"/media/zip", "passno":0,
"spec":"/dev/hdb4", "vfstype":"auto"]
2005-09-18 15:32:38,192 INFO  libstorage - Storage.cc(addFstabEntry):3930
device:/dev/hdb4 mount:/media/zip vfs:auto opts:noauto,user freq:0 passno:0
2005-09-18 15:32:38,192 INFO  libstorage - EtcFstab.cc(addEntry):280
dev:/dev/hdb4 mp:/media/zip
2005-09-18 15:32:38,192 INFO  libstorage - EtcFstab.cc(findFile):292
device:/dev/hdb4 mp:/media/zip fstab:(nil) cryptotab:(nil)
2005-09-18 15:32:38,192 INFO  libstorage - AsciiFile.cc(loadFile):48 Loading
File:"/mnt/etc/fstab"
2005-09-18 15:32:38,193 INFO  libstorage - EtcFstab.cc(findFile):311
fstab:0xa231fa8 cryptotab:(nil) lineno:-1
2005-09-18 15:32:38,193 INFO  libstorage - EtcFstab.cc(createTabLine):339
device:/dev/hdb4 mp:/media/zip
2005-09-18 15:32:38,193 INFO  libstorage - EtcFstab.cc(createTabLine):358
ret:/dev/hdb4            /media/zip           auto       noauto,user           0 0
2005-09-18 15:32:38,193 INFO  libstorage - EtcFstab.cc(flush):504 ret:0
2005-09-18 15:32:38,194 INFO  libstorage - Storage.cc(addFstabEntry):3960 ret:0
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:3487 AddFstabEntry
entry:$["freq":0, "mntops":"noauto,fs=floppyfss,procuid,nodev,nosuid,sync",
"mount":"/media/floppy", "passno":0, "spec":"/dev/fd0", "vfstype":"subfs"]
2005-09-18 15:32:38,195 INFO  libstorage - Storage.cc(addFstabEntry):3930
device:/dev/fd0 mount:/media/floppy vfs:subfs
opts:noauto,fs=floppyfss,procuid,nodev,nosuid,sync freq:0 passno:0
2005-09-18 15:32:38,195 INFO  libstorage - EtcFstab.cc(addEntry):280
dev:/dev/fd0 mp:/media/floppy
2005-09-18 15:32:38,195 INFO  libstorage - EtcFstab.cc(findFile):292
device:/dev/fd0 mp:/media/floppy fstab:(nil) cryptotab:(nil)
2005-09-18 15:32:38,195 INFO  libstorage - AsciiFile.cc(loadFile):48 Loading
File:"/mnt/etc/fstab"
2005-09-18 15:32:38,195 INFO  libstorage - EtcFstab.cc(findFile):311
fstab:0xa20ad58 cryptotab:(nil) lineno:-1
2005-09-18 15:32:38,195 INFO  libstorage - EtcFstab.cc(createTabLine):339
device:/dev/fd0 mp:/media/floppy
2005-09-18 15:32:38,196 INFO  libstorage - EtcFstab.cc(createTabLine):358
ret:/dev/fd0             /media/floppy        subfs     
noauto,fs=floppyfss,procuid,nodev,nosuid,sync 0 0
2005-09-18 15:32:38,196 INFO  libstorage - EtcFstab.cc(flush):504 ret:0
2005-09-18 15:32:38,196 INFO  libstorage - Storage.cc(addFstabEntry):3960 ret:0
2005-09-18 15:32:38 <1> linux(2642) [YCP] Misc.ycp:192
.sysconfig.kernel.MODULES_LOADED_ON_BOOT: ''
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:3444 HandleModulesOnBoot ml []
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:3461 HandleModulesOnBoot
need_fish2 false need_cryptoloop false
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:4447 CheckForEvmsRootFs
root=$["detected_fs":`reiser, "device":"/dev/hda1", "format":true, "fsid":131,
"fstopt":"acl,user_xattr", "fstype":"Linux native", "inactive":true,
"label":"data", "mount":"/", "name":"hda1", "nr":1, "region":[0, 972],
"size_k":7807589, "type":`primary, "used_fs":`reiser,
"uuid":"a35207a0-39f3-4a34-8c41-7bcb1a4280cc"]
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:4449 CheckForEvmsRootFs
ret=false
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:1141 getContainers
ret:[$["device":"/dev/hda", "name":"hda", "type":`CT_DISK]]
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:883 getContainerInfo
$["device":"/dev/hda", "name":"hda", "type":`CT_DISK]
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:1099 getContainerInfo
container $["cyl_count":7297, "cyl_size":8225280, "device":"/dev/hda",
"label":"msdos", "max_logical":63, "max_primary":4, "name":"hda",
"partitions":[$["detected_fs":`reiser, "device":"/dev/hda1", "fsid":131,
"fstopt":"acl,user_xattr", "fstype":"Linux native", "label":"data", "mount":"/",
"name":"hda1", "nr":1, "region":[0, 972], "size_k":7807589, "type":`primary,
"used_fs":`reiser, "uuid":"7d9a5ce2-7472-4b13-bc49-e9d59f1b5ab8"],
$["boot":true, "detected_fs":`reiser, "device":"/dev/hda3", "fsid":131,
"fstype":"Linux native", "mount":"/gentoo", "name":"hda3", "nr":3,
"region":[972, 1216], "size_k":9767520, "type":`primary, "used_fs":`reiser,
"uuid":"23cb7016-3f45-47b1-bdef-9d4b83e9e5d9"], $["detected_fs":`unknown,
"device":"/dev/hda4", "fsid":5, "fstype":"Extended", "name":"hda4", "nr":4,
"region":[2188, 5109], "size_k":41038042, "type":`extended],
$["detected_fs":`swap, "device":"/dev/hda5", "fsid":130, "fstype":"Linux swap",
"mount":"swap", "name":"hda5", "nr":5, "region":[2188, 62], "size_k":498014,
"type":`logical, "used_fs":`swap], $["detected_fs":`reiser,
"device":"/dev/hda6", "fsid":131, "fstype":"Linux native", "label":"data",
"mount":"/data2", "name":"hda6", "nr":6, "region":[2250, 491], "size_k":3943957,
"type":`logical, "used_fs":`reiser,
"uuid":"a35207a0-39f3-4a34-8c41-7bcb1a4280cc"], $["detected_fs":`ext3,
"device":"/dev/hda7", "fsid":131, "fstype":"Linux native", "label":"Data",
"mount":"/data", "name":"hda7", "nr":7, "region":[2741, 4556],
"size_k":36596069, "type":`logical, "used_fs":`ext3,
"uuid":"9bdc67cf-3fc2-4526-92a4-69bc219e9a9d"]], "size_k":58615704, "type":`CT_DISK]
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:1162 UpdateTargetMap
dev:/dev/hda is:$["bios_id":"0x80", "bus":"IDE", "cyl_count":7297,
"cyl_size":8225280, "device":"/dev/hda", "label":"msdos", "max_logical":63,
"max_primary":4, "model":"ST360021A", "name":"1. IDE,   55.8 GB, /dev/hda,
ST360021A", "partitions":[$["detected_fs":`reiser, "device":"/dev/hda1",
"fsid":131, "fstopt":"acl,user_xattr", "fstype":"Linux native", "label":"data",
"mount":"/", "name":"hda1", "nr":1, "region":[0, 972], "size_k":7807589,
"type":`primary, "used_fs":`reiser,
"uuid":"7d9a5ce2-7472-4b13-bc49-e9d59f1b5ab8"], $["boot":true,
"detected_fs":`reiser, "device":"/dev/hda3", "fsid":131, "fstype":"Linux
native", "mount":"/gentoo", "name":"hda3", "nr":3, "region":[972, 1216],
"size_k":9767520, "type":`primary, "used_fs":`reiser,
"uuid":"23cb7016-3f45-47b1-bdef-9d4b83e9e5d9"], $["detected_fs":`unknown,
"device":"/dev/hda4", "fsid":5, "fstype":"Extended", "name":"hda4", "nr":4,
"region":[2188, 5109], "size_k":41038042, "type":`extended],
$["detected_fs":`swap, "device":"/dev/hda5", "fsid":130, "fstype":"Linux swap",
"mount":"swap", "name":"hda5", "nr":5, "region":[2188, 62], "size_k":498014,
"type":`logical, "used_fs":`swap], $["detected_fs":`reiser,
"device":"/dev/hda6", "fsid":131, "fstype":"Linux native", "label":"data",
"mount":"/data2", "name":"hda6", "nr":6, "region":[2250, 491], "size_k":3943957,
"type":`logical, "used_fs":`reiser,
"uuid":"a35207a0-39f3-4a34-8c41-7bcb1a4280cc"], $["detected_fs":`ext3,
"device":"/dev/hda7", "fsid":131, "fstype":"Linux native", "label":"Data",
"mount":"/data", "name":"hda7", "nr":7, "region":[2741, 4556],
"size_k":36596069, "type":`logical, "used_fs":`ext3,
"uuid":"9bdc67cf-3fc2-4526-92a4-69bc219e9a9d"]], "size_k":58615704,
"type":`CT_DISK, "unique":"l_yX.8tWVyBwAXO5"]
2005-09-18 15:32:38 <1> linux(2642) [YCP] Storage.ycp:1170 UpdateTargetMap
rem_keys:[]
2005-09-18 15:32:38 <1> linux(2642) [YCP] clients/inst_prepdisk.ycp:171 END of
inst_prepdisk.ycp
2005-09-18 15:32:38 <1> linux(2642) [Interpreter] ProductControl.ycp:171 Called
YaST client returned: `next
Comment 8 Danny Al-Gaaf 2005-10-10 20:11:02 UTC
As I sad IMO no bug in HAL. If YaST create the dir, we use the first existing 
dir in the (u)dev symlink list: 

Sep 28 20:42:03 utx hal-subfs-mount[22572]: SYMLINKS::
disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-4160B_K3I48LE1633
disk/by-path/pci-0000:00:11.1-ide-1:0 dvdram cdrom dvd

If you see a problem with YaST, reassign the bug, if not close the bug. 
Comment 9 Stanislav Brabec 2005-10-11 09:19:35 UTC
Reassigning to YaST2.

See comment #4 for log of creating /media/dvd and comment #7 for log of creating
/media/dvdram. Because HAL/D-BUS use /media/dvdram, creating of /media/dvd has
no meaning.
Comment 10 Thomas Fehr 2005-10-11 10:56:52 UTC
As long as YaST2 creates fstab entries for any device it makes sure that
the corresponding directory exists (otherwise the fstab entry does not make any
sense) and therefore it creates it if it do not already exist. 

No idea if this should be changed for cdrom devices but it does not seem to
make sense to have fstab entries without corresponding directories. So either
we remove the fstab entries for cdrom devices created by YaST2 completely or
we should allow YaST2 to create the directories corresponding to these 
fstab entries.

Andreas what do you think? 
As far as I know we had this discussion already for SL 9.3 (see #66671) and 
so far it was not decided if YaST2 should stop creating fstab entries for
cdrom devices.
Comment 11 Stanislav Brabec 2005-10-11 11:23:36 UTC
fstab contains only:

/dev/dvdram          /media/dvdram        subfs     
noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0

Please note, that subject of this bug report is not a static fstab entry but
directory /media/dvd created by YaST without any reason:

/var/log/YaST2/y2log-5:2005-09-22 19:38:14 <1> linux(15848) [agent-system]
SystemAgent.cc(Read):544 Can't access directory '/media/dvd': není souborem ani
adresářem'
/var/log/YaST2/y2log-5:2005-09-22 19:38:14 <1> linux(15848) [agent-system]
SystemAgent.cc(Execute):1097 mkdir /media/dvd

není souborem ani adresářem = no such file or directory (in Czech)
Comment 12 Thomas Fehr 2005-10-11 11:55:37 UTC
Can you please attach full y2log files, so far I cannot understand how
two directories (/media/devdram and /media/dvd) are created for the same device. 

Maybe you used "yast2 cdrom" which also creates fstab entries and directories
below /media.
Comment 14 Stanislav Brabec 2005-10-11 19:11:24 UTC
Created attachment 53764 [details]
y2log.bz2
Comment 15 Thomas Fehr 2005-10-12 09:53:01 UTC
The invocation of YaST2 that called the mkdir /media/dvd did not import any
Storage related modules, nor did it issue any libstorage calls. So whoever
creates this directory it is not withing yast2-storage but somewhere else.

The creation happened just before the log line "Enabling service portmap" so
it either happens in initialisation of some. The module that was running at 
this time was nfs_server.ycp. 

Maybe you have /media/dvd in your /etc/exports or whatever.
Marting could you have a look why "mkdir /media/dvd" is called via system agent
in the above log file.
Comment 16 Stanislav Brabec 2005-10-12 10:15:47 UTC
Oops, sorry. Exporting /media/dvd instead of /media/dvdram was my mistake I did
when I installed 10.0 over NFS.