bug#23001: emacs in X has icons missing and throws warnings in tty

2017-11-15 Thread myglc2
Updating this for what I see in guix (GNU Guix) 0.13.0.4589-74bea6

On 03/12/2016 at 19:43 myglc2 writes:

> When running GuixSD on a headless server  ...
>
> ssh
> emacs
>
> ... produces emacs running in X but ...
>
> - all of the menu icons are missing except one ('file drawers')

Icons are all OK now. Yeah!

> - lots of messages are shooting in the tty session (sample below).
[...]

Now only two messages are being generated ...


g1@g1 ~$ emacs
process 27189: D-Bus library appears to be incorrectly
set up; failed to read machine uuid: Failed to open "/etc/machine-id":
No such file or directory See the manual page for dbus-uuidgen to
correct this issue.

** (emacs-25-3:27189): WARNING **: Error retrieving accessibility bus
address: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.a11y.Bus was not provided by any .service files


Attempting to follow the instructions in the first message, I installed
dbus, but I don't see any dbus-uuidgen man page, or any other dbus man
pages.

The second message is referenced in bug#28088 ...

Subject: bug#28088: "The name org.a11y.Bus was not provided by any
.service files" with multiple applications

The messages seem harmless. Perhaps the bug should be downgraded?

Current config:



sys.scm
Description: Binary data


g1-emacs-dbus.scm
Description: Binary data


bug#29312: GRUB with multiple partitions with identical bzImage

2017-11-15 Thread Vagrant Cascadian
I've been exploring GuixSD for the past few days. Very cool! Even if a
little rough around the edges...

Ran into an ugly problem with GRUB being unable to load the initrd, due
to having multiple GuixSD installs on the same machine, with identical
paths for the bzImage files, but not identical paths for initrd files...

Confusingly, when I loaded the kernel+initrd by hand from the grub
commandline, it would work! But that was because I was specifying which
device to load from...


With some help from the folks on #grub on freenode (Thanks to TJ- and
Jordan_U!), we identified it was an issue with the way GRUB was
configured to search for files:

menuentry "GNU with Linux-Libre 4.13.12 (beta)" {
search --file --set 
/gnu/store/q9q8y9rh3jw1qcx6bic1v18qag80z74a-linux-libre-4.13.12/bzImage
linux 
/gnu/store/q9q8y9rh3jw1qcx6bic1v18qag80z74a-linux-libre-4.13.12/bzImage \
  --root=/dev/mapper/cryptic \
  --system=/gnu/store/bsxnm36vvx2wxc9h3q5l8b5286gw75hr-system \
  --load=/gnu/store/bsxnm36vvx2wxc9h3q5l8b5286gw75hr-system/boot \
initrd /gnu/store/7w9dzb6b9vb9gzj61zyqsg4zg6ys4hgb-raw-initrd/initrd
}

I had two partitions, one on (hd0,msdos4) and one on (crypto0) which
both contained
/gnu/store/q9q8y9rh3jw1qcx6bic1v18qag80z74a-linux-libre-4.13.12/bzImage,
and the search command was returning the one on (hd0,msdos4), and thus
setting root (hd0,msdos4).

Unfortunately,
/gnu/store/7w9dzb6b9vb9gzj61zyqsg4zg6ys4hgb-raw-initrd/initrd was only
present on the (crypto0) partition.

So, when it booted, I would get the confusing error message:

  error: file `/gnu/store/7w9dzb6b9vb9gzj61zyqsg4zg6ys4hgb-raw-initrd/initrd' 
not found

And then a kernel panic, as there was no initrd...


The suggestion from the #grub folks was to use a UUID or some other more
reliable method of finding the correct device to load the kernel and
initrd files from.


A quick workaround might be to also add a search line for the initrd
after loading the kernel:

menuentry "GNU with Linux-Libre 4.13.12 (beta)" {
search --file --set 
/gnu/store/q9q8y9rh3jw1qcx6bic1v18qag80z74a-linux-libre-4.13.12/bzImage
linux 
/gnu/store/q9q8y9rh3jw1qcx6bic1v18qag80z74a-linux-libre-4.13.12/bzImage \
  --root=/dev/mapper/cryptic \
  --system=/gnu/store/bsxnm36vvx2wxc9h3q5l8b5286gw75hr-system \
  --load=/gnu/store/bsxnm36vvx2wxc9h3q5l8b5286gw75hr-system/boot \
search --file --set 
/gnu/store/7w9dzb6b9vb9gzj61zyqsg4zg6ys4hgb-raw-initrd/initrd
initrd /gnu/store/7w9dzb6b9vb9gzj61zyqsg4zg6ys4hgb-raw-initrd/initrd
}

I'm not sure this is the best approach, as it could potentially load
kernel+initrd from an untrusted filesystem which may contain a malicious
kernel or initrd that simply matches the file paths...


I'll look into a proper solution at some point, but it'd be fine if
someone beats me to it!


live well,
  vagrant


signature.asc
Description: PGP signature