GNU bug report logs - #49233
gmnisrv: missing mime.types

Previous Next

Package: guix;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Sat, 26 Jun 2021 14:03:02 UTC

Severity: normal

Done: Arun Isaac <arunisaac <at> systemreboot.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49233 in the body.
You can then email your comments to 49233 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#49233; Package guix. (Sat, 26 Jun 2021 14:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Howard <christopher <at> librehacker.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 26 Jun 2021 14:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: Guix Bug Reports <bug-guix <at> gnu.org>
Subject: gmnisrv: missing mime.types
Date: Sat, 26 Jun 2021 06:02:26 -0800
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?

My system information:

christopher <at> galadriel ~$ neofetch --stdout
christopher <at> 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 

-- 
Christopher Howard
blog: https://librehacker.com
social: https://gnusocial.club/librehacker





Information forwarded to bug-guix <at> gnu.org:
bug#49233; Package guix. (Fri, 23 Jul 2021 08:15:01 GMT) Full text and rfc822 format available.

Message #8 received at 49233 <at> debbugs.gnu.org (full text, mbox):

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

Christopher Howard <christopher <at> 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 <at> galadriel ~$ neofetch --stdout
> christopher <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#49233; Package guix. (Fri, 23 Jul 2021 16:43:01 GMT) Full text and rfc822 format available.

Message #11 received at 49233 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: Sarah Morgensen <iskarian <at> mgsn.dev>
Cc: 49233 <at> debbugs.gnu.org
Subject: Re: bug#49233: gmnisrv: missing mime.types
Date: Fri, 23 Jul 2021 08:41:25 -0800
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 <at> mgsn.dev>
To: Christopher Howard <christopher <at> librehacker.com>
Cc: 49233 <at> debbugs.gnu.org
Subject: Re: bug#49233: gmnisrv: missing mime.types
Date: Fri, 23 Jul 2021 01:14:39 -0700

Hello,

Christopher Howard <christopher <at> 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 <at> galadriel ~$ neofetch --stdout
> christopher <at> 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 sent to Arun Isaac <arunisaac <at> systemreboot.net>:
You have taken responsibility. (Mon, 26 Jul 2021 21:22:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Howard <christopher <at> librehacker.com>:
bug acknowledged by developer. (Mon, 26 Jul 2021 21:22:02 GMT) Full text and rfc822 format available.

Message #16 received at 49233-done <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: Christopher Howard <christopher <at> librehacker.com>, Sarah Morgensen
 <iskarian <at> mgsn.dev>
Cc: 49233-done <at> debbugs.gnu.org
Subject: Re: bug#49233: gmnisrv: missing mime.types
Date: Tue, 27 Jul 2021 02:51:11 +0530
[Message part 1 (text/plain, inline)]
Hi,

I believe commits b459c39adb725822916a8e21ee250fb408d2e2f8 and
e17f063627f826b4dd0dda77ede48fc7a535414b address this issue. So, closing
this issue.

Thanks,
Arun
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 24 Aug 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 218 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.