unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* having trouble modifying guix-daemon
@ 2019-06-26  7:47 Robert Vollmert
  2019-06-27 15:34 ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Robert Vollmert @ 2019-06-26  7:47 UTC (permalink / raw)
  To: guix-devel

Hi,

I’m trying to investigate why guix-daemon appears to spend
a lot of time locking store directories. (It’s possible that
it’s doing useful work and just the debug output is useless.)

To do this, I’ve tried adding some debug statements to the
C++ files in guix/nix/…. I’m having trouble getting those
changes live. My understanding is that committing those
changes to my configured guix channel, then running

$ guix pull

should rebuild the guix client tools from that repository.
That seems to work.

Next,

$ sudo guix system reconfigure

should rebuild the system using that same repository, and
thus pull in the updated guix daemon. That does not seem to
be the case, not even after

$ sudo herd restart guix-daemon

Any hints?

(Relatedly, two areas where it feels the Guix System feels
needlessly confusing:
- root guix vs. user guix (and apparently there’s even a
  system guix in /var/guix/profiles/system/profile/bin/guix:
  does that even get used?
  I’d be tempted to simplify this by going for a rootless
  setup (i.e., you can’t log in to root account, root has no
  home and no profile). Reasons against?
- opaque system status: it’s very hard to figure out what
  configuration and what versions of programs are current. My
  current best attempt is to grep through the output of ps
  and then look at those paths in /gnu/store. This is made
  worse due to the lack of timestamps in /gnu/store, as I
  can’t tell which of the many versions of some package is
  the newest just from looking in /gnu/store. Then, the
  shepherd configuration is very opaque: I have to follow
  through a chain of illegible scheme modules to figure
  out what the current configuration is (and then how do
  I know I’m even looking at the right shepherd config?).)

Robert

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

end of thread, other threads:[~2019-07-11 16:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-26  7:47 having trouble modifying guix-daemon Robert Vollmert
2019-06-27 15:34 ` Ludovic Courtès
2019-06-28  7:19   ` Robert Vollmert
2019-07-01 10:28     ` Ludovic Courtès
2019-07-05 12:02       ` Robert Vollmert
2019-07-05 21:41         ` Ludovic Courtès
2019-07-08  7:44           ` Robert Vollmert
2019-07-11 16:05             ` Ludovic Courtès

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).