1. 09 Jan, 2018 1 commit
  2. 03 Jan, 2018 1 commit
    • Timo Teräs's avatar
      db: fix triggers to report deleted directories · b0fcc56f
      Timo Teräs authored
      This change just changes to keep deleted directory items in
      the hash with ref count zero and modified flag set. Those entries
      are reused when needed. The side effect is that fire_triggers()
      will now see those removed direcotries and reports them. Other
      enumerators of the directories hash are protected to skip removed
      directories when appropriate.
      b0fcc56f
  3. 17 Apr, 2015 1 commit
    • Timo Teräs's avatar
      make file install errors non-fatal, and xattr errors hidden · 90e76033
      Timo Teräs authored
      user xattrs on tmpfs are not supported no non-grsec kernels,
      and many times root fs is mounted without user_xattr. Thus
      to allow things to go smoothly on non-grsec kernels xattr
      unsupported errors are now hidden.
      
      xattrs can be fixed still now with "apk fix --xattrs"
      90e76033
  4. 08 Dec, 2014 1 commit
  5. 08 Oct, 2014 1 commit
  6. 07 Oct, 2014 1 commit
    • Timo Teräs's avatar
      db: rework directory permission handling · 09e48d8f
      Timo Teräs authored
      Apk used to reset directory permissions always, but this is undesirable
      if user has modified the permissions - especially during tmpfs boot.
      Though, it is desirable to update the permissions when packaging has
      changed permissions, or a new package is installed and the merged
      permission mask / owner changes.
      
      Thus the new code updates the permissions only if:
       1) We are booting and directory is not in apkovl
       2) The directory is modified by a package install/remove/upgrade
       3) The filesystem directory permission matched database
      
      Additionally "apk fix --directory-permissions" can be used to reset
      all directory permissions to the database defaults.
      
      Fixes #2966
      09e48d8f
  7. 28 Jun, 2013 1 commit
  8. 20 Jun, 2013 1 commit
  9. 19 Jun, 2013 1 commit
  10. 18 Jun, 2013 2 commits
  11. 13 Jun, 2013 1 commit
  12. 24 Feb, 2012 1 commit
  13. 23 Feb, 2012 1 commit
    • Timo Teräs's avatar
      audit, db: add etc/apk/protected_files.d and new audit features · ba3ee3f8
      Timo Teräs authored
      fixes #607.
      
      audit is now mostly rewritten for the new functionality. And
      has new features like --check-permissions, --recursive and
      --packages.
      
      $ROOT/etc/apk/protected_files.d/*.list can now contain additional
      protected paths, one path per line:
      
      +etc
      @etc/init.d
      -tmp
      
      + will include the directory as protected configuration directory.
      @ considers the directory protected, but will backup only symlinks.
      - removes any protection
      
      lbu should be modified to put include and exclude paths in
      etc/apk/protected_files.d/lbu.list. Additionally, some packages
      might provide their own listings.
      
      E.g. ssh might want to provide ssh.list with something like:
      +root/.ssh
      +home/*/.ssh
      ba3ee3f8
  14. 10 Feb, 2012 1 commit
  15. 16 Sep, 2011 1 commit
    • Timo Teräs's avatar
      solver: inheritable solver flags · 51999c97
      Timo Teräs authored
      allow per-name solver flags to be inheritable, and use them in
      self-upgrade, add -u  and the fix applet. this gives more familiar
      behaviour for the upgrades.
      51999c97
  16. 13 Sep, 2011 2 commits
  17. 09 Sep, 2011 1 commit
  18. 30 Mar, 2011 1 commit
  19. 11 Jun, 2010 1 commit
  20. 05 Jun, 2010 1 commit
    • Timo Teräs's avatar
      all: rework how arrays work · 7be853e6
      Timo Teräs authored
      Instead of having a null pointer, use a dummy array which just
      says the array is empty. This helps in multiple places of the code
      which would otherwise need explicitly need to check first if the
      array exists. This has been cause of multiple seg.faults in the
      past as the array check is easily omitted.
      
      This also removes (or fixes) all existing checks accordingly.
      7be853e6
  21. 01 Jun, 2010 1 commit
  22. 17 Aug, 2009 1 commit
  23. 13 Aug, 2009 1 commit
  24. 12 Aug, 2009 1 commit
  25. 06 Aug, 2009 1 commit
  26. 04 Aug, 2009 1 commit