Personal tools
You are here: Home Members marc blog The Blog Addendum for the howto for comoonics-4.6 and having /var subdirs hostdependent
Document Actions

Addendum for the howto for comoonics-4.6 and having /var subdirs hostdependent

See here

  [root@nbg101srv newroot]# com-mkcdslinfrastructure -r /mnt/newroot
  [root@nbg101srv newroot]# mount --bind /mnt/newroot/.cluster/cdsl/1/ /mnt/newroot/.cdsl.local/
  [root@nbg101srv newroot]# chroot .
  [root@nbg101srv /]# ls var
  account  cache  db  empty  games  lib  local  lock  log  mail  nis  opt  preserve  racoon  run  spool  tmp  yp
  [root@nbg101srv /]# for dir in cache local lock log spool run tmp; do com-mkcdsl --force --hostdependent var/$dir; done
  [root@nbg101srv /]# ls -l var
  total 112
  drwxr-xr-x  2 root root 3864 Apr 27 13:46 account
  lrwxrwxrwx  1 root root   24 Jun  7 14:28 cache -> ../.cdsl.local/var/cache
  drwxr-xr-x  3 root root 3864 Apr 27 14:15 db
  drwxr-xr-x  3 root root 3864 Apr 27 13:47 empty
  drwxr-xr-x  2 root root 3864 Oct  1  2009 games
  drwxr-xr-x 20 root root 3864 Apr 28 11:28 lib
  lrwxrwxrwx  1 root root   24 Jun  7 14:28 local -> ../.cdsl.local/var/local
  lrwxrwxrwx  1 root root   23 Jun  7 14:29 lock -> ../.cdsl.local/var/lock
  lrwxrwxrwx  1 root root   22 Jun  7 14:29 log -> ../.cdsl.local/var/log
  lrwxrwxrwx  1 root root   10 Jun  7 13:40 mail -> spool/mail
  drwxr-xr-x  2 root root 3864 Oct  1  2009 nis
  drwxr-xr-x  2 root root 3864 Oct  1  2009 opt
  drwxr-xr-x  2 root root 3864 Oct  1  2009 preserve
  drwxr-xr-x  2 root root 3864 May  5  2009 racoon
  lrwxrwxrwx  1 root root   22 Jun  7 14:29 run -> ../.cdsl.local/var/run
  lrwxrwxrwx  1 root root   24 Jun  7 14:29 spool -> ../.cdsl.local/var/spool
  lrwxrwxrwx  1 root root   22 Jun  7 14:29 tmp -> ../.cdsl.local/var/tmp
  drwxr-xr-x  3 root root 3864 Apr 27 13:47 yp
  [root@nbg101srv /]# 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: