all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Howard <christopher@librehacker.com>
To: Sarah Morgensen <iskarian@mgsn.dev>
Cc: 49233@debbugs.gnu.org
Subject: bug#49233: gmnisrv: missing mime.types
Date: Fri, 23 Jul 2021 08:41:25 -0800	[thread overview]
Message-ID: <efaa733e9df8cbaab0876106d47f89af77893444.camel@librehacker.com> (raw)
In-Reply-To: <86a6mdqweo.fsf@mgsn.dev>

Thank you. I am currently use agate, but I might give gmnisrv another
try after the patch makes it into master.

-----Original Message-----
From: Sarah Morgensen <iskarian@mgsn.dev>
To: Christopher Howard <christopher@librehacker.com>
Cc: 49233@debbugs.gnu.org
Subject: Re: bug#49233: gmnisrv: missing mime.types
Date: Fri, 23 Jul 2021 01:14:39 -0700

Hello,

Christopher Howard <christopher@librehacker.com> writes:

> Hi, I am trying to use the gmnisrv service as described in the Guix
> manual, using the default configuration:
> 
>  (services
>   (append
>    (list (service gmnisrv-service-type)
> 	 (service openssh-service-type)
> 	 (service network-manager-service-type)
> 	 (service wpa-supplicant-service-type))
>    %base-services))
> 
> However, gmnisrv keeps dying with this error:
> 
> gmnisrv: src/mime.c:37: mime_init: Assertion `0' failed.
> Unable to open MIME database for reading: No such file or directory
> Is /etc/mime.types installed?
> 
> Is the gmnisrv package or service missing a dependency that is
> supposed to provide the mime.types file, or am I supposed to copy one
> from somewhere?

It turns out that the gmnisrv package was misconfigured so that it was
necessary to have /etc/mime.types present. I've submitted a patch at

  https://issues.guix.gnu.org/49705

to fix that (as well as not looking for /etc/gmnisrv.conf if present)
if
you would like to test it before it makes it into master.

> My system information:
> 
> christopher@galadriel ~$ neofetch --stdout
> christopher@galadriel 
> --------------------- 
> OS: Guix System b36267b1d96ac344d2b42c9822ce04b4c3117f85 x86_64 
> Host: OptiPlex 7010 01 
> Kernel: 5.12.13-gnu 
> Uptime: 24 mins 
> Packages: 51 (guix-system), 35 (guix-user) 
> Shell: bash 5.0.16 
> Terminal: /dev/pts/0 
> CPU: Intel i5-3570 (4) @ 3.800GHz 
> GPU: Intel HD Graphics 
> Memory: 93MiB / 15929MiB 

--
Sarah





  reply	other threads:[~2021-07-23 16:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-26 14:02 bug#49233: gmnisrv: missing mime.types Christopher Howard
2021-07-23  8:14 ` Sarah Morgensen
2021-07-23 16:41   ` Christopher Howard [this message]
2021-07-26 21:21     ` Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=efaa733e9df8cbaab0876106d47f89af77893444.camel@librehacker.com \
    --to=christopher@librehacker.com \
    --cc=49233@debbugs.gnu.org \
    --cc=iskarian@mgsn.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.