Skip to content
Snippets Groups Projects
  1. Oct 29, 2024
  2. Aug 20, 2024
  3. Aug 08, 2024
  4. Jun 24, 2024
  5. Feb 07, 2024
    • awilliam1's avatar
      Revert "Use upstream sysusers configuration" · 8dd55415
      awilliam1 authored
      This reverts commit 8d38ba49.
      It doesn't work, because of a chicken-and-egg problem: we need
      to create the user account in %pre, but the configuration file
      is obviously not present on the filesystem when %pre runs.
      
      This is a fairly well-known gotcha that's been discussed on
      devel@ a few times, e.g.:
      
      https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/EXUGSSEMY2MVVGOFZIK4NBMQB5PWWWNG
      https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/HFAB4HY2J66367V5HR7XSCFGIIV5ZOVY
      
      In the second thread, Rathann and zbyszek recommend using
      tmpfiles.d snippets for this kind of purpose (needing something
      in /var owned by a user you want to have created by sysusers),
      but that's a bit more of a complex change, so I think it makes
      sense to just revert first then maybe attempt that later.
      
      This causes a practical problem: on current Rawhide Workstation
      live the first two steps of g-i-s are repeated on first boot
      after install. The way we try to avoid this is by having
      /var/lib/gnome-initial-setup/state copied to the installed
      system, but because of this problem, /var/lib/gnome-initial-setup
      is owned by root.root and g-i-s cannot write to it, so the file
      is not there to be copied.
      
      Note I edited the reversion not to add back the line:
      BuildRequires:  gnome-desktop4 >= %{gnome_desktop_version}
      because it looks like the removal of that line wasn't really a
      part of this sysusers change. I also added a comment warning
      that this problem needs to be handled if anyone attempts to
      convert to sysusers again.
      8dd55415
  6. Jan 22, 2024
  7. Jan 19, 2024
  8. Jan 18, 2024
  9. Jan 17, 2024
  10. Sep 19, 2023
  11. Sep 11, 2023
  12. Sep 09, 2023
  13. Sep 08, 2023
  14. Sep 07, 2023
  15. Aug 28, 2023
  16. Aug 26, 2023
  17. Aug 21, 2023
  18. Aug 07, 2023
  19. Jul 19, 2023
  20. Mar 23, 2023
  21. Mar 17, 2023
  22. Mar 09, 2023
  23. Mar 04, 2023
  24. Feb 22, 2023
  25. Feb 15, 2023
  26. Feb 06, 2023
  27. Feb 01, 2023
  28. Jan 21, 2023
  29. Jan 19, 2023
  30. Dec 06, 2022
  31. Dec 05, 2022
Loading