home: services: Add log rotation service. * gnu/home/services/admin.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Shepherd Home Service): Document it. Change-Id: I37ac171147c236b05d6d3b226e9072ab7524dfe9
services: rottlog: Deprecate. * gnu/services/admin.scm (rottlog-service-type): Deprecate. * doc/guix.texi (Log Rotation): Add deprecation warning. Change-Id: I661666ff3de64a69ff4f4982d7f432fd575c36df
services: Switch from mcron + Rottlog to Shepherd’s log rotation. * gnu/services/admin.scm (unattended-upgrade-log-rotations): Remove. (unattended-upgrade-service-type): Remove ‘rottlog-service-type’ extension. * gnu/services/audio.scm (mpd-log-rotation): Remove. (mpd-service-type): Remove ‘rottlog-service-type’ extension. (mympd-log-rotation): Remove. (mympd-service-type): Remove rottlog-service-type’ extension. * gnu/services/base.scm (%guix-publish-log-rotations): Remove. (guix-publish-service-type): Remove ‘rottlog-service-type’ extension. (%base-services): Instantiate ‘log-rotation-service-type’ instead of ‘rottlog-service-type’. (%default-syslog-files): New variable. (syslog-service-type): Extend ‘log-rotation-service-type’. * gnu/services/cuirass.scm (cuirass-log-rotations): Remove. (cuirass-service-type): Remove ‘rottlog-service-type’ extension. (cuirass-remote-worker-log-rotations): Remove. (cuirass-remote-worker-service-type): Remove ‘rottlog-service-type’ extension. * gnu/services/file-sharing.scm (%transmission-daemon-log-rotations): Remove. (transmission-daemon-service-type): Remove ‘rottlog-service-type’ extension. * gnu/services/linux.scm (%earlyoom-log-rotation): Remove. (earlyoom-service-type): Remove ‘rottlog-service-type’ extension. * gnu/services/networking.scm (%ntp-log-rotation): Remove. (ntp-service-type): Remove ‘rottlog-service-type’ extension. (openntpd-service-type): Likewise. (%connman-log-rotation): Remove. (connman-service-type): Remove ‘rottlog-service-type’ extension. (%hostapd-log-rotation): Remove. (hostapd-service-type): Remove ‘rottlog-service-type’ extension. (%pagekite-log-rotation): Remove. (pagekite-service-type): Remove ‘rottlog-service-type’ extension. (%yggdrasil-log-rotation): Remove. (yggdrasil-service-type): Remove ‘rottlog-service-type’ extension. (%ipfs-log-rotation): Remove. (ipfs-service-type): Remove ‘rottlog-service-type’ extension. (%keepalived-log-rotation): Remove. (keepalived-service-type): Remove ‘rottlog-service-type’ extension. * gnu/services/web.scm (%hpcguix-web-log-rotations): Remove. (hpcguix-web-service-type): Remove ‘rottlog-service-type’ extension. (%mumi-log-rotations): Remove. (mumi-service-type): Remove ‘rottlog-service-type’ extension. * doc/guix.texi (Log Rotation): Adjust text regarding which one is in ‘%base-services’. Change-Id: I8802d4c2337a1e08e3c084d6217f76527d7ee1fb
services: unattended-upgrade: Rewrite as a Shepherd timer. This is a semi-incompatible change: gexps previously provided in the ‘schedule’ field will no longer work. * gnu/services/admin.scm (unattended-upgrade-mcron-jobs): Rename to… (unattended-upgrade-shepherd-services): … this. Return a list of one Shepherd service. Remove custom logging and time limitation facilities from ‘code’. (unattended-upgrade-service-type): Extend ‘shepherd-root-service-type’ instead of ‘mcron-service-type’. (<unattended-upgrade-configuration>)[services-to-restart]: Change default. * doc/guix.texi (Unattended Upgrades): Adjust ‘schedule’ and ‘services-to-restart’ documentation. Change-Id: I1b239c5946e71cf9e2af9b24fe4b01366b57fb7a
services: log-cleanup: Rewrite as a Shepherd timer. This is a semi-incompatible change: gexps previously provided in the ‘schedule’ field will no longer work. * gnu/services/admin.scm (log-cleanup-mcron-jobs): Remove. (log-cleanup-shepherd-services): New procedure. (log-cleanup-service-type): Extend SHEPHERD-ROOT-SERVICE-TYPE instead of MCRON-SERVICE-TYPE. * doc/guix.texi (Log Rotation): Adjust ‘schedule’ documentation accordingly. Change-Id: I2a3beb7dffbc9992b714a29423674db9c7dc6cab
services: Add ‘log-rotation-service-type’. * gnu/services/admin.scm (%default-log-rotation-calendar-event): New variable. (<log-rotation-configuration>): New record type. (log-rotation-shepherd-services): New procedure. (log-rotation-service-type): New variable. Change-Id: I4400035f3b6065ec147ac932110b690120d739c2
system: Add zstd to ‘%base-packages’. This is particularly useful now that log files are going to be zstd-compressed by default, among other uses of zstd. * gnu/system.scm (%base-packages-utils): Add ‘zstd’. Change-Id: I766791fea3bc3fca2519a7cd6ac472550be386dd
gnu: shepherd@1.0: Add dependency on gzip and zstd. * gnu/packages/admin.scm (shepherd-1.0)[arguments]: New field. [inputs]: New field. Change-Id: If21f876bbf3fba933a8d997a95db91b961adfca3
gnu: yt-dlp: Update to 2025.01.15. * gnu/packages/video.scm (yt-dlp): Update to 2024.12.23. Change-Id: I61444694f016e865a6163fb42603e422b9815c7d Signed-off-by: Leo Famulari <leo@famulari.name>
gnu: Add python-pathspec. * gnu/packages/python-xyz.scm (python-pathspec): New variable. Change-Id: I8576103866117aa46ef3d5fc7274926b8a4878d9
gnu: viewnior: Support image formats out of the box. * gnu/packages/image-viewers.scm (viewnior) [inputs]: Add 'webp-pixbuf-loader' for WebP support. [arguments]: Enable 'glib-or-gtk?' to make available GDK_PIXBUF_MODULE_FILE. Wrap viewnior to use it instead of the image loaders installed by the user. Fixes: <https://issues.guix.gnu.org/63427> Change-Id: I86b7c2845af2fc1d3fdf4032b2208493a6868546
gnu: Add r-rpanglaodb. * gnu/packages/cran.scm (r-rpanglaodb): New variable. Change-Id: I526a9bc52b77c97c3c85fbe4fd235cb53254495c Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
gnu: gcide: Update to 0.54. * gnu/packages/dictionaries.scm (gcide): Update to 0.54. Change-Id: Id5444ac5b36be1b368b88572745166fd9c96b72f
gnu: doxygen: Remove now unnecessary Hurd patch. * gnu/packages/documentation.scm (doxygen)[arguments]: Remove ‘apply-patch’ phase. * gnu/packages/patches/doxygen-hurd.patch: Remove. * gnu/local.mk (dist_patch_DATA): Remove it. Reported-by: yelninei Change-Id: Ifa5eca19e0504b9c5df1f7a57c4d5c355049a41f
gnu: libgpg-error: Remove now unnecessary x86_64-gnu patch. * gnu/packages/gnupg.scm (libgpg-error)[arguments]: Remove ‘apply-hurd64-patch’ phases. * gnu/packages/patches/libgpg-error-hurd64.patch: Remove. * gnu/local.mk (dist_patch_DATA): Remove it. Reported-by: yelninei Change-Id: I2c5a5c19ba673f7d8946f755207fc260b7d452b9
services: dns: Minor cleanup of unbound service. In #68757, v3 instead of v4 of the patchset was committed by accident. This patch revives the (minor) changes made in the v4. * gnu/service/dns.scm: Remove exports of no longer existing names. (unbound-service-type): Fix at typo (unbound -> Unbound). (unbound-shepherd-service): Run after user processes. (unbound-account-service): Determine shell based on shadow package. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
services: Add xe-guest-utilities-service-type. * gnu/services/virtualization.scm (xe-guest-utilities-configuration, xe-guest-utilities-service-type): New variables. * doc/guix.texi: Document them. Change-Id: Ife4e79fa6d1a9d5a21bf7479488884f2a5cf8d56 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Add xe-guest-utilities. * gnu/packages/virtualization.scm (xe-guest-utilities): Init at 8.4.0 Change-Id: I4daf19dc1964be00554e1c598ef88897081f5d52 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: gp2c: Update to 0.0.14. * gnu/packages/algebra.scm (gp2c): Update to 0.0.14. Change-Id: Ia45f9fae34f0a63a434ab5f7120cf1fba943161b
gnu: pari-gp: Update to 2.17.0. * gnu/packages/algebra.scm (pari-gp): Update to 2.17.0. * gnu/packages/patches/pari-gp-qfcvp.patch: New file. * gnu/local.mk (dist_patch_DATA): Register patch. Change-Id: If0ea83651ae7aa4cb5de61dfaa5ec2b11051eaab