unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#72792: error: activate-privileged-programs: unbound variable
@ 2024-08-24 13:36 Roman Scherer
  2024-09-19 13:06 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Roman Scherer @ 2024-08-24 13:36 UTC (permalink / raw)
  To: 72792

[-- Attachment #1: Type: text/plain, Size: 2635 bytes --]


Hello Guix,

with the latest commit on master 

```
root@guix ~# guix describe
Generation 13   Aug 24 2024 13:19:20    (current)
  guix d48af5c
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: d48af5cca84914d44b032d0bf0820640ebbe7a4b
```

I can't reconfigure my system anymore. The variable
activate-privileged-programs seems to be unbound somewhere.

This is the full log from reconfiguring my system:

```
root@guix ~# guix system reconfigure -L src src/asahi/guix/systems/server.scm  --allow-downgrades
The following derivation will be built:
  /gnu/store/d0qilyaaxrdl8ff2n3ll68yls82jxwfw-grub.cfg.drv

building /gnu/store/d0qilyaaxrdl8ff2n3ll68yls82jxwfw-grub.cfg.drv...
/gnu/store/7gvazir1v7fymr4d7p6xzfhv7r22mh81-system
/gnu/store/ryxybcdin64yap6yy5251r0r0p7b1haz-grub.cfg

activating system...
making '/var/guix/profiles/system-31-link' the current system...
Backtrace:
In guix/status.scm:
    839:4 19 (call-with-status-report _ _)
In guix/scripts/system.scm:
   1311:4 18 (_)
In ice-9/boot-9.scm:
  1752:10 17 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   689:37 16 (thunk)
   1330:8 15 (call-with-build-handler _ _)
   1330:8 14 (call-with-build-handler _ _)
   1330:8 13 (call-with-build-handler #<procedure ffff6e989ab0 at g…> …)
  2210:25 12 (run-with-store #<store-connection 256.100 ffff6e997fa0> …)
In guix/scripts/system.scm:
   884:13 11 (_ _)
   788:14 10 (_ _)
In ice-9/boot-9.scm:
    152:2  9 (with-fluid* _ _ _)
In unknown file:
           8 (primitive-load "/gnu/store/456faiiwzb4d79mhiwpswkgx259…")
           7 (primitive-load "/gnu/store/5w1czfglxfvnizjj76x5jz09vwh…")
In ice-9/boot-9.scm:
   260:13  6 (for-each #<procedure primitive-load (_)> _)
In unknown file:
           5 (primitive-load "/gnu/store/7dkzgrc8jdsw03wyv33y95js3if…")
In ice-9/eval.scm:
   182:19  4 (proc #(#<directory (guile-user) ffff8e718c80> "/gnu/…"))
   142:16  3 (compile-top-call #<directory (guile-user) ffff8e718c80> …)
In unknown file:
           2 (%resolve-variable (7 . activate-privileged-programs) #)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
error: activate-privileged-programs: unbound variable
```

In `(gnu services)` the `activate-privileged-programs` function is used
in a gexp and it looks like it is imported from `(gnu system
privilege)`. Shouldn't this function be imported from `(gnu build
activation)` instead?

Roman

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 528 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#72792: error: activate-privileged-programs: unbound variable
  2024-08-24 13:36 bug#72792: error: activate-privileged-programs: unbound variable Roman Scherer
@ 2024-09-19 13:06 ` Ludovic Courtès
  2024-09-19 13:13   ` Roman Scherer
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2024-09-19 13:06 UTC (permalink / raw)
  To: Roman Scherer; +Cc: 72792, Tobias Geerinckx-Rice

Hi Roman,

Roman Scherer <roman.scherer@burningswell.com> skribis:

> with the latest commit on master 
>
> ```
> root@guix ~# guix describe
> Generation 13   Aug 24 2024 13:19:20    (current)
>   guix d48af5c
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: d48af5cca84914d44b032d0bf0820640ebbe7a4b
> ```
>
> I can't reconfigure my system anymore. The variable
> activate-privileged-programs seems to be unbound somewhere.
>
> This is the full log from reconfiguring my system:
>
> ```
> root@guix ~# guix system reconfigure -L src src/asahi/guix/systems/server.scm  --allow-downgrades

[...]

> In guix/scripts/system.scm:
>    884:13 11 (_ _)
>    788:14 10 (_ _)
> In ice-9/boot-9.scm:
>     152:2  9 (with-fluid* _ _ _)
> In unknown file:
>            8 (primitive-load "/gnu/store/456faiiwzb4d79mhiwpswkgx259…")
>            7 (primitive-load "/gnu/store/5w1czfglxfvnizjj76x5jz09vwh…")
> In ice-9/boot-9.scm:
>    260:13  6 (for-each #<procedure primitive-load (_)> _)
> In unknown file:
>            5 (primitive-load "/gnu/store/7dkzgrc8jdsw03wyv33y95js3if…")
> In ice-9/eval.scm:
>    182:19  4 (proc #(#<directory (guile-user) ffff8e718c80> "/gnu/…"))
>    142:16  3 (compile-top-call #<directory (guile-user) ffff8e718c80> …)
> In unknown file:
>            2 (%resolve-variable (7 . activate-privileged-programs) #)
> In ice-9/boot-9.scm:
>   1685:16  1 (raise-exception _ #:continuable? _)
>   1685:16  0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> error: activate-privileged-programs: unbound variable

I did not hit this issue nor did I hear about it recently, so hopefully
this is a solved problem?  Tobias?

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#72792: error: activate-privileged-programs: unbound variable
  2024-09-19 13:06 ` Ludovic Courtès
@ 2024-09-19 13:13   ` Roman Scherer
  0 siblings, 0 replies; 3+ messages in thread
From: Roman Scherer @ 2024-09-19 13:13 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 72792, Tobias Geerinckx-Rice

[-- Attachment #1: Type: text/plain, Size: 2059 bytes --]

Hi Ludo and Tobias, yes, I think the issue has been resolved in the
meantime.

On Thu, Sep 19, 2024, 15:06 Ludovic Courtès <ludo@gnu.org> wrote:

> Hi Roman,
>
> Roman Scherer <roman.scherer@burningswell.com> skribis:
>
> > with the latest commit on master
> >
> > ```
> > root@guix ~# guix describe
> > Generation 13   Aug 24 2024 13:19:20    (current)
> >   guix d48af5c
> >     repository URL: https://git.savannah.gnu.org/git/guix.git
> >     branch: master
> >     commit: d48af5cca84914d44b032d0bf0820640ebbe7a4b
> > ```
> >
> > I can't reconfigure my system anymore. The variable
> > activate-privileged-programs seems to be unbound somewhere.
> >
> > This is the full log from reconfiguring my system:
> >
> > ```
> > root@guix ~# guix system reconfigure -L src
> src/asahi/guix/systems/server.scm  --allow-downgrades
>
> [...]
>
> > In guix/scripts/system.scm:
> >    884:13 11 (_ _)
> >    788:14 10 (_ _)
> > In ice-9/boot-9.scm:
> >     152:2  9 (with-fluid* _ _ _)
> > In unknown file:
> >            8 (primitive-load "/gnu/store/456faiiwzb4d79mhiwpswkgx259…")
> >            7 (primitive-load "/gnu/store/5w1czfglxfvnizjj76x5jz09vwh…")
> > In ice-9/boot-9.scm:
> >    260:13  6 (for-each #<procedure primitive-load (_)> _)
> > In unknown file:
> >            5 (primitive-load "/gnu/store/7dkzgrc8jdsw03wyv33y95js3if…")
> > In ice-9/eval.scm:
> >    182:19  4 (proc #(#<directory (guile-user) ffff8e718c80> "/gnu/…"))
> >    142:16  3 (compile-top-call #<directory (guile-user) ffff8e718c80> …)
> > In unknown file:
> >            2 (%resolve-variable (7 . activate-privileged-programs) #)
> > In ice-9/boot-9.scm:
> >   1685:16  1 (raise-exception _ #:continuable? _)
> >   1685:16  0 (raise-exception _ #:continuable? _)
> >
> > ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> > error: activate-privileged-programs: unbound variable
>
> I did not hit this issue nor did I hear about it recently, so hopefully
> this is a solved problem?  Tobias?
>
> Ludo’.
>

[-- Attachment #2: Type: text/html, Size: 2853 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-19 13:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-24 13:36 bug#72792: error: activate-privileged-programs: unbound variable Roman Scherer
2024-09-19 13:06 ` Ludovic Courtès
2024-09-19 13:13   ` Roman Scherer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).