Skip to content
Snippets Groups Projects
  1. May 03, 2021
    • Denis Pynkin's avatar
      kernel-install: allow to create $BOOT/$MACHINE_ID · 0b7b2a3a
      Denis Pynkin authored
      Commit [cf73f650890](https://github.com/systemd/systemd/commit/cf73f650890
      
      )
      provides script `00-entry-directory.install` which creates the entry
      directory only if `$BOOT/$MACHINE_ID` folder exists.
      This part was moved out of `kernel-install` script and may introduce
      the problem during upgrade since before Apertis v2022dev2 we do kernel
      install with `$MACHINE_ID` generated in a build time. Later we remove
      `/etc/machine-id` file allowing to generate an unique machine ID during
      first boot, so there will be no directory `$BOOT/$MACHINE_ID` with a new
      ID preventing from new entry generation during kernel upgrade in runtime.
      Hence remove the part checking the `$BOOT/$MACHINE_ID` existence and
      allow to create the proper entry in any case, returning the previous
      `kernel-install` behaviour.
      
      Signed-off-by: default avatarDenis Pynkin <denis.pynkin@collabora.com>
      0b7b2a3a
    • Denis Pynkin's avatar
      Fix bashisms in kernel-install scripts · 3740a22f
      Denis Pynkin authored
      
      Remove negotiation from `-z` to test for non-emptiness instead of
      previously added version reversing those tests logic.
      
      Signed-off-by: default avatarDenis Pynkin <denis.pynkin@collabora.com>
      3740a22f
  2. Apr 26, 2021
  3. Mar 24, 2021
  4. Mar 18, 2021
    • Walter Lozano's avatar
      Switch to OpenSSL · 7eff05fd
      Walter Lozano authored
      
      To follow the Apertis guidelines, which chooses OpenSSL as TLS stack, switch
      systemd to be build against it.
      
      In the same line drop systemd-journal-remote and its dependency
      libmicrohttpd-dev since it can only be built against GnuTLS but has no value
      for Apertis.
      
      Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
      7eff05fd
  5. Mar 16, 2021
  6. Mar 12, 2021
  7. Mar 09, 2021
  8. Jan 29, 2021
  9. Nov 17, 2020
  10. Nov 01, 2020
  11. Oct 24, 2020
  12. Sep 23, 2020
  13. Sep 03, 2020
  14. May 29, 2020
  15. May 27, 2020
  16. 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)
  17. Mar 30, 2020
  18. 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)
  19. Dec 19, 2019
  20. Dec 16, 2019
  21. Dec 11, 2019
  22. 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)
  23. Sep 12, 2019
  24. 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)
  25. Aug 15, 2019
  26. Aug 12, 2019
Loading