guix/patches/gnu/tests/base.scm, branch base-for-series-2618 Guix http://git.cbaines.net/guix/patches/atom?h=base-for-series-2618 2019-06-24T15:50:08Z tests: Import (guix build utils) in the marionette. 2019-06-24T15:50:08Z Ludovic Courtès ludo@gnu.org 2019-06-23T21:48:07Z urn:sha1:f9d55c4925c69473ca85ecaff6e223767e690550 * gnu/tests/install.scm (%minimal-os)[marionette-configuration](imported-modules): Add (guix build utils). * gnu/tests/base.scm (run-basic-test)["skeletons in home directories"]: Use (guix build utils) explicitly. tests: Skip unreliable "herd invalidate nscd" test. 2019-05-15T10:18:51Z Ludovic Courtès ludo@gnu.org 2019-05-15T10:14:58Z urn:sha1:33572a36624aa1c5cca409cfee36eb67982f4891 * gnu/tests/base.scm (run-basic-test)["nscd invalidate action, wrong table"]: Skip unconditionally. tests: 'getlogin' test creates its file atomically. 2019-05-15T10:18:51Z Ludovic Courtès ludo@gnu.org 2019-05-15T10:09:48Z urn:sha1:8b310793d2b7d3cf5b3a5301423640dcf68e2528 Previously we could end up reading an empty /root/login-id file. * gnu/tests/base.scm (run-basic-test)["getlogin on tty1"]: Create /root/login-id atomically. services: Log-in services now require "pam_loginuid". 2019-05-09T10:11:36Z Ludovic Courtès ludo@gnu.org 2019-05-09T10:02:20Z urn:sha1:e6b1a2248ff164e14d1b2f495224faf8a8326142 Fixes <https://bugs.gnu.org/35553>. Reported by Bruno Haible <bruno@clisp.org>. * gnu/services/base.scm (login-pam-service): Pass #:login-uid? #t to 'unix-pam-service'. * gnu/services/ssh.scm (lsh-pam-services, openssh-pam-services): Likewise. * gnu/services/xorg.scm (slim-pam-service): Likewise. (gdm-pam-service): Likewise for "gdm-autologin" and "gdm-password". * gnu/tests/base.scm (run-basic-test)["getlogin on tty1"]: New test. * gnu/tests/ssh.scm (run-ssh-test): Add #:test-getlogin? parameter. ["getlogin"]: New test. (%test-dropbear): Pass #:test-getlogin? #f. activation: Shared system home directories are now 555 and root-owned. 2019-03-08T22:21:59Z Ludovic Courtès ludo@gnu.org 2019-03-08T21:48:04Z urn:sha1:d429878daf3e3eb21660ed80934b1d4b0603f6e1 Fixes <https://bugs.gnu.org/34788>. Reported by Jack Hill <jackhill@jackhill.us>. Regression introduced by the combination of 8bb76f3d44c1f5ffec8011819494db306a51d801 and 0ae735bcc8ff7fdc89d67b492bdee9091ee19e86: /var/empty would be 700 and owned by one of the system accounts (thus inaccessible to others), and /var/run/dbus would be 700 as well, thereby preventing D-Bus clients from connecting to the daemon. * gnu/build/activation.scm (duplicates): New procedure. (activate-users+groups)[system-accounts]: New variable. Use it. Make shared system account home directories #o555 and root-owned. * gnu/services/dbus.scm (dbus-activation): Make /var/run/dbus #o755. * gnu/tests/base.scm (run-basic-test): Test the ownership and permissions of /var/empty. tests: Use non-deprecated (guix store) API. 2019-03-04T14:22:58Z Ludovic Courtès ludo@gnu.org 2019-03-04T11:22:54Z urn:sha1:ba926e35341c355fbfaf51d074269982a1e1ad8d This is a followup to f9e8a12379c6fefc9e5c3c7fc3926599bbefc013. * gnu/tests/base.scm (run-basic-test)["/run/current-system is a GC root"]: Use 'store-protocol-error?' instead of 'nix-protocol-error?'. services: avahi: Deprecate the 'avahi-service' procedure. 2019-01-16T13:07:37Z Ludovic Courtès ludo@gnu.org 2019-01-16T10:18:34Z urn:sha1:2e04ab7147948b51d4e437ca9ba910530ac2a788 * gnu/services/avahi.scm (<avahi-configuration>): Export getters. Add default values. (avahi-service-type)[default-value]: New field. (avahi-service): Mark as deprecated. * gnu/services/desktop.scm (%desktop-services): Use the 'service' form instead of calling 'avahi-service'. * gnu/tests/base.scm (%avahi-os): Likewise. * doc/guix.texi (Base Services): Adjust example accordingly. (Networking Services): Update accordingly. services: Deprecate a few more service procedures. 2019-01-11T11:14:38Z Ludovic Courtès ludo@gnu.org 2019-01-10T22:33:36Z urn:sha1:84a2de36a10dc2ab80f86e16721cbd228c85279e These procedures were already either undocumented (and de facto deprecated) or documented as deprecated or redundant. * gnu/services/base.scm (guix-service, guix-publish-service): Mark as deprecated. * gnu/services/mcron.scm (mcron-service): Likewise. * gnu/services/networking.scm (tor-service): Likewise. * doc/guix.texi (Scheduled Job Execution): Remove 'mcron-service' and adjust example. (Networking Services): Remove 'tor-service'. * gnu/tests/base.scm (%mcron-os): Use 'mcron-service-type' instead of 'mcron-service'. * gnu/tests/networking.scm (%tor-os): Use 'tor-service-type' instead of 'tor-service'. * tests/guix-system.sh: Likewise. file-systems: Spawn a REPL only when interaction is possible. 2018-12-18T15:04:26Z Ludovic Courtès ludo@gnu.org 2018-12-18T13:51:56Z urn:sha1:6ea6e1476ff4a18d4b4b864c3065d18ed99c69af Fixes <https://bugs.gnu.org/23697>. Reported by Jan Nieuwenhuizen <janneke@gnu.org>. * gnu/build/file-systems.scm (check-file-system): Call 'start-repl' only if current-input-port passes 'isatty?'. * gnu/services/shepherd.scm (shepherd-configuration-file): After 'for-each' expression, call 'redirect-port'. * gnu/tests/base.scm (run-basic-test)["stdin is /dev/null"]: New test. activation: Aways pass '-d HOME' to 'useradd'. 2018-11-18T22:37:25Z Ludovic Courtès ludo@gnu.org 2018-11-18T22:34:19Z urn:sha1:b297934437932de730432629b361fcb422accbb7 Fixes <https://bugs.gnu.org/33422>. Reported by fps. * gnu/build/activation.scm (add-user): Always pass "-d HOME" when HOME is true. Pass "--create-home" only when HOME, CREATE-HOME?, and SYSTEM? are true. (activate-users+groups): Pass #:create-home? create-home? to 'ensure-user'. * gnu/tests/base.scm (run-basic-test)["accounts"]: Test 'passwd:dir' as well.
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<feed xmlns="http://www.w3.org/2005/Atom">
<title>guix/patches/gnu/tests/base.scm, branch base-for-series-2618</title>
<subtitle>Guix</subtitle>
<id>http://git.cbaines.net/guix/patches/atom?h=base-for-series-2618</id>
<link rel="self" href="http://git.cbaines.net/guix/patches/atom?h=base-for-series-2618"/>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/guix/patches/"/>
<updated>2019-06-24T15:50:08Z</updated>
<entry>
<title>tests: Import (guix build utils) in the marionette.</title>
<updated>2019-06-24T15:50:08Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-23T21:48:07Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/guix/patches/commit/?id=f9d55c4925c69473ca85ecaff6e223767e690550"/>
<id>urn:sha1:f9d55c4925c69473ca85ecaff6e223767e690550</id>
<content type="text"> * gnu/tests/install.scm (%minimal-os)[marionette-configuration](imported-modules): Add (guix build utils). * gnu/tests/base.scm (run-basic-test)["skeletons in home directories"]: Use (guix build utils) explicitly. </content>
</entry>
<entry>
<title>tests: Skip unreliable "herd invalidate nscd" test.</title>
<updated>2019-05-15T10:18:51Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-15T10:14:58Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/guix/patches/commit/?id=33572a36624aa1c5cca409cfee36eb67982f4891"/>
<id>urn:sha1:33572a36624aa1c5cca409cfee36eb67982f4891</id>
<content type="text"> * gnu/tests/base.scm (run-basic-test)["nscd invalidate action, wrong table"]: Skip unconditionally. </content>
</entry>
<entry>
<title>tests: 'getlogin' test creates its file atomically.</title>
<updated>2019-05-15T10:18:51Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-15T10:09:48Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/guix/patches/commit/?id=8b310793d2b7d3cf5b3a5301423640dcf68e2528"/>
<id>urn:sha1:8b310793d2b7d3cf5b3a5301423640dcf68e2528</id>
<content type="text"> Previously we could end up reading an empty /root/login-id file. * gnu/tests/base.scm (run-basic-test)["getlogin on tty1"]: Create /root/login-id atomically. </content>
</entry>
<entry>
<title>services: Log-in services now require "pam_loginuid".</title>
<updated>2019-05-09T10:11:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-09T10:02:20Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/guix/patches/commit/?id=e6b1a2248ff164e14d1b2f495224faf8a8326142"/>
<id>urn:sha1:e6b1a2248ff164e14d1b2f495224faf8a8326142</id>
<content type="text"> Fixes <https://bugs.gnu.org/35553>. Reported by Bruno Haible <bruno@clisp.org>. * gnu/services/base.scm (login-pam-service): Pass #:login-uid? #t to 'unix-pam-service'. * gnu/services/ssh.scm (lsh-pam-services, openssh-pam-services): Likewise. * gnu/services/xorg.scm (slim-pam-service): Likewise. (gdm-pam-service): Likewise for "gdm-autologin" and "gdm-password". * gnu/tests/base.scm (run-basic-test)["getlogin on tty1"]: New test. * gnu/tests/ssh.scm (run-ssh-test): Add #:test-getlogin? parameter. ["getlogin"]: New test. (%test-dropbear): Pass #:test-getlogin? #f. </content>
</entry>
<entry>
<title>activation: Shared system home directories are now 555 and root-owned.</title>
<updated>2019-03-08T22:21:59Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-08T21:48:04Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/guix/patches/commit/?id=d429878daf3e3eb21660ed80934b1d4b0603f6e1"/>
<id>urn:sha1:d429878daf3e3eb21660ed80934b1d4b0603f6e1</id>
<content type="text"> Fixes <https://bugs.gnu.org/34788>. Reported by Jack Hill <jackhill@jackhill.us>. Regression introduced by the combination of 8bb76f3d44c1f5ffec8011819494db306a51d801 and 0ae735bcc8ff7fdc89d67b492bdee9091ee19e86: /var/empty would be 700 and owned by one of the system accounts (thus inaccessible to others), and /var/run/dbus would be 700 as well, thereby preventing D-Bus clients from connecting to the daemon. * gnu/build/activation.scm (duplicates): New procedure. (activate-users+groups)[system-accounts]: New variable. Use it. Make shared system account home directories #o555 and root-owned. * gnu/services/dbus.scm (dbus-activation): Make /var/run/dbus #o755. * gnu/tests/base.scm (run-basic-test): Test the ownership and permissions of /var/empty. </content>
</entry>
<entry>
<title>tests: Use non-deprecated (guix store) API.</title>
<updated>2019-03-04T14:22:58Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-04T11:22:54Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/guix/patches/commit/?id=ba926e35341c355fbfaf51d074269982a1e1ad8d"/>
<id>urn:sha1:ba926e35341c355fbfaf51d074269982a1e1ad8d</id>
<content type="text"> This is a followup to f9e8a12379c6fefc9e5c3c7fc3926599bbefc013. * gnu/tests/base.scm (run-basic-test)["/run/current-system is a GC root"]: Use 'store-protocol-error?' instead of 'nix-protocol-error?'. </content>
</entry>
<entry>
<title>services: avahi: Deprecate the 'avahi-service' procedure.</title>
<updated>2019-01-16T13:07:37Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-16T10:18:34Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/guix/patches/commit/?id=2e04ab7147948b51d4e437ca9ba910530ac2a788"/>
<id>urn:sha1:2e04ab7147948b51d4e437ca9ba910530ac2a788</id>
<content type="text"> * gnu/services/avahi.scm (<avahi-configuration>): Export getters. Add default values. (avahi-service-type)[default-value]: New field. (avahi-service): Mark as deprecated. * gnu/services/desktop.scm (%desktop-services): Use the 'service' form instead of calling 'avahi-service'. * gnu/tests/base.scm (%avahi-os): Likewise. * doc/guix.texi (Base Services): Adjust example accordingly. (Networking Services): Update accordingly. </content>
</entry>
<entry>
<title>services: Deprecate a few more service procedures.</title>
<updated>2019-01-11T11:14:38Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-10T22:33:36Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/guix/patches/commit/?id=84a2de36a10dc2ab80f86e16721cbd228c85279e"/>
<id>urn:sha1:84a2de36a10dc2ab80f86e16721cbd228c85279e</id>
<content type="text"> These procedures were already either undocumented (and de facto deprecated) or documented as deprecated or redundant. * gnu/services/base.scm (guix-service, guix-publish-service): Mark as deprecated. * gnu/services/mcron.scm (mcron-service): Likewise. * gnu/services/networking.scm (tor-service): Likewise. * doc/guix.texi (Scheduled Job Execution): Remove 'mcron-service' and adjust example. (Networking Services): Remove 'tor-service'. * gnu/tests/base.scm (%mcron-os): Use 'mcron-service-type' instead of 'mcron-service'. * gnu/tests/networking.scm (%tor-os): Use 'tor-service-type' instead of 'tor-service'. * tests/guix-system.sh: Likewise. </content>
</entry>
<entry>
<title>file-systems: Spawn a REPL only when interaction is possible.</title>
<updated>2018-12-18T15:04:26Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-12-18T13:51:56Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/guix/patches/commit/?id=6ea6e1476ff4a18d4b4b864c3065d18ed99c69af"/>
<id>urn:sha1:6ea6e1476ff4a18d4b4b864c3065d18ed99c69af</id>
<content type="text"> Fixes <https://bugs.gnu.org/23697>. Reported by Jan Nieuwenhuizen <janneke@gnu.org>. * gnu/build/file-systems.scm (check-file-system): Call 'start-repl' only if current-input-port passes 'isatty?'. * gnu/services/shepherd.scm (shepherd-configuration-file): After 'for-each' expression, call 'redirect-port'. * gnu/tests/base.scm (run-basic-test)["stdin is /dev/null"]: New test. </content>
</entry>
<entry>
<title>activation: Aways pass '-d HOME' to 'useradd'.</title>
<updated>2018-11-18T22:37:25Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-11-18T22:34:19Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/guix/patches/commit/?id=b297934437932de730432629b361fcb422accbb7"/>
<id>urn:sha1:b297934437932de730432629b361fcb422accbb7</id>
<content type="text"> Fixes <https://bugs.gnu.org/33422>. Reported by fps. * gnu/build/activation.scm (add-user): Always pass "-d HOME" when HOME is true. Pass "--create-home" only when HOME, CREATE-HOME?, and SYSTEM? are true. (activate-users+groups): Pass #:create-home? create-home? to 'ensure-user'. * gnu/tests/base.scm (run-basic-test)["accounts"]: Test 'passwd:dir' as well. </content>
</entry>
</feed>