summaryrefslogtreecommitdiffstats
path: root/src/shared/in-addr-prefix-util.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-06-10mkosi: install dlopen optional dependencies for debian/ubuntu buildsLuca Boccassi2-0/+36
2024-06-10mkosi: update to latestLuca Boccassi1-1/+1
2024-06-10user-util: fix fgetxxent_sane on muslMike Gilbert1-8/+8
musl's implementation does not set errno to ENOENT when the end of file is reached. It returns NULL and leaves errno unchanged.
2024-06-10mkosi.prepare: do not install build dependencies with NO_BUILDLuca Boccassi4-4/+4
2024-06-09NEWS: fix typoLuca Boccassi1-1/+1
2024-06-08mkosi: Stop using tools treeDaan De Meyer1-16/+10
Noble has all the tooling we need so let's stop using a tools tree and just install the dependencies we need on the host system.
2024-06-08mkosi: Replace sysusers.d with useradd for test userDaan De Meyer3-2/+2
sysusers.d is not intended for regular users, so let's use useradd instead.
2024-06-08ci: Switch to Ubuntu 24.04Daan De Meyer20-40/+53
2024-06-08mkosi: Update to latestDaan De Meyer1-1/+1
2024-06-08presets: Don't enable systemd-homed-firstboot.service by defaultDaan De Meyer2-2/+1
Enabling this service by default means every CI image without a regular user now gets stuck on first boot due to the password prompt from systemd-homed-firstboot.service. Let's not enable the service by default but instead require users to enable it explicitly if they want its behavior. Fixes #33249
2024-06-08dev-setup: Follow /dev/console symlinks when locking /dev/consoleDaan De Meyer1-1/+3
systemd-nspawn sets up /dev/console as a symlink to a pty, so let's make sure we follow the symlink when trying to lock /dev/console so we don't fail with ELOOP.
2024-06-07man: note that templated surviving units need a drop-in for their sliceLuca Boccassi1-0/+11
As reported on the mailing list, this is non-obvious, so document it. https://lists.freedesktop.org/archives/systemd-devel/2024-June/050351.html
2024-06-07mkosi: update debian packaging commit idLuca Boccassi1-1/+1
2024-06-07mkosi: enable noble-backports for ubuntuLuca Boccassi2-0/+9
Required to get the new dh-dlopenlibdeps package
2024-06-06Update version and finalize NEWS for 256~rc4v256-rc4Luca Boccassi2-2/+2
2024-06-06run: do not pass the pty slave fd to transient service in a machineZbigniew Jędrzejewski-Szmek1-17/+31
Follow-up for 28459ba1f4df824d5ef7f7d1a9acb6953ea24045 The pty path returned by OpenMachinePTY() cannot be opened from outside the machine, hence let's use the plain Standard{Input,Output,Error}=tty in such a case. This means if --machine= is specified, #32916 would occur. A comprehensive fix requires a new dbus method in machined, which shall be material for v257. See also: https://github.com/systemd/systemd/pull/33216#discussion_r1628020429 Replaces #33216 Co-authored-by: Mike Yuan <me@yhndnzj.com>
2024-06-06mkosi: Stop skipping pkcs11 test on opensuseDaan De Meyer1-4/+0
A fix was made to the softhsm package so the test now passes.
2024-06-06NEWS: update contributorsLuca Boccassi1-35/+38
2024-06-06Update syscalls tablesLuca Boccassi20-0/+20
ninja -C build update-syscall-tables update-syscall-header
2024-06-06Update hwdbLuca Boccassi9-10462/+11973
ninja -C build update-hwdb
2024-06-06Revert "network: add "mac" to alternatives name policy by default" (#33227)Zbigniew Jędrzejewski-Szmek1-1/+1
This reverts commit 0f5a529217f1327f020ab54deed09e6fae1f1fef. As discussed in https://github.com/systemd/systemd/issues/33104, that patch caused problems in Debian which has a udev drop-in with [Match] Path=*-usb-* [Link] NamePolicy=mac The rename fails: eth0: Policy *mac* yields "enx00*". eth0: /usr/lib/udev/rules.d/80-net-setup-link.rules:11 NAME 'enx00*' eth0: /usr/lib/udev/rules.d/99-systemd.rules:69 RUN '/usr/lib/systemd/systemd-sysctl --prefix=/net/ipv4/conf/$name --prefix=/net/ipv4/neigh/$ eth0: sd-device: Created database file '/run/udev/data/n9' for '/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000: eth0: Failed to rename network interface 9 from 'eth0' to 'enx00*': File exists eth0: sd-device: Created database file '/run/udev/data/n9' for '/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000: eth0: Failed to process device, ignoring: File exists Two network interfaces have the same MAC and it's not marked NET_ADDR_STOLEN. In this case the conflict is very visible because it causes the rename to fail, but it would also occur in other cases, for alternative names. A patch has been submitted for r8152 to properly set NET_ADDR_STOLEN: https://lore.kernel.org/linux-usb/20240605153340.25694-1-gmazyland@gmail.com/T/#u Let's revert this now to avoid a regression. We can try again after the kernel issue is resolved. Closes https://github.com/systemd/systemd/issues/33104.
2024-06-06mkosi: Include fewer modules in the initramfsDaan De Meyer1-0/+3
Let's only use mkosi's default list of modules instead of all of them.
2024-06-06mkosi: Update to latestDaan De Meyer1-1/+1
2024-06-06homed: flush fscrypt key on lock/deactivateLuca Boccassi3-0/+98
The fscrypt key is added to the user keyring, and needs to be flushed out too. Fixes https://github.com/systemd/systemd/issues/33138
2024-06-06mkosi: do a sparse checkout of debian/ubuntu packaging repoLuca Boccassi2-1/+15
The repository on Salsa includes the full upstream sources, which means they are duplicated, taking extra space and showing duplicated grep results. But we only need the debian/ subfolder, so do a sparse clone and checkout.
2024-06-06util: add keyring_describe helper and move to basicLuca Boccassi5-20/+37
So that it can be used from libsystemd. No external dependencies.
2024-06-06network/ndisc: use router lifetime as one for redirect routeYu Watanabe3-99/+126
Previously, we did not set lifetime for redirect route, and redirect routes were removed only when received a RA from the target address. Thus, routes that redirect on-link addresses were never removed. RFCs mention nothing about the lifetime of redirection. But the previous implementation does not pass the IPv6 Core Conformance Tests. This makes - remember all received RAs and manage them by the sender address (previously, remembered only one with the highest preference), - then use the router lifetime as one for redirect route, - remove redirect route also when the router corresponds to the sender address is dropped (previously, considered only target address). Note, even if we recieve a new RA, we do not update existing redirect routes. The lifetime of the redirect route is updated only when a new Redirect message is received. Closes #32527.
2024-06-06man: document /usr/local/lib in search pathsJörg Behrmann22-0/+38
2024-06-06mkosi: update fedora commit referenceZbigniew Jędrzejewski-Szmek1-1/+1
* 1f94b56cee Partially backport PR #33016 to fix crashes in KDE 6.3.0
2024-06-06mkosi: update debian commit referenceZbigniew Jędrzejewski-Szmek1-1/+1
* 5b9607385d debian/tests/storage: without scsi_debug, skip test * 8a195a6327 debian/extra: use a dropin to configure Nice=-1 on systemd-journald.service * 5436d49288 debian/extra: use a drop-in resolved.conf to configure Cache=no-negative * 596a99d2d3 debian/extra: set ManagedOOMSwap=auto on -.slice * 07ba81b14d LimitCORE: restore default hard limit to infinity * df3a9a91e8 Restart managers on libc-upgrade dpkg trigger
2024-06-06mkosi: set -o nounset for scriptsZbigniew Jędrzejewski-Szmek4-3/+7
Those scripts are written with the expectation that all input variables are set and will not behave correctly if something is ommitted. In particular, the non-chrooted scripts (mkosi.clean, mkosi.sync) might wreak havoc if called without the full environment.