Skip to content
Snippets Groups Projects
  1. Jul 20, 2021
  2. Jul 07, 2021
  3. Jun 03, 2021
  4. May 18, 2021
  5. Mar 22, 2021
    • Denis Pynkin's avatar
      a5dcf9a6
    • Denis Pynkin's avatar
      Add /usr to non-unmountable list · 5b199f1b
      Denis Pynkin authored
      
      Debian's systemd has split-usr enabled as both Debian and in principle Apertis
      support both a split and a merged-usr setup. This mostly adds search paths to
      system (e.g. to look at both `/bin/` and `/usr/bin`) however it also means that
      if `/usr` is a mountpoint system will try to unmount it.  Unfortunately this causes
      issues at shutdown for systems with a merged-usr layout as basic libraries (e.g. libc)
      are located in `/usr` making it impossible to unmount.
      
      For Apertis we don't support `/usr` being a seperate partition, the only time
      `/usr` is on a mountpoint is when using ostree images (where it is a bind mount
      and which use a merged-usr layout). So also add `/usr` to the list of paths that
      are considered unmountable even with split-usr support enabled in systemd.
      
      Signed-off-by: default avatarDenis Pynkin <denis.pynkin@collabora.com>
      5b199f1b
  6. Jan 29, 2021
  7. Nov 17, 2020
  8. Nov 01, 2020
  9. Oct 24, 2020
  10. Sep 23, 2020
  11. Sep 03, 2020
  12. May 29, 2020
  13. May 27, 2020
  14. May 26, 2020
  15. Apr 27, 2020
    • Michael Biebl's avatar
      Import Debian changes 241-7~deb10u4 · ddb38744
      Michael Biebl authored
      systemd (241-7~deb10u4) buster; urgency=medium
      
        * polkit: when authorizing via PolicyKit re-resolve callback/userdata
          instead of caching it.
          This fixes a heap use-after-free vulnerability in systemd, when
          asynchronous PolicyKit queries are performed while handling DBus messages.
          CVE-2020-1712 (Closes: #950732)
        * Install 60-block.rules in udev-udeb and initramfs-tools.
          The block device rules were split out from 60-persistent-storage.rules
          into its own rules file in v220. Those rules ensure that change events
          are emitted and the udev db is updated after metadata changes.
          Thanks to Pascal Hambourg (Closes: #958397)
  16. Mar 30, 2020
  17. Jan 29, 2020
    • Michael Biebl's avatar
      Import Debian changes 241-7~deb10u3 · 89a24807
      Michael Biebl authored
      systemd (241-7~deb10u3) buster; urgency=medium
      
        * core: set fs.file-max sysctl to LONG_MAX rather than ULONG_MAX.
          Since kernel 5.2 (but also stable kernels like 4.19.53) the kernel
          thankfully returns proper errors when we write a value out of range to
          the sysctl. Which however breaks writing ULONG_MAX to request the
          maximum value. Hence let's write the new maximum value instead,
          LONG_MAX. (Closes: #945018)
        * core: change ownership/mode of the execution directories also for static
          users.
          This ensures that execution directories like CacheDirectory and
          StateDirectory are properly chowned to the user specified in User= before
          launching the service. (Closes: #919231)
  18. Dec 19, 2019
  19. Dec 16, 2019
  20. Dec 11, 2019
  21. Oct 16, 2019
    • Michael Biebl's avatar
      Import Debian changes 241-7~deb10u2 · 677d5ce9
      Michael Biebl authored
      systemd (241-7~deb10u2) buster; urgency=medium
      
        * core: never propagate reload failure to service result.
          Fixes a regression introduced in v239 where the main process of a
          service unit gets killed on reload if ExecReload fails. (Closes: #936032)
        * shared/seccomp: add sync_file_range2.
          Some architectures need the arguments to be reordered because of alignment
          issues. Otherwise, it's the same as sync_file_range.
          Fixes sync_file_range failures in nspawn containers on arm, ppc.
          (Closes: #935091)
        * core: factor root_directory application out of apply_working_directory.
          Fixes RootDirectory not working when used in combination with User.
          (Closes: #939408)
        * shared/bus-util: drop trusted annotation from
          bus_open_system_watch_bind_with_description().
          This ensures that access controls on systemd-resolved's D-Bus interface
          are enforced properly.
          (CVE-2019-15718, Closes: #939353)
        * login: add a missing error check for session_set_leader()
          Fixes assertion due to insufficient function return check.
          (Closes: #939998)
        * d/e/r/73-usb-net-by-mac.rules: import net.ifnames only for network devices
          (Closes: #934589)
        * d/e/r/73-usb-net-by-mac.rules: skip if iface name was provided by user-space
        * namespace: make MountFlags=shared work again (Closes: #939551)
        * mount/generators: do not make unit wanted by its device unit.
          Among other things, this fixes StopWhenUnneeded=true being broken for
          mount units. (Closes: #941758)
  22. Sep 12, 2019
  23. Aug 20, 2019
    • Michael Biebl's avatar
      Import Debian changes 241-7~deb10u1 · 76e351d7
      Michael Biebl authored
      systemd (241-7~deb10u1) buster; urgency=medium
      
        * Rebuild for buster
      
      systemd (241-7) unstable; urgency=medium
      
        [ Michael Biebl ]
        * network: Fix failure to bring up interface with Linux kernel 5.2.
          Backport two patches from systemd master in order to fix a bug with 5.2
          kernels where the network interface fails to come up with the following
          error: "enp3s0: Could not bring up interface: Invalid argument"
          (Closes: #931636)
        * Use /usr/sbin/nologin as nologin shell.
          In Debian the nologin shell is installed in /usr/sbin, not /sbin.
          (Closes: #931850)
      
        [ Mert Dirik ]
        * 40-systemd: Don't fail if SysV init script uses set -u and $1 is unset
          (Closes: #931719)
      
      systemd (241-6) unstable; urgency=medium
      
        * ask-password: Prevent buffer overflow when reading from keyring.
          Fixes a possible memory corruption that causes systemd-cryptsetup to
          crash either when a single large password is used or when multiple
          passwords have already been pushed to the keyring. (Closes: #929726)
        * Clarify documentation regarding %h/%u/%U specifiers.
          Make it clear, that setting "User=" has no effect on those specifiers.
          Also ensure that "%h" is actually resolved to "/root" for the system
          manager instance as documented in the systemd.unit man page.
          (Closes: #927911)
        * network: Behave more gracefully when IPv6 has been disabled.
          Ignore any configured IPv6 settings when IPv6 has been disabled in the
          kernel via sysctl. Instead of failing completely, continue and log a
          warning instead. (Closes: #929469)
  24. Aug 15, 2019
  25. Aug 12, 2019
Loading