View Single Post
  #1   (View Single Post)  
Old 8th May 2008
harisman's Avatar
harisman harisman is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Hellas (Greece)
Posts: 66
Unhappy [ Solved ] Problem after migrating the /var and its contents to another partition

Hi to all

I have migrated the /var directory and their contents to another partition using 'tar cfp' and 'tar xfp'

I have created a mount point on the fstab and I changed the rights to 755 as well:

Code:
109:root@titan:/# ls -lad /var
drwxr-xr-x  24 root  wheel  512 May  9 01:35 /var
110:root@titan:/# grep /var /etc/fstab 
/dev/ad0s1d     /var            ufs     rw,noexec,nosuid        2       2

115:root@titan:/var# ls -l
total 44
drwxrwxr-x   2 root    operator  512 May  8 23:58 .snap
drwxr-xr-x   2 root    wheel     512 May  9 00:34 account
drwxr-xr-x   4 root    wheel     512 May  9 00:34 at
drwxr-x---   2 root    audit     512 May  9 00:34 audit
drwxr-x---   2 root    wheel     512 May  9 00:34 backups
drwxr-x---   2 root    wheel     512 May  9 00:34 crash
drwxr-x---   3 root    wheel     512 May  9 00:34 cron
drwxr-xr-x   9 root    wheel     512 May  8 21:41 db
dr-xr-xr-x   2 root    wheel     512 May  9 00:34 empty
drwxrwxr-x   2 root    games     512 May  9 00:34 games
drwx------   2 root    wheel     512 May  9 00:34 heimdal
drwxr-xr-x   4 root    wheel     512 May  8 22:37 log
drwxrwxr-x   2 root    mail      512 May  9 00:34 mail
drwxr-xr-x   2 daemon  wheel     512 May  8 21:35 msgs
drwxr-xr-x   2 root    wheel     512 May  9 00:34 named
drwxr-xr-x   2 root    wheel     512 May  9 00:34 preserve
drwxr-xr-x   7 root    wheel     512 May  8 22:56 run
drwxrwxr-x   2 root    daemon    512 May  9 00:34 rwho
drwxr-xr-x   9 root    wheel     512 May  8 21:35 spool
drwxrwxrwt   9 root    wheel     512 May  8 22:37 tmp
drwxr-xr-x  25 root    wheel     512 May  8 20:30 var
drwxr-xr-x   2 root    wheel     512 May  9 00:34 yp
During the next reboot, the below errors produced during startup:

Code:
May  8 22:36:28 titan console-kit-daemon[1190]: CRITICAL: cannot initialize libpolkit
May  8 22:36:28 titan console-kit-daemon[1190]: GLib-CRITICAL: g_async_queue_unref: assertion `queue->waiting_threads == 0' failed
This caused problem switching from the ttyv8 of the wdm to the other consoles ttyv1-7 and the wdm itself...

Any ideas?

Thanks

Last edited by harisman; 9th May 2008 at 05:01 PM.
Reply With Quote