[Git-commits] [grml/grml-udev-config] 4f6592: grml-udev-config.grml-forensic: also react to bloc...
Michael Prokop
noreply at github.com
Fri Jul 10 10:39:41 CEST 2020
Branch: refs/heads/master
Home: https://github.com/grml/grml-udev-config
Commit: 4f6592884c730d7aeaad331c95b45c9a1b8455e9
https://github.com/grml/grml-udev-config/commit/4f6592884c730d7aeaad331c95b45c9a1b8455e9
Author: Michael Prokop <mika at grml.org>
Date: 2020-07-10 (Fri, 10 Jul 2020)
Changed paths:
M debian/grml-udev-config.grml-forensic.udev
Log Message:
-----------
grml-udev-config.grml-forensic: also react to block device *changes*
When executing `partprobe /dev/sda`, then partitions are
changed, removed and added again, while DISK_RO=0 is set
on the main block device (/dev/sda):
| % sudo udevadm monitor --property > udev-info
| % grep -e KERNEL -e DISK_RO udev-info
| KERNEL - the kernel uevent
| KERNEL[7033.955480] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda1 (block)
| KERNEL[7033.958758] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda2 (block)
| KERNEL[7033.963743] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda3 (block)
| KERNEL[7033.971321] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda (block)
| KERNEL[7033.971569] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda1 (block)
| KERNEL[7033.971745] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda2 (block)
| KERNEL[7033.971918] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda3 (block)
| KERNEL[7034.002552] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda (block)
| KERNEL[7034.004249] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda1 (block)
| KERNEL[7034.004446] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda2 (block)
| KERNEL[7034.004631] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda3 (block)
| KERNEL[7034.034068] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda (block)
| KERNEL[7034.034228] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda1 (block)
| KERNEL[7034.034378] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda2 (block)
| KERNEL[7034.034516] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda3 (block)
| KERNEL[7034.828780] remove /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda1 (block)
| KERNEL[7034.829322] remove /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda2 (block)
| KERNEL[7034.829622] remove /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda3 (block)
| KERNEL[7034.829941] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda (block)
| DISK_RO=0
| KERNEL[7034.830451] change /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda (block)
| KERNEL[7034.830902] add /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda1 (block)
| KERNEL[7034.831219] add /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda2 (block)
| KERNEL[7034.839261] add /devices/pci0000:00/0000:00:0d.0/ata3/host4/target4:0:0/4:0:0:0/block/sda/sda3 (block)
| DISK_RO=0
Explicitly pass block device name to the script, which should
make usage of script as standalone tool better.
@See grml-forensic/release-planning issue #155
This work was funded by Grml-Forensic.
Commit: 31e81f4ab51d9c47eb12a239b587c3b9dd204cf6
https://github.com/grml/grml-udev-config/commit/31e81f4ab51d9c47eb12a239b587c3b9dd204cf6
Author: Michael Prokop <mika at grml.org>
Date: 2020-07-10 (Fri, 10 Jul 2020)
Changed paths:
M scripts/forensic-mark-readonly
Log Message:
-----------
scripts/forensic-mark-readonly: support standalone usage and configuration file usage
Instead of accepting environment variable $DEVNAME we expect the
script to be invoked with and argument like /dev/sda1 (useful for
manual execution) or sda1 (when invoked via udev rule).
Support configuration via /etc/grml/forensic.conf with two variables:
* READONLY_MODE: if set to "disable" then the script won't modify
block devices
* READONLY_IGNORE: this supports ignoring devices to not being set to
read-only
While at it improve coding style.
This work was funded by Grml-Forensic.
Commit: 47cd5ef0e737d0162434e55d1e3d08205e135603
https://github.com/grml/grml-udev-config/commit/47cd5ef0e737d0162434e55d1e3d08205e135603
Author: Michael Prokop <mika at grml.org>
Date: 2020-07-10 (Fri, 10 Jul 2020)
Changed paths:
M debian/control
Log Message:
-----------
debian: use https URLs
Commit: 0c599eee35c4fbf51b94bee6c0ee4ae3df829e3b
https://github.com/grml/grml-udev-config/commit/0c599eee35c4fbf51b94bee6c0ee4ae3df829e3b
Author: Michael Prokop <mika at grml.org>
Date: 2020-07-10 (Fri, 10 Jul 2020)
Changed paths:
M debian/control
M debian/docs
Log Message:
-----------
debian: wrap-and-sort
wrap-and-sort -t -a -s
Commit: efdfa3e1a5ccdc3bd02a95c0dc30c77ce80f2306
https://github.com/grml/grml-udev-config/commit/efdfa3e1a5ccdc3bd02a95c0dc30c77ce80f2306
Author: Michael Prokop <mika at grml.org>
Date: 2020-07-10 (Fri, 10 Jul 2020)
Changed paths:
M debian/control
Log Message:
-----------
debian: Bump Standards-Version to 4.5.0
Commit: be20003e82f67084b855e1fa74ce3075ba89fc25
https://github.com/grml/grml-udev-config/commit/be20003e82f67084b855e1fa74ce3075ba89fc25
Author: Michael Prokop <mika at grml.org>
Date: 2020-07-10 (Fri, 10 Jul 2020)
Changed paths:
R debian/compat
M debian/control
A debian/grml-udev-config.install
R debian/postinst
R debian/postrm
M debian/rules
A debian/source/format
Log Message:
-----------
debian: refresh debian packaging to use current best practices
* replace Priority extra (deprecated) with optional
* drop debian/compat and switch to debhelper-compat approach
* minimize debian/rules
* drop empty/unused postinst/postrm scripts
* provide debian/source/format
Commit: 10957dff67dbcec50aac94141b1053611d5b9af1
https://github.com/grml/grml-udev-config/commit/10957dff67dbcec50aac94141b1053611d5b9af1
Author: Michael Prokop <mika at grml.org>
Date: 2020-07-10 (Fri, 10 Jul 2020)
Changed paths:
R debian/grml-udev-config.grml-udev.init
R debian/overrides
Log Message:
-----------
Drop grml-udev init script (no longer used/relevant)
Especially given that we moved to systemd it is time to get rid of this
Commit: d4907e9f3b5ca5e0aa38fbd1c74f7754ad453788
https://github.com/grml/grml-udev-config/commit/d4907e9f3b5ca5e0aa38fbd1c74f7754ad453788
Author: Michael Prokop <mika at grml.org>
Date: 2020-07-10 (Fri, 10 Jul 2020)
Changed paths:
M debian/README.Debian
Log Message:
-----------
Update debian/README.Debian to reflect current state
JFTR: the udev rules should get reviewed...
Commit: 8fe226ca4baabea80717551e31d4684f3d6c16ed
https://github.com/grml/grml-udev-config/commit/8fe226ca4baabea80717551e31d4684f3d6c16ed
Author: Michael Prokop <mika at grml.org>
Date: 2020-07-10 (Fri, 10 Jul 2020)
Changed paths:
M debian/control
Log Message:
-----------
debian: drop conflict on outdated udev package
udev v0.141-1grml.04 is veeeeeeery old and this is no longer relevant nowadays
Commit: b2080fafcb8624b8061936a54c6f500934def44d
https://github.com/grml/grml-udev-config/commit/b2080fafcb8624b8061936a54c6f500934def44d
Author: Michael Prokop <mika at grml.org>
Date: 2020-07-10 (Fri, 10 Jul 2020)
Changed paths:
M debian/changelog
Log Message:
-----------
Release new version 0.5.0
Compare: https://github.com/grml/grml-udev-config/compare/f392e168a30d...b2080fafcb86
More information about the Git-commits
mailing list