Re: adding Samba to config.scm

2025-03-30 Thread gfp

Hi,


If there is something wrong with the server you can find the logs in

/var/log and/or with “sudo herd status ”.



there is a problem starting samba client.

cgfp@Tuxedo ~$  sudo herd status samba
herd: Fehler: Dienst »samba« konnte nicht gefunden werden
English: herd: mistake: service "samba" could not be found

I guess I have to add or change something in my config.scm
but I don´t know what.
-
here are my logs:

/var/log/log.smbd
[2025/03/30 21:10:37.860539,  0] ../../source3/smbd/server.c:1746(main)
  smbd version 4.18.1 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2023


/var/log/log.samba-dcerpcd
[2025/03/30 21:10:37,  0] ../../source3/rpc_server/rpc_host.c:2966(main)
  samba-dcerpcd version 4.18.1 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2023

/var/log/log-wb-TUXEDO
[2025/03/30 21:09:25.164495,  0] 
../../source3/winbindd/winbindd_dual.c:1958(winbindd_sig_term_handler)

  Got sig[15] terminate (is_parent=0)

/var/log/log.winbindd
[2025/03/30 21:10:37.742489,  0] 
../../source3/winbindd/winbindd.c:1441(main)

  winbindd version 4.18.1 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2023

/var/log/log.winbindd-idmap
[2025/03/30 21:09:25.164452,  0] 
../../source3/winbindd/winbindd_dual.c:1958(winbindd_sig_term_handler)

  Got sig[15] terminate (is_parent=0)   

--
if there are any hints, I am thankful

Gottfried


Am 24.03.25 um 21:16 schrieb Noé Lopez:

gfp  writes:


Hi Noé,

thanks very much for the hint,

now I managed to run: sudo guix system reconfigure /etc/config.scm

>> in my config.scm I changed the folder:
into:  path = /home/gfp/public


(service samba-service-type (samba-configuration
   (enable-smbd? #t)
   (config-file (plain-file "smb.conf" "\
  [global]
  map to guest = Bad User
  logging = syslog@1

  [public]
  browsable = yes
  path = /home/gfp/public
  read only = no
  guest ok = yes
  guest only = yes\n")

I don´t know if that is ok.

In opening my virtual machine, and looking for the shared folder in
Trisquel it can´t find a shared folder.

network
smb:tuxedo.local
Tuxedo  Tuxedo: that is the name of my laptop
no shared folders found

My question: what else do I have to do in Guix?
Or do I have to do something in the VM, in Trisquel ?



Hi,

I don’t run my own samba server so I can’t provide very specific
answers, but I suppose this is a configuration issue not linked with
guix.

You can probably check the final look of your config in /etc, see if its
what you wanted.

If there is something wrong with the server you can find the logs in
/var/log and/or with “sudo herd status ”.

Lastly, maybe try connecting using smbclient from the samba package to
see if everything is fine.

Good evening,
Noé





OpenPGP_0xD9E413C6C4BB32CE.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


scanning in GNU Guix

2025-03-30 Thread gfp

Hi Guix,

as I wrote approx. 2 years ago,
now I have the proof.

I can print in Guix SD with my very old printer
HP Officejet J4580 All-in-One
but I can´t _scan_.

Now after installing GNU Trisquel
in a VM in GNU Guix
I can print and scan with the same printer.

So, what is the difference between
GNU Guix and GNU Trisquel
that I can´t scan in GNU Guix?

thanks

Gottfried



OpenPGP_0xD9E413C6C4BB32CE.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: adding Samba to config.scm

2025-03-30 Thread Noé Lopez via
gfp  writes:

> Hi,
>
>> If there is something wrong with the server you can find the logs in
>>> /var/log and/or with “sudo herd status ”.
>
> 
> there is a problem starting samba client.
>
> cgfp@Tuxedo ~$  sudo herd status samba
> herd: Fehler: Dienst »samba« konnte nicht gefunden werden
> English: herd: mistake: service "samba" could not be found
>
> I guess I have to add or change something in my config.scm
> but I don´t know what.

I believe the service name is not samba but samba-something. Check with
“herd status” if you see it listed.


signature.asc
Description: PGP signature


Re: 'unattended-upgrade-service-type' operating

2025-03-30 Thread Fernando Martínez González
Hi, Hubert!

Taking a look at /var/log/unattended-upgrade.log might be useful.

You can also take a look at the result of

herd status unattended-upgrade

To manually trigger it you can use

   herd trigger unattended-upgrade

Good luck!

--
Fernando