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

Re: [ezjail] dirname: not found

On 01.10.12 18:27, Paul Macdonald wrote:

> 1) How often do people update their basejails, in general my systems are
> updated daily, but my jailed systems fall behind in versions as i don't
> run update -ip on every jail every day
> (there are often ports updates every day)
> Is there an ezjail-admin update -p  where only the ports are updated
> (which happens daily) as opposed to building a new world

From my /etc/crontab:

0       6       *       *       *       root    /usr/sbin/portsnap cron
0       7       *       *       *       root    /usr/sbin/portsnap -p
/usr/jails/basejail/usr/ports update

But you can also run ezjail-admin update -P to fetch and extract ports.

> 2)
> From ezjail-admin update -ip
>>/usr/src/include/../sys/conf/newvers.sh: dirname: not found
> i have to manually edit this file fairly regularly to give dirname and
> touch full paths ( at which point the update works)
> Is this just me?

Never occured to me. -- Anyone?