home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux      Getting to be as bloated as Windows!      107,822 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 107,692 of 107,822   
   Carlos E.R. to All   
   Re: Linux Recommendation   
   19 Dec 25 13:51:25   
   
   From: robin_listas@es.invalid   
      
   On 2025-12-19 04:06, Lawrence D’Oliveiro wrote:   
   > On Thu, 18 Dec 2025 23:32:32 +0100, Carlos E.R. wrote:   
   >   
   >> Telcontar:~ # journalctl -u samba   
   >> -- No entries --   
   >> Telcontar:~ #   
   >>   
   >> journalctl -u smb   
   >>   
   >> -- Boot 9991b6bf2b3e4c3da704476cc5d7b8bd --   
   >> Oct 06 14:32:21 Telcontar systemd[1]: Starting Samba SMB Daemon...   
   >> Oct 06 14:32:21 Telcontar update-apparmor-samba-profile[2430]: generating   
   profile sniplet failed   
   >> Oct 06 14:32:21 Telcontar systemd[1]: smb.service: Control process exited,   
   code=exited, status=1/FAILURE   
   >> Oct 06 14:32:21 Telcontar systemd[1]: smb.service: Failed with result   
   'exit-code'.   
   >> Oct 06 14:32:21 Telcontar systemd[1]: Failed to start Samba SMB Daemon.   
   >> -- Boot daaa693dfedc4bc0ad0466ecb37c91c1 --   
   >   
   > Try   
   >   
   >      journalctl _SYSTEMD_UNIT=smbd.service _SYSTEMD_UNIT=nmbd.service   
      
      Telcontar:~ # journalctl _SYSTEMD_UNIT=smbd.service _SYSTEMD_   
   NIT=nmbd.service   
      -- No entries --   
      Telcontar:~ #   
      
   It is:   
      
      Telcontar:~ # journalctl _SYSTEMD_UNIT=smb.service _SYSTEMD_UNIT=nmb.service   
      Sep 14 12:56:35 Telcontar update-apparmor-samba-profile[2464]: generating   
   profile sniplet failed   
      -- Boot d1cdc52964c7451b8d27c1f8054f6f5e --   
      Sep 18 14:30:36 Telcontar update-apparmor-samba-profile[2440]: generating   
   profile sniplet failed   
      -- Boot 31efd02cdf154fea9001f26521155b9a --   
      Sep 23 21:33:45 Telcontar update-apparmor-samba-profile[2470]: generating   
   profile sniplet failed   
      -- Boot 9991b6bf2b3e4c3da704476cc5d7b8bd --   
      Oct 06 14:32:21 Telcontar update-apparmor-samba-profile[2430]: generating   
   profile sniplet failed   
      -- Boot daaa693dfedc4bc0ad0466ecb37c91c1 --   
      Oct 18 15:13:42 Telcontar update-apparmor-samba-profile[2467]: generating   
   profile sniplet failed   
      -- Boot 5488f31d5a0640699137134734a1aea8 --   
      Nov 16 13:16:53 Telcontar update-apparmor-samba-profile[2484]: generating   
   profile sniplet failed   
      -- Boot 1f08b4e964cf4f43858fda8b696afde2 --   
      Dec 14 21:53:15 Telcontar update-apparmor-samba-profile[2636]: generating   
   profile sniplet failed   
      -- Boot ce9c0803b3204c59a014f82b13f1a537 --   
      Dec 14 22:02:17 Telcontar update-apparmor-samba-profile[2436]: generating   
   profile sniplet failed   
      -- Boot 076a95cf32724b8a94061ff633d9706d --   
      Dec 17 23:09:54 Telcontar update-apparmor-samba-profile[2479]: generating   
   profile sniplet failed   
      Telcontar:~ #   
      
      
   Which is the same information. That update-apparmor-samba-profile failed, no   
   idea why.   
      
   I asked chatgpt. It told me to run   
      
      testparm   
      
      sudo /usr/share/samba/update-apparmor-samba-profile   
      
   The first one said:   
      
      Telcontar:~ # testparm   
      Load smb config files from /etc/samba/smb.conf   
      lpcfg_do_global_parameter: WARNING: The "domain logons" option is deprecated   
      Loaded services file OK.   
      Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)   
      
      ERROR: both 'wins support = true' and 'wins server = ' cannot   
   be set in the smb.conf file. nmbd will abort with this setting.   
      
      Server role: ROLE_STANDALONE   
      
      Press enter to see a dump of your service definitions   
      
      
      
   So chatgpt told me that in here:   
      
      wins server = 192.168.6.16   
      wins support = No   
      
   I should remove the second line. It also advised to remove   
      
      domain logons = Yes   
      
      
   It later said:   
      
      
   Why the AppArmor message was misleading   
      
   The failure message:   
      
      generating profile sniplet failed   
      
   is not an AppArmor bug — it’s a configuration validation failure caused by   
   Samba rejecting the config.   
      
   This is a known pain point on openSUSE.   
      
      
      
   Trying now with Thunar, I can double click on "Windows network" which shows an   
   empty "smb:///" page. Relative progress.   
      
      
      
   --   
   Cheers, Carlos.   
   ES🇪🇸, EU🇪🇺;   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca