unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ignas Lapėnas" <ignas@lapenas.dev>
To: Wojtek Kosior <koszko@koszko.org>
Cc: guix-devel@gnu.org
Subject: Re: Segmentation fault
Date: Wed, 22 Nov 2023 22:28:28 +0200	[thread overview]
Message-ID: <87sf4xbkgv.fsf@lapenas.dev> (raw)
In-Reply-To: <20231122211700.489c5dc9.koszko@koszko.org>

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

> Could you please provide the contents of a config.scm file that could
> be used to reproduce the problem?
Attaching the config.scm
Cleaned it up a lot from my system, still getting the seg fault.
No seg fault when running directly tho.
Also I can see that my email client converts double dashes to single ones…

Sorry for not attaching it on first message.

[-- Attachment #2: config.scm --]
[-- Type: application/octet-stream, Size: 5085 bytes --]

(use-modules (gnu)
             (srfi srfi-1)
             (gnu packages admin)
             (gnu packages compression)
             (gnu packages databases)
             (gnu packages file)
             (gnu packages freedesktop)
             (gnu packages terminals)
             (gnu services databases)
             (gnu services desktop)
             (gnu services web))


(use-service-modules cups desktop networking ssh xorg)
(use-package-modules linux
                     ssh
                     vim
                     wm
                     xdisorg
                     xorg
                     web-browsers
                     version-control
                     video)

(operating-system
  (host-name "lamp-vm")
  (locale "lt_LT.utf8")
  (timezone "Europe/Vilnius")
  (keyboard-layout (keyboard-layout "us" "euro"))


  ;; The list of user accounts ('root' is implicit).
  (users (cons* (user-account
                  (name "ignaslapenas")
                  (comment "Ignas Lapenas")
                  (group "users")
                  (home-directory "/home/ignaslapenas")
                  (supplementary-groups '("wheel" "netdev" "audio" "video")))
                %base-user-accounts))

  ;; Packages installed system-wide.  Users can also install packages
  ;; under their own account: use 'guix search KEYWORD' to search
  ;; for packages and 'guix install PACKAGE' to install a package.
  (packages (append (list (specification->package "nss-certs")
                          file
                          iftop
                          mysql
                          openssh
                          strace
                          tar
                          unzip
                          vim)
                    %base-packages))

  ;; Below is the list of system services.  To search for available
  ;; services, run 'guix system search KEYWORD' in a terminal.
  (services (append
             (remove (lambda (service)
                       (eq? (service-kind service) gdm-service-type))
                     %desktop-services)
             (list (service mysql-service-type)
                   (service php-fpm-service-type
                            (php-fpm-configuration
                             (socket "/var/run/php-fpm.sock")
                             (socket-group "httpd")))
                   (service httpd-service-type
                            (httpd-configuration
                             (config
                              (httpd-config-file
                               (listen '("0.0.0.0:80"))
                               (modules (cons*
                                         (httpd-module
                                          (name "proxy_module")
                                          (file "modules/mod_proxy.so"))
                                         (httpd-module
                                          (name "rewrite_module")
                                          (file "modules/mod_rewrite.so"))
                                         (httpd-module
                                          (name "ssl_module")
                                          (file "modules/mod_ssl.so"))
                                         (httpd-module
                                          (name "proxy_fcgi_module")
                                          (file "modules/mod_proxy_fcgi.so"))
                                         %default-httpd-modules))
                               (extra-config
                                (list (string-join
                                       '("<FilesMatch \\.php$>"
                                         "    SetHandler \"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\""
                                         "</FilesMatch>")
                                       "\n")))
                               ))))
                   (simple-service 'aristocracy.lt-server httpd-service-type
                                   (list
                                    (httpd-virtualhost
                                     "*:80"
                                     (list
                                      (string-join
                                       '("ServerName aristocracy.lt"
                                         "DocumentRoot /srv/http/aristocracy.lt/"
                                         "ErrorLog /srv/http/aristocracy.lt/logs/error_log"
                                         "CustomLog /srv/http/aristocracy.lt/logs/access_log combined"
                                         )
                                       "\n")))
                                    ))
                   )))
  (bootloader (bootloader-configuration
                (bootloader grub-efi-bootloader)
                (targets (list "/dev/sdX"))
                (keyboard-layout keyboard-layout)))

  (file-systems (cons* (file-system
                         (mount-point "/")
                         (device "/dev/sda1")
                         (type "ext4"))
                       %base-file-systems))
  )

  reply	other threads:[~2023-11-22 20:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-22 18:11 Segmentation fault Ignas Lapėnas
2023-11-22 20:17 ` Wojtek Kosior via Development of GNU Guix and the GNU System distribution.
2023-11-22 20:28   ` Ignas Lapėnas [this message]
2023-11-23  7:32     ` Ignas Lapėnas
2023-11-23 13:08       ` Felix Lechner via Development of GNU Guix and the GNU System distribution.

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87sf4xbkgv.fsf@lapenas.dev \
    --to=ignas@lapenas.dev \
    --cc=guix-devel@gnu.org \
    --cc=koszko@koszko.org \
    /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 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).