[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] Re: LXC, logrotate & systemd



Il giorno ven 2 nov 2018 alle ore 08:48 Marco Bertorello
<marco.bertorello@gmail.com> ha scritto:
>
> Il giorno mer 31 ott 2018 alle ore 12:01 Marco Bertorello
> <marco.bertorello@gmail.com> ha scritto:
>
> > Sono un idiota, scusate... era un container ubuntu, non debian.
> >
> > Comunque grazie fog, ho provato a correggere lo script come consigliato
> > nel bug report, domani scopro se funziona!
>
> Purtroppo non ha funzionato.
>
> Addentrandomi nel problema, riesco a riprodurlo a mano, eseguendo
> questo comando:
>
> systemctl kill -s HUP rsyslog.service
>
> che viene lanciato da
>
> /usr/lib/rsyslog/rsyslog-rotate
>
> Se eseguo
>
> /etc/init.d/rsyslog start (o restart) nessun problema
>
> se eseguo
>
> systemctl stop rsyslog.service
>
> o anche  /etc/init.d/rsyslog stop
>
> ottengo
>
> Warning: Stopping rsyslog.service, but it can still be activated by:
>   syslog.socket
>
> e il processo gira ancora.
>
> Sembra che il problema sia rsyslog che non ne voglia sapere di morire.
>
> Per curiosità, ho provato ad eseguire anche
>

Scusate, mi è partito un invio senza completare la mail.

dicevo, per curiosità ho provato anche ad eseguire

systemctl kill -s SIGKILL  rsyslog.service

Ma ottengo sempre lo stesso input/output error

-- 
Marco Bertorello
System Administrator
http://bertorello.ns0.it


Reply to: