all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#49233: gmnisrv: missing mime.types
@ 2021-06-26 14:02 Christopher Howard
  2021-07-23  8:14 ` Sarah Morgensen
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Howard @ 2021-06-26 14:02 UTC (permalink / raw)
  To: 49233

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@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 

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





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

* bug#49233: gmnisrv: missing mime.types
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Sarah Morgensen @ 2021-07-23  8:14 UTC (permalink / raw)
  To: Christopher Howard; +Cc: 49233

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




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

* bug#49233: gmnisrv: missing mime.types
  2021-07-23  8:14 ` Sarah Morgensen
@ 2021-07-23 16:41   ` Christopher Howard
  2021-07-26 21:21     ` Arun Isaac
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Howard @ 2021-07-23 16:41 UTC (permalink / raw)
  To: Sarah Morgensen; +Cc: 49233

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





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

* bug#49233: gmnisrv: missing mime.types
  2021-07-23 16:41   ` Christopher Howard
@ 2021-07-26 21:21     ` Arun Isaac
  0 siblings, 0 replies; 4+ messages in thread
From: Arun Isaac @ 2021-07-26 21:21 UTC (permalink / raw)
  To: Christopher Howard, Sarah Morgensen; +Cc: 49233-done

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


Hi,

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

Thanks,
Arun

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

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

end of thread, other threads:[~2021-07-26 21:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-07-26 21:21     ` Arun Isaac

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.