home bbs files messages ]

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

   linux.debian.bugs.dist      Ohh some weird Debian bug report thing      28,835 messages   

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

   Message 27,720 of 28,835   
   a.sachs@vsd.volley.de to Andreas Sachs   
   Bug#1128004: AW: [Pkg-nagios-devel] Bug#   
   15 Feb 26 12:30:01   
   
   The command is    
      
   command[check_disks]=/usr/lib/nagios/plugins/check_disk -w 20% -c 07%   
      
   But the interesting thing is:   
   sudo -u nagios /usr/lib/nagios/plugins/check_disk -w 20% -c 07%    
   does not have the problem.   
      
   If nrpe is started during boot, I have the problem.   
      
      
   After systemctl restart nagios-nrpe-server.service the problem is gone.   
      
      
   After    
   systemctl stop getty@tty1.service   
   systemctl stop nagios-nrpe-server.service   
   systemctl start nagios-nrpe-server.service   
   systemctl start getty@tty1.service   
      
   the problem is back again   
      
      
      
      
   -----Ursprüngliche Nachricht-----   
   Von: Sebastiaan Couwenberg     
   Gesendet: Sonntag, 15. Februar 2026 07:30   
   An: Andreas Sachs ; 1128004@bugs.debian.org   
   Betreff: Re: [Pkg-nagios-devel] Bug#1128004: nagios-nrpe-server: Check disk   
   reports permission problem after reboot.   
      
   Control: tags -1 unreproducible   
      
   This issue doesn't occur on any of the trixie systems I run NRPE on.   
      
   On 2/15/26 2:32 AM, Andreas Sachs wrote:   
   > after a reboot check_disk running from nrpe always reports   
      
   To reproduce the issue we'll need the exact command definition.   
      
   > /run/credentials/getty@tty1.service is not accessible: Permission denied   
   > I can reproduce the error after every reboot.   
   > The error is not visible with sudo -u nagios check_disk...   
   >    
   > After restarting nagios-nrpe-server the error is gone.   
   >    
   > I have the problem on 5 servers.   
   >    
   > According to chatgpt the problem is related to Before=getty@tty1.service   
   > in the systemd service file.   
      
   Use `systemctl edit nagios-nrpe-server` to create a service override.   
      
   Or update the command definition to ignore /run/credentials or all tmpfs   
   filesystems.   
      
   Kind Regards,   
      
   Bas   
      
   --    
     PGP Key ID: 4096R/6750F10AE88D4AF1   
   Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1   
      
   --- 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