Skip to content

v4.2

Latest

Choose a tag to compare

@graysky2 graysky2 released this 07 Nov 11:26
· 0 commits to master since this release

Breaking change: run ccm as your regular user

ccm no longer runs as root. Run ccm, not sudo ccm. It calls sudo itself for the steps that need root: creating, updating and nuking the chroot, building in it, and editing files inside it. Everything else (config, local repo, build log, package signing) runs as you.

  • Remove any alias ccm='sudo ccm'. ccm now refuses to run as root.
  • A sudoers rule that only allowed /usr/bin/ccm no longer works. The user needs regular sudo rights.
  • ccm now honors XDG_CONFIG_HOME. If yours is not ~/.config, move clean-chroot-manager.conf and ccm.slot there.

Fixes

  • The local repo is set up in the chroot's pacman.conf when the chroot is created, so nothing after a build needs sudo.
  • Lock files left in $XDG_RUNTIME_DIR by older root-run versions are replaced automatically, unless an old ccm still holds them.
  • Chroot dirs left unreadable by a restrictive umask are made accessible on startup.
  • The local repo is kept world-readable instead of chowned to the host's alpm group, so pacman's DownloadUser can read it under any umask.

Full Changelog: v4.1...v4.2