Hi,
We recently started migrating our SLES9_SP2 s390x-servers to SLES9_SP4.
We have been using udev, mainly for switching our 3590 and 3592 tapedrives
between the VM guests.

The linux-user 'db2inst1' does the db2backup to tape.  This user sends the
mount request to VM and after completion, does  'chccwdev -e 0.0.0<cuu>'
to put the tapedrive online.
Since SP4, this resulted in an error because this user has no write-rights
on /sys/devices/css0/<path>/<channel-id>/online.
Our udev.rules are setup so that a tape-device name /dev/tape/cuu is
created.  On this device, the user can write.  But, udev is only called
after chccwdev -e is executed.
And this does no longer work.

We bypassed this by adding 'chown' and 'chmod' in /etc/hotplug/ccw.agent
to allow a group (with db2inst1) gets write access to
'/sys/devices/css0/<path>/<channel-id>/online'.
Are there any other users that came across this problem ?
Is it (still) possible for non-root users to execute 'chccwdev'   ?

Thanks for any tips or advise.
Regards,
Kurt




- Confidentiality Notice -

This communication and the information it contains is intended (a) for the 
person(s) or organization(s)
named above and for no other person or organization, and (b) may be 
confidential, legally privileged and
protected by law. Unauthorized use, copying or disclosure of any of it may be 
unlawful! If you receive
this communication in error, please notify us immediately, destroy any copies 
and delete it from your
computer system. Please consult our disclaimer on our site www.securex.eu
Thank you.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to