Red Hat Bugzilla – Bug 209415
iscsi-initiator-utils should create and own /var/lib/iscsi and /var/lock/iscsi
Last modified: 2012-06-26 12:09:08 EDT
In order for the initscripts to be able to bindmount a tmpfs over
/var/lib/iscsi, the directory needs to exist.
So, it would be useful if the package created the directories. Also, it's
standard practice for packages to own their directories (e.g so rpm -qf
- create /var/lib/iscsi/nodes, /var/lib/iscsi/send_targets and /var/lock/iscsi
- add those dirs to the %files list, using the %dir directive
You could probably remove the patches that create those dirs at runtime, then.
Doh, how many times am I going to mess up on these dirs? :)
At least I am learning what the correrct procedure is. We will not be able to
get this into the initial release of FC6 due to the freeze (unless you can tell
Jesse it is critical), but I will check in fixes into cvs in a minute or two here.
I fixed this in iscsi-initiator-utils-6_2_0_695-0_6. It is checked in cvs and
built into brew. I so not think they are going to let me update the rpm for the
initial release of FC6, so as soon as we can do a update I will make sure this
Fixed by this:
+* Thu Oct 5 2006 Mike Christie <email@example.com> - 22.214.171.1245-0.6
+- BZ 209523 make sure the network is not going to get shutdown so
+iscsi devices (include iscsi root and dm/md over iscsi) get syncd.
+- BZ 209415 have package create iscsi var dirs