Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is largely cosmetic, removing some annoyances, but might have a slight performance benefit - I don't think there will be any drawbacks.
udevil-mount: avoid mounting already mounted partitions
This change avoids mounting the
/flash
and/storage
partitions throughudevil
when they have already been mounted byinit
.The following is the boot sequence on an RPi system with
/flash
and/storage
on/dev/mmcblk0p[1,2]
, and a thirdImages
parition on/dev/sda1
that is to be auto-shared by Samba.Apart from one less error message per
/flash
and/storage
partition, the more significant benefit is that we will no longer restartsmbd
/samba-config
/nmbd
after each attempted mount (even when unsuccesful), particularly as/flash
and/storage
will not even be auto-shared by Samba.hdparm: stop trying set speed on invalid optical devices
/dev/sr
,/dev/srcutree
and/dev/sr_mod
are not valid optical devices so don't try to set their speed.To be honest, I'm not entirely sure where these events are coming from but I've tested with an optical device that succesfully mounts as
/dev/sr0
.ethtool: don't enable wakeup when unsupported
On RPi[1,2,3]:
If the sysfs entry doesn't exist, don't try and write to it...
systemd: remove uaccess rules as we don't build with ACL
systemd/systemd#4107
https://bugzilla.redhat.com/show_bug.cgi?id=1207203
https://forum.manjaro.org/t/openrc-and-73-seat-late-rules-why-deleting-it-was-a-good-thing/24599
elogind/elogind#10
There's no point including
uaccess
rules without ACL.Before this PR:
After this PR: