<feed xmlns='http://www.w3.org/2005/Atom'>
<title>utils.git, branch master</title>
<subtitle>Fedora/RHEL utilities for s390x available in the s390utils package</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sharkcz/public_git/utils.git/'/>
<entry>
<title>ccw_init: handle portno option from NM configs</title>
<updated>2025-04-08T16:15:41+00:00</updated>
<author>
<name>Dan Horák</name>
<email>dan@danny.cz</email>
</author>
<published>2025-04-08T16:15:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sharkcz/public_git/utils.git/commit/?id=0d0c8abeaf2068e4d638617dae1acc30adce4266'/>
<id>0d0c8abeaf2068e4d638617dae1acc30adce4266</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ccw.udev: tolerate synthetic ADD and CHANGE uevents</title>
<updated>2021-11-26T14:18:52+00:00</updated>
<author>
<name>Julian Wiedmann</name>
<email>jwi@linux.ibm.com</email>
</author>
<published>2021-11-26T13:24:30+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sharkcz/public_git/utils.git/commit/?id=02124d9b50c1a3e9884c0f87f7d679d2f68a7c63'/>
<id>02124d9b50c1a3e9884c0f87f7d679d2f68a7c63</id>
<content type='text'>
Process ADD and CHANGE uevents as prior to the blamed commit. These
can be injected from userspace, and the ADD uevent is important for
devices that get enumerated during early boot (ie. prior to rootfs being
mounted). udev later cold-plugs them into the system via synthetic
ADD uevents (see systemd-udev-trigger.service) to trigger the rule
processing.

As we're not getting synthetic BIND uevents for such devices,
matching on the ADD uevents is needed to get networking set up for
eg. initramfs-less systems.

Note that we're still restricting the matching to devices with the
expected DRIVER attribute.

Fixes: 4b1fc32788a3 ("ccw.udev: match BIND uevent for ccw network devices")
Reported-by: Sven Schnelle &lt;svens@linux.ibm.com&gt;
Signed-off-by: Julian Wiedmann &lt;jwi@linux.ibm.com&gt;
Tested-by: Sven Schnelle &lt;svens@linux.ibm.com&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Process ADD and CHANGE uevents as prior to the blamed commit. These
can be injected from userspace, and the ADD uevent is important for
devices that get enumerated during early boot (ie. prior to rootfs being
mounted). udev later cold-plugs them into the system via synthetic
ADD uevents (see systemd-udev-trigger.service) to trigger the rule
processing.

As we're not getting synthetic BIND uevents for such devices,
matching on the ADD uevents is needed to get networking set up for
eg. initramfs-less systems.

Note that we're still restricting the matching to devices with the
expected DRIVER attribute.

Fixes: 4b1fc32788a3 ("ccw.udev: match BIND uevent for ccw network devices")
Reported-by: Sven Schnelle &lt;svens@linux.ibm.com&gt;
Signed-off-by: Julian Wiedmann &lt;jwi@linux.ibm.com&gt;
Tested-by: Sven Schnelle &lt;svens@linux.ibm.com&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>ccw_init: use DRIVER environment variable</title>
<updated>2021-07-08T07:13:34+00:00</updated>
<author>
<name>Julian Wiedmann</name>
<email>jwi@linux.ibm.com</email>
</author>
<published>2021-07-06T08:07:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sharkcz/public_git/utils.git/commit/?id=021da99823c738ff46b554f1526c35b5fc5577dd'/>
<id>021da99823c738ff46b554f1526c35b5fc5577dd</id>
<content type='text'>
As the ccw.udev rule now only matches BIND uevents, $DRIVER is always
set and we don't need to extract it from sysfs.

Signed-off-by: Julian Wiedmann &lt;jwi@linux.ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As the ccw.udev rule now only matches BIND uevents, $DRIVER is always
set and we don't need to extract it from sysfs.

Signed-off-by: Julian Wiedmann &lt;jwi@linux.ibm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ccw.udev: don't match CHANGE uevent for ccw network devices</title>
<updated>2021-07-08T07:13:34+00:00</updated>
<author>
<name>Julian Wiedmann</name>
<email>jwi@linux.ibm.com</email>
</author>
<published>2021-07-06T08:07:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sharkcz/public_git/utils.git/commit/?id=977186ad3cacadb93e612dd50bf441a6b764dfac'/>
<id>977186ad3cacadb93e612dd50bf441a6b764dfac</id>
<content type='text'>
There's nothing in the kernel that would raise a CHANGE uevent for ccw
devices, so don't match it until we know what the semantics might be.

Signed-off-by: Julian Wiedmann &lt;jwi@linux.ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's nothing in the kernel that would raise a CHANGE uevent for ccw
devices, so don't match it until we know what the semantics might be.

Signed-off-by: Julian Wiedmann &lt;jwi@linux.ibm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ccw.udev: match BIND uevent for ccw network devices</title>
<updated>2021-07-08T07:13:34+00:00</updated>
<author>
<name>Julian Wiedmann</name>
<email>jwi@linux.ibm.com</email>
</author>
<published>2021-07-06T08:07:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sharkcz/public_git/utils.git/commit/?id=4b1fc32788a3f443e13a80c2a848535d2ee59fcd'/>
<id>4b1fc32788a3f443e13a80c2a848535d2ee59fcd</id>
<content type='text'>
Instead of matching the ADD uevent for a hard-coded list of ccw device
types, wait until the device is actually bound to a driver that follows
the ccwgroup model. This way we don't need to maintain a hard-coded list
of device types, and avoid trying to apply a configuration for devices
that the kernel drivers don't even support.

Also when building the ccwgroup device via /sys/bus/ccwgroup/.../group,
the ccwgroup bus code requires that the ccw devices are bound to the
correct ccw_driver. So matching the ADD uevent seems too early.

This eliminates support of some truly ancient device types (P390, CLAW),
and allows for phasing out support of eg. OSN and OSX.

Note that this requires kernel-side support that was added in 4.14
with commit 1455cf8dbfd0 ("driver core: emit uevents when device is
bound to a driver").

Signed-off-by: Julian Wiedmann &lt;jwi@linux.ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of matching the ADD uevent for a hard-coded list of ccw device
types, wait until the device is actually bound to a driver that follows
the ccwgroup model. This way we don't need to maintain a hard-coded list
of device types, and avoid trying to apply a configuration for devices
that the kernel drivers don't even support.

Also when building the ccwgroup device via /sys/bus/ccwgroup/.../group,
the ccwgroup bus code requires that the ccw devices are bound to the
correct ccw_driver. So matching the ADD uevent seems too early.

This eliminates support of some truly ancient device types (P390, CLAW),
and allows for phasing out support of eg. OSN and OSX.

Note that this requires kernel-side support that was added in 4.14
with commit 1455cf8dbfd0 ("driver core: emit uevents when device is
bound to a driver").

Signed-off-by: Julian Wiedmann &lt;jwi@linux.ibm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>zfcpconf: set exit code explicitly (#1977434)</title>
<updated>2021-06-30T09:35:13+00:00</updated>
<author>
<name>Dan Horák</name>
<email>dan@danny.cz</email>
</author>
<published>2021-06-30T09:35:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sharkcz/public_git/utils.git/commit/?id=fd41fd536b1182281af587cfccc0d61802af920b'/>
<id>fd41fd536b1182281af587cfccc0d61802af920b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>device_cio_free: fix service order after switching to real root file system (#1790496, #1790790)</title>
<updated>2021-06-17T07:59:43+00:00</updated>
<author>
<name>Dan Horák</name>
<email>dan@danny.cz</email>
</author>
<published>2021-06-17T07:59:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sharkcz/public_git/utils.git/commit/?id=8d923ded2abf3596ed9744de62095a1aba083f87'/>
<id>8d923ded2abf3596ed9744de62095a1aba083f87</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>device_cio_free: drop obsolete option in service unit definition</title>
<updated>2021-06-16T10:27:42+00:00</updated>
<author>
<name>Dan Horák</name>
<email>dan@danny.cz</email>
</author>
<published>2021-06-16T10:27:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sharkcz/public_git/utils.git/commit/?id=228566e74148fc279f12af3341a2b3be9a6b80d7'/>
<id>228566e74148fc279f12af3341a2b3be9a6b80d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>update ccw_init and device_cio_free for new NetworkManager default</title>
<updated>2020-10-07T12:56:08+00:00</updated>
<author>
<name>Dan Horák</name>
<email>dan@danny.cz</email>
</author>
<published>2020-10-07T12:56:08+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sharkcz/public_git/utils.git/commit/?id=6f264c2a4279fa9616f2450f09fcc93bd4c2b7c6'/>
<id>6f264c2a4279fa9616f2450f09fcc93bd4c2b7c6</id>
<content type='text'>
update scripts for https://fedoraproject.org/wiki/Changes/NetworkManager_keyfile_instead_of_ifcfg_rh
that will be implemented in Fedora 33.

In addition to ifcfg files we must look at the NM keyfiles too. New systems
will use keyfiles only, but upgraded systems use ifcfg still.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
update scripts for https://fedoraproject.org/wiki/Changes/NetworkManager_keyfile_instead_of_ifcfg_rh
that will be implemented in Fedora 33.

In addition to ifcfg files we must look at the NM keyfiles too. New systems
will use keyfiles only, but upgraded systems use ifcfg still.
</pre>
</div>
</content>
</entry>
<entry>
<title>zfcpconf: add support for automatic LUN scanning</title>
<updated>2020-08-25T15:08:07+00:00</updated>
<author>
<name>Dan Horák</name>
<email>dan@danny.cz</email>
</author>
<published>2020-08-25T15:08:07+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sharkcz/public_git/utils.git/commit/?id=bfe9fa1770f245abd8fa70c56712d8da3600af93'/>
<id>bfe9fa1770f245abd8fa70c56712d8da3600af93</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
