HardenedLinux activity https://gitlab.com/hardenedlinux 2026-02-26T18:26:13Z tag:gitlab.com,2026-02-26:5147527005 Nala Ginrut pushed to project branch master at HardenedLinux / artanis 2026-02-26T18:26:13Z NalaGinrut Nala Ginrut

Nala Ginrut (d5696672) at 26 Feb 18:26

Fix DB-get-all-rows

tag:gitlab.com,2026-02-26:5147466953 Nala Ginrut pushed to project branch master at HardenedLinux / artanis 2026-02-26T18:06:03Z NalaGinrut Nala Ginrut

Nala Ginrut (73863799) at 26 Feb 18:06

Throw error when db query failed

tag:gitlab.com,2026-02-12:5098703197 Nala Ginrut pushed to project branch master at HardenedLinux / artanis 2026-02-12T18:03:42Z NalaGinrut Nala Ginrut

Nala Ginrut (0d583e05) at 12 Feb 18:03

Capture error when getting rows from DB

... and 1 more commit

tag:gitlab.com,2026-01-19:5007312916 Joe Bigorra (J.J.B.A.) commented on issue #138 at HardenedLinux / artanis 2026-01-19T01:19:51Z jjbigorra Joe Bigorra (J.J.B.A.)

sounds like a great idea !

tag:gitlab.com,2026-01-18:5006655944 Nala Ginrut pushed to project branch master at HardenedLinux / caticon 2026-01-18T14:58:17Z NalaGinrut Nala Ginrut

Nala Ginrut (179c8a46) at 18 Jan 14:58

First commit

tag:gitlab.com,2026-01-18:5006237079 Nala Ginrut pushed new project branch master at HardenedLinux / caticon 2026-01-18T07:49:53Z NalaGinrut Nala Ginrut

Nala Ginrut (0365546a) at 18 Jan 07:49

First commit

tag:gitlab.com,2026-01-18:5006235897 Nala Ginrut pushed new project branch main at HardenedLinux / caticon 2026-01-18T07:48:25Z NalaGinrut Nala Ginrut

Nala Ginrut (a5d03b69) at 18 Jan 07:48

Initial commit

tag:gitlab.com,2026-01-18:5006235872 Nala Ginrut created project HardenedLinux / caticon 2026-01-18T07:48:24Z NalaGinrut Nala Ginrut tag:gitlab.com,2026-01-18:5006209183 Nala Ginrut commented on issue #138 at HardenedLinux / artanis 2026-01-18T07:21:02Z NalaGinrut Nala Ginrut

Hi @jjbigorra I hope the configurable logger should be as Artanis plugin, so folks may add their preferred logger format. This needs some tweak of the current logger, I have to add a hook.

I'll back here soon.

tag:gitlab.com,2026-01-16:5002655417 Joe Bigorra (J.J.B.A.) commented on issue #138 at HardenedLinux / artanis 2026-01-16T16:03:56Z jjbigorra Joe Bigorra (J.J.B.A.)

I was thinking to start with an API like this (pseudocode)


(define* (log message #:key (level 'INFO)
                            (annotations '())
                            (trace-id #f)
                            (output-port (current-output-port)))

(define (log-info message #:key (annotations '())
                                (trace-id #f)
                                (output-port (current-output-port))
  (log message #:level 'INFO ........))
tag:gitlab.com,2026-01-15:4997988373 Joe Bigorra (J.J.B.A.) opened issue #138: Configurable logging and structured logs (JSON?) at HardenedLinux / artanis 2026-01-15T13:57:45Z jjbigorra Joe Bigorra (J.J.B.A.) tag:gitlab.com,2026-01-04:4959974084 Nala Ginrut commented on issue #137 at HardenedLinux / artanis 2026-01-04T15:32:21Z NalaGinrut Nala Ginrut

It could be the issue from libltdl, which means it can't find related .so file. And "file not found" is one of the error strings appears in guile-dbi/guile-dbi source directory.

tag:gitlab.com,2026-01-02:4956363444 Jean Libète commented on issue #137 at HardenedLinux / artanis 2026-01-02T07:56:23Z tomenzgg Jean Libète

Sure thing. It seems to recreate the error that Artanis displays. Starting Guile, I did the following:

scheme@(guile-user)> (use-modules (dbi dbi))
scheme@(guile-user)> (define ciccio (dbi-open "mysql" "user:pass:db:tcp:localhost:3306"))
scheme@(guile-user)> ciccio
$1 = #<guile-dbi close mysql user:pass:db:tcp:localhost:3306 (1 . file not found)>

I wasn't sure if guile-dbi required the executable of the database but I tried both with and without in a guix shell and both times had the same, above result.

I double checked that the user was valid and I was able to login to mariadb with said user and that the database existed (and the user had privileges granted to said database) and all of that was still true when I tried directly with guile-dbi.

tag:gitlab.com,2025-12-30:4950245256 Nala Ginrut commented on issue #137 at HardenedLinux / artanis 2025-12-30T03:58:50Z NalaGinrut Nala Ginrut

Could you run art work --debug, and find the guile-dbi connection configure string, it should look like this:

DEBUG: ON
User wants to use Database, initializing...
connection pools are initilizing...<mysql> root::my-app:tcp:127.0.0.1:3306

Then try this string with guile-dbi directly, to see if it's the issue of guile-dbi. Here's guile-dbi manual: https://htmlpreview.github.io/?https://github.com/opencog/guile-dbi/blob/master/website/guile-dbi.html

tag:gitlab.com,2025-12-23:4937695701 Jean Libète commented on issue #137 at HardenedLinux / artanis 2025-12-23T05:53:47Z tomenzgg Jean Libète

Hey!

I am not using socketfile; I'm using tcp, like you have in your code snippet here.

tag:gitlab.com,2025-12-18:4924817665 Nala Ginrut commented on issue #137 at HardenedLinux / artanis 2025-12-18T09:22:36Z NalaGinrut Nala Ginrut

Hi @tomenzgg Did you use sockfile rather than TCP connection? Say, in conf/artanis.conf

## specify the unix socket file managed by database server.
## db.proto = tcp | socketfile
db.proto = tcp
tag:gitlab.com,2025-12-18:4924794955 Nala Ginrut commented on merge request !142 at HardenedLinux / artanis 2025-12-18T09:17:39Z NalaGinrut Nala Ginrut

LGTM

Thanks for contribution! @mr.prof.dr.awesome

I'll merge it after the CI test fixed.

tag:gitlab.com,2025-12-09:4895278074 Nala Ginrut pushed to project branch master at HardenedLinux / artanis 2025-12-09T16:40:28Z NalaGinrut Nala Ginrut

Nala Ginrut (27d2ca04) at 09 Dec 16:40

Fix model definition to import current-dbconn

tag:gitlab.com,2025-12-09:4895264159 Nala Ginrut pushed to project branch master at HardenedLinux / artanis 2025-12-09T16:36:54Z NalaGinrut Nala Ginrut

Nala Ginrut (d1ecf209) at 09 Dec 16:36

Add base16 and base32

... and 2 more commits

tag:gitlab.com,2025-12-06:4886158170 Nala Ginrut pushed to project branch master at HardenedLinux / artanis 2025-12-06T11:30:25Z NalaGinrut Nala Ginrut

Nala Ginrut (95b87749) at 06 Dec 11:30

Fix typo of sql-to-string?