Konstantin Ryabitsev pise:
On Thu, Sep 20, 2012 at 10:50 AM, Zdenek Pytela
<pytela(a)phil.muni.cz> wrote:
> Hello everybody,
> every night cron calls epylog and it launches links.
> links wants to create a temporary file links.tmp and write to ~/.links
> directory and to check bookmarks/history and other files.
> As epylog is run as root, admin_home is affected.
> If run from a cli, no alert is displayed.
> It is (probably) run from publishers.py at line 264:
>
> exitcode = os.system('%s -dump %s > %s 2>/dev/null'
> % (self.lynx, htmlfile, plainfile)
>
Hi, Zdenek:
You can either dontaudit that, or set this in your epylog.conf:
lynx = /usr/bin/elinks -config-dir /var/lib/epylog/.elinks
Nice workaround. I have
just find another one in the elinks man
page: -no-home, it is much shorter ;-). Thanks,
--
--Zdeněk Pytela, <pytela(a)phil.muni.cz>
CIT FF MU
+420 54949 5301
Servisní linka CIT: [54949]*1542*, cit-servis(a)phil.muni.cz
CIT servery a sítě: [54949]*1543*, cit-sys(a)phil.muni.cz
Hlášení závad, požadavky:
http://www.phil.muni.cz/pozadavek/