Commit Graph
86475 Commits
Author SHA1 Message Date
Yu Watanabe b96f417ea6 xaccess: Rework from boolean into a list of tags (#40645)
Fixes: #40634
2026-02-18 01:24:59 +09:00
Zbigniew Jędrzejewski-Szmek bdf8bbf713 NEWS: clarify the change for non-system accounts in v260 vs. v259
In 5c05a339c6 I retroactively changed the NEWS
entry for v259. But this is very confusing, because it looks like the original
change never happened and it's not clear what is being reverted.

Let's restore the original text, and just add a short note, but then move
the new text to the section for v260.
2026-02-18 01:21:58 +09:00
Yu Watanabe b11e07c607 man: fix typo 2026-02-18 01:00:04 +09:00
Zbigniew Jędrzejewski-Szmek c44446fe31 NEWS,man: mark systemd-report as experimental
I expect that we'll need to make incompatible changes to
all of this, so let's mark things appropriately.
2026-02-17 16:55:32 +01:00
Yu Watanabe 1f8fefd7de memstream-util: fix doubled %m
Follow-up for abe72100cf.
2026-02-18 00:47:25 +09:00
Yu Watanabe 5004500c4b NEWS: mention -Dcompat-sysv-interfaces=BOOL meson option 2026-02-18 00:37:47 +09:00
Yu Watanabe 8c648adeae NEWS: -Dlibiptc= meson option has been deprecated since v259 2026-02-18 00:37:47 +09:00
Luca Boccassi 5f2ed2680f NEWS: note new varlink method 2026-02-17 15:38:16 +00:00
Luca Boccassi 9175b93083 NEWS: fix typo 2026-02-17 15:35:40 +00:00
Mike Yuan 1f0749c5f3 NEWS: correct descriptions for bootctl/networkd's varlink interfaces 2026-02-17 16:27:06 +01:00
Mike Yuan 888b385c54 NEWS: two additions for pid1 2026-02-17 16:26:36 +01:00
Mike Yuan b52a202b61 sd-json: fix doubled space 2026-02-17 16:26:36 +01:00
Mike Yuan 603a899720 resolved-dns-scope: fix typo 2026-02-17 16:26:36 +01:00
Yu Watanabe 5d26cb9c1b NEWS: fix typo 2026-02-18 00:20:55 +09:00
Jörg Behrmann 9c5efad4c5 news: fix typos 2026-02-18 00:21:51 +09:00
Zbigniew Jędrzejewski-Szmek 245909680d NEWS: initial list of changes for v260 2026-02-17 15:35:50 +01:00
Zbigniew Jędrzejewski-Szmek 3a4158ce63 NEWS: corrections/rewordings 2026-02-17 15:35:50 +01:00
Alessandro Astone 2f5279d34b udev: Tag GPU render nodes as xaccess-render 2026-02-17 15:27:24 +01:00
Alessandro Astone 1f7f2bc610 xaccess: Rework from boolean into a list of tags
XDG_SESSION_EXTRA_DEVICE_ACCESS will now take a colon-separated list of
identifiers. For every identifier $ID, the session is granted access to all
devices tagged as "xaccess-$ID" in udev.

Fixes: #40634
2026-02-17 15:27:24 +01:00
AsciiWolf b170564b7b hwdb: add Vernier Go Direct sensors 2026-02-17 23:27:01 +09:00
Yu Watanabe ff33e755e8 Fixes & improvments for using homed-luks on 4k disks (#35776)
Mostly consists of fixes to 

- use the same sector_size as the fdisk context we are using, when
converting between sectors returned by libfdisk to bytes. Fixes #30394 ,
Fixes #30393
- Use the explicit sector size if specified in the home record when are
probing the image file using libblkid. Fixes #30393

Also contains some other improvements with using physical block devices.

- Automatically probe sector size of physical block device, if user does
not pass luks-sector-size explicitly.
- Assign partitions to 1 MiB boundaries, as it is the standard practice
followed by all tools, fdisk, gptfdisk, gnu parted etc.
- Avoid stacking of loop device on top of physical block device in
home_create_luks as it leads to degradation of discard operations, and
mkfs getting stuck.
2026-02-17 23:23:23 +09:00
Yu Watanabe cfd544af86 Sensor cleanup 1st pass (#40675)
This is a general cleanup of the sensors hwdb file divides into several
commits per brand.

I have merged the devices that use the same matrices, clean up a little
some clear dmi matches, and apply a inline comment with the device where
is certainly very clear way to display.

My idea is to do more cleanup steps but actually will require more
effort to achieve complete dmis, I can do it with little time, and some
consensus for comment styling.

About the comment styling actually I thing we could follow two rules at
the same time: inline comment when the dmi match is short and there is
no additional many information than just the model, and the other one
comment above the dmi match when is too long or there are need to add
more info.
2026-02-17 22:20:38 +09:00
scarlet-storm 48b9d7e980 Use sectorsize for partition tables on block devs
Fix for specific case #30393 where 4k sector luks container is created
on a 512b device. In this case the partition table needs to be 512b,
else the kernel will not be able to find the partition, and we will
have to create a loop device to translate the partition table to 4k.
2026-02-17 18:23:35 +05:30
scarlet-storm 6a389701b2 homework: Ensure we don't stack block devices
Ensure we don't create a loop device on top of a physical block device.
This leads to huge performance degradation of discard operations if the
physical device does not support discard_on_zeroes.

- loop device historical semantics dictates that when the device is
  discarded, it needs to return zero data on read. This can be
  implemented easily on a filesystem. since fallocate zero-range
  would return immediately & the holes are handled at the filesystem
  level to return zero data on read.
- For a raw block device, the feature (discard_zeroes_data) depends on
  the capabilities of the physical device that is exposed to the
  block layer by the driver. This means that to guarantee that the loop
  device stacked on a block device returns zero on discarded data,
  it needs to convert discarded range into write_zero op on the block device.
  https://github.com/torvalds/linux/blob/63676eefb7a026d04b51dcb7aaf54f358517a2ec/drivers/block/loop.c#L773

For example on one of my local nvme I can see the following:
cat /sys/class/block/nvme1n1/queue/write_zeroes_max_bytes
131072
cat /sys/class/block/nvme0n1/queue/discard_max_hw_bytes
2199023255040

This means maximum size of a write_zero operation can be 128KiB &
maximum size of discard operation can be 2TiB on the block device.
So discarding for example 1TB of data, which would be a single block
device operation, gets split into 8.3 million block device operations
when issued on top of stacked loop device.
2026-02-17 18:23:35 +05:30
scarlet-storm 292525dd20 homework: Use same sector size when probing the device
If there is an explicit sector size specified in the user record,
use the same when probing the file using libblkid. The default
is 512 bytes, which will not be able to find the signatures, if the
partition table on regular file was created assuming 4k sectors
2026-02-17 18:23:35 +05:30
scarlet-storm 118cccf97f homework: Align partitions to 1MiB
Align partitions to 1MiB for consistency with regular partition tools
which use 1MiB alignment by default
2026-02-17 18:23:35 +05:30
scarlet-storm fc280b64e8 homework: Auto-probe luks sector size
Auto-probe the luks sector size, if not explicitly
specified in the home record
2026-02-17 18:23:35 +05:30
scarlet-storm a24f11798b homework: Remove zeroing of PMBR
Remove zeroing of PMBR before writing out the new partition table.
There is no reason, to do this explicitly ?
2026-02-17 18:23:35 +05:30
scarlet-storm 2790a782ce homework: Use same sector size as fdisk context
Ensure we use the same sector size as used in the created
fdisk context when converting between sectors and bytes.
2026-02-17 18:23:35 +05:30
David Santamaría Rogado e723d29513 hwdb: sensor: unknown add colon to sensor match 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 5e526f2df3 hwdb: sensor: yours add comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 803b160c62 hwdb: sensor: wortmann in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado f8bc2d82bb hwdb: sensor: voyo fix dmi match format 2026-02-17 13:35:49 +01:00
David Santamaría Rogado cafe374172 hwdb: sensor: trekstor in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 5f558de699 hwdb: sensor: toshiba refactor 2026-02-17 13:35:49 +01:00
David Santamaría Rogado ef14307f36 hwdb: sensor: thundersoft reformat dmi match 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 1f2ebc1cf3 hwdb: sensor: teclast refactor 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 2c56b39439 hwdb: sensor: schneider remove number part match
Following Hans de Goede (jwrdegoede) way to match
BIOS versions, remove the last number part.
2026-02-17 13:35:49 +01:00
David Santamaría Rogado e86bac6d89 hwdb: sensor: rca in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 43e0f0e2fb hwdb: sensor: reeder in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 7e1f8ba2e3 hwdb: sensor: purism in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 0eca6a1612 hwdb: sensor: prowise add comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado b3dea1b1a3 hwdb: sensor: predia reformat dmi match 2026-02-17 13:35:49 +01:00
David Santamaría Rogado a774da6ca4 hwdb: sensor: positivo simplify dmi matches 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 79e3e35f8c hwdb: sensor: point-of-view refactor 2026-02-17 13:35:49 +01:00
David Santamaría Rogado f06b18f2d2 hwdb: sensor: ployer in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 9034a9b6d6 hwdb: sensor: pipo refactor 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 31434bda83 hwdb: sensor: pine64 in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 8515b8bb77 hwdb: sensor: peaq add comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 01f785ee02 hwdb: sensor: passion in-line comment 2026-02-17 13:35:49 +01:00