~ruther/guix-local

3e2bd2e3 — Ludovic Courtès 2 months ago
services: nscd: Cause PID 1 to drop nscd database mappings on shutdown.

Partly fixes guix/guix#4269.

Fixes a bug whereby shepherd (PID 1) could retain memory mappings for
/var/run/nscd/dbXXX, which are created by glibc’s NSS from database file
descriptors sent by nscd.  Those mappings could then prevent
‘root-file-system’ from re-mounting the root file system as read-write.
This change causes PID 1 to drop these mappings.

PID 1 typically calls libc database functions such as ‘getgr’ when dealing
with AF_UNIX endpoints for socket-activated services, to look up the socket’s
owner and group.  This is where the bug would manifest.

The regression may have been introduced by
85ac164c41fc4c93d3cb2a5d3321c63598c2855f, which caused nscd to handle the
password and group databases.

* gnu/services/base.scm (nscd-shepherd-service): In ‘stop’ procedure, call
‘getpw’, ‘getgr’, and ‘getaddrinfo’.
* gnu/tests/base.scm (run-root-unmount-test) <"open libc NSS database">: New
test.
(%test-root-unmount): Add #:imported-modules.

Change-Id: I197cc8c82165c631f857415898137412ce9bd439
Reported-by: Rutherther <rutherther@ditigal.xyz>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #4828
55bf53fe — Tomas Volf 2 months ago
monad-repl: Add "graft?" command.

Grafts are not always required when just exploring in the REPL, and they do
take time, so this commit adds easy way to disable them.

* guix/monad-repl.scm (build-graft): New meta command.
* doc/guix.texi (Using Guix Interactively): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7b9c30de — Ludovic Courtès 2 months ago
environment: Do not attempt to map GID 0 when invoked as root.

* guix/scripts/environment.scm (launch-environment/container): Set ‘gid’ to
1000 when ‘getgid’ returns zero.

Fixes: guix/guix#4234
Reported-by: Maxim Cournoyer <maxim@guixotic.coop>
Change-Id: I781f2939dfd3cda23373d2fa03e288995bce9eb9
0c60cfcd — Giacomo Leidi 2 months ago
gnu: ssh-to-pgp: Update to 1.1.6.

* gnu/packages/golang-crypto.scm (ssh-to-pgp): Update to 1.1.6.

Change-Id: I969517b8289c30ed651dc94901f1b33a5abb3a4a
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
1a19afcd — Nguyễn Gia Phong 2 months ago
gnu: quickswitch-i3: Update to 2.8.0.

* gnu/packages/wm.scm (quickswitch-i3): Update to 2.8.0.
  [home-page]: Update to new upstream.
  [source]: Update URI.  Remove patch.
  [build-system]: Change to pyproject-build-system.
  [native-inputs]: Add python-setuptools.
  [arguments]: Update to modern style.
* gnu/packages/patches/quickswitch-fix-dmenu-check.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Unregister patch.

Change-Id: I9d5f25498b464356590011d2ce49a43e515a8cfb
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
c1aa8762 — Philippe SWARTVAGHER 2 months ago
gnu: sqlitestudio: Update to 3.4.18.

* gnu/packages/databases.scm (sqlitestudio): Update to 3.4.18.

Change-Id: I30046ba50af96d36aae094d41622747ddbe4e838
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
fdb8bdc6 — Sharlatan Hellseher 2 months ago
gnu: python-jupytext: Move to jupyter.

* gnu/packages/python-xyz.scm (python-jupytext): Move from here ...
* gnu/packages/jupyter.scm: ... to here.

Change-Id: I02697361195c0bada08122cecb2dfb16598595cd
011e027d — Ghislain Vaillant 2 months ago
gnu: python-jupytext: Update to 1.18.1.

* gnu/packages/python-xyz.scm (python-jupytext): Update to 1.18.1.
  [arguments]<#:tests-flags>: Update filters.
  [propagated-inputs]: Add python-packaging and python-pyyaml.
  [native-inputs]: Add python-hatchling, python-jupyter-client and
  python-pytest-asyncio. Remove git-minimal, python-gitpython,
  python-ipython-genutils python-pyyaml, python-toml, python-setuptools
  and python-wheel.
  [home-page]: Update URL.

Change-Id: I8096565639b8da3372465c72554af28ade20eead
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
58805ac4 — Hugo Buddelmeijer 2 months ago
gnu: python-pyld: Switch to pyproject-build-system.

* gnu/packages/python-xyz.scm (python-pyld): Switch to pyproject-build-system.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable tests for now.
[propagated-inputs]: Add python-aiohttp and python-requests.
[native-inputs]: Add python-setuptools.

Change-Id: I072f5210a1bbb0e9c3c38747b682cc3fb9ce575c
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
902de847 — Hugo Buddelmeijer 2 months ago
gnu: python-extract-dtb: Switch to pyproject-build-system.

* gnu/packages/python-xyz.scm (python-extract-dtb): Switch to
pyproject-build-system.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Set to false, no tests.
[native-inputs]: Add python-setuptools.

Change-Id: I5ef5ecee569c66415e2354a2104f764e3bcae886
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
59d5a2da — Hugo Buddelmeijer 2 months ago
gnu: python-poyo: Switch to pyproject-build-system.

* gnu/packages/python-xyz.scm (python-poyo): Switch to pyproject-build-system.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest and python-setuptools.

Change-Id: I8dd95bb1f84b4ff98e640d730fd4ec6a4270c78d
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
cab92463 — Hugo Buddelmeijer 2 months ago
gnu: python-argparse-addons: Update to 0.12.0.

* gnu/packages/python-xyz.scm (python-argparse-addons): Update to 0.12.0.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest and python-setuptools.

Change-Id: I779fc2731c7dd3e184676823945fcceb9dabadf1
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
7ee70d09 — Sharlatan Hellseher 2 months ago
gnu: img2pdf: Switch to pyproject, disable tests.

* gnu/packages/pdf.scm (img2pdf):
[arguments] <tests?>: Disable for now.
[propagated-inputs]: Move from here ...
[inputs]: ... to here.
[native-inputs]: Add python-setuptools.

Change-Id: I4dbf9f469bafd020a20e3a180b6ebc456981583e
3516819a — Grigory Shepelev 3 months ago
gnu: Add emacs-magit-delta.

* gnu/packages/emacs-xyz.scm (emacs-magit-delta): New variable.

Change-Id: If21f353723e72ef86ba9e847efaf6af2f6d9d686
Modified-by: Cayetano Santos <csantosb@inventati.org>
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
b7dc8aea — Sharlatan Hellseher 2 months ago
gnu: udiskie: Improve package, fix build.

* gnu/packages/freedesktop.scm (udiskie): Use G-Expressions.
[source]: Switch to git-fetch providing tests.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-backend, test-flags>: Use custom.
<phases>: Add 'fix-entry-points; 'wrap-gi-typelib move after wrap.
[inputs]: Add python-docopt, python-keyutils, python-pygobject,
python-pyxdg, and python-pyyaml.
[propagated-inputs]: Remove python-docopt, python-pygobject,
python-keyutils, python-pyxdg, and python-pyyaml.
[native-inputs]: Add python-setuptools.

Fixes: guix/guix#4920
Change-Id: Ie29f7bfdef7465d58799cb189483ccc264681fbe
71c44289 — Ghislain Vaillant 2 months ago
gnu: emacs-jupyter: Update to 1.0-3.de89cbe.

* gnu/packages/emacs-xyz.scm (emacs-jupyter): Update to 1.0-3.de89cbe.
[source]: Update git repository URL.
[home-page]: Update.

Change-Id: I11beaa374dbdd298607e6573f7c61f3f88488306
Modified-by: Cayetano Santos <csantosb@inventati.org>
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
gnu: chafa: Update to 1.18.0.

* gnu/packages/image-viewers.scm (chafa): Update to 1.18.0.

Change-Id: I744618bbcb563f8225bb3a633fd267371ae7d1dc
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
55b4d55b — Sergey Trofimov 2 months ago
gnu: python-clickgen: Update to 2.2.5.

* gnu/packages/python-xyz.scm (python-clickgen): Update to 2.2.5.
[source]: Fetch from git.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Ignore broken test.
[inputs]: Remove libx11, libpng, and libxcursor.
[propagated-inputs]: Add python-pyyaml.
[native-inputs]: Remove python-wheel; add python-pytest, and
python-setuptools.

Change-Id: Icb0ba11d9b542f38a02c7ab9262d146cbff329ef
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
be8bbdd2 — Nguyễn Gia Phong 2 months ago
teams: Add entry for Nguyễn Gia Phong

* etc/teams.scm ("Nguyễn Gia Phong"): New member.

Change-Id: I3492513cb136e500f9798e31bd938feecaaddb48
Reviewed-by: Maxim Cournoyer <maxim@guixotic.coop>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
625ed931 — Nguyễn Gia Phong 2 months ago
Update Nguyễn Gia Phong's new email address.

* .mailmap: New entry.

Change-Id: I839ba6c7be463c5b59c7e68247ae5e46d2ceeeaf
Reviewed-by: Maxim Cournoyer <maxim@guixotic.coop>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Next