It just scan the SCSI target when got
REPORTED_LUNS_DATA_HAS_CHANGED in udev.
The libstoragemgmt daemon need to be restarted on new plugin
install or plugin uninstall, so that the daemon could create
new or stop existing plugin connection.
* The %service_del_postun only try-restart daemon on upgrade
which is not required here.
* The %service_del_postun only 'daemon-reload' on uninstall
which is not required here.
OBS-URL: https://build.opensuse.org/package/show/Base:System/libstoragemgmt?expand=0&rev=8
- Upgrade to version 1.2.1.
- New sub-pacakges:
* libstoragemgmt-megaraid-plugin
New plugin in 1.2.0 release.
* libstoragemgmt-hpsa-plugin
New plugin in 1.2.0 release.
* libstoragemgmt-udev
The udev file has nothing to do with the libraray.
It just scan the SCSI target when got REPORTED_LUNS_DATA_HAS_CHANGED
in udev.
- New rpmbuild switch: '--without test'
Use to skip 'make check' test to save debug time.
- Fix incorrect post scripts for plugin packages.
User case:
The libstoragemgmt daemon need to be restarted on new plugin install
or plugin uninstall, so that the daemon could create new or stop
existing plugin connection.
But old macros:
* The %service_del_postun only try-restart daemon on upgrade which is not
required here.
* The %service_del_postun only 'daemon-reload' on uninstall which is not
required here.
* The %service_add_post does not restart daemon.
So we have to use hardcoded systemd commands.
- Add bash-completion script for lsmcli.
- Use systemd-tmpfiles to create socket file in /run folder.
- Add %ghost ownership for socket file and folder in /run folder.
OBS-URL: https://build.opensuse.org/request/show/312468
OBS-URL: https://build.opensuse.org/package/show/Base:System/libstoragemgmt?expand=0&rev=7