USM Bish | 5 Apr 11:00 2009
Picon

Installing the warden and its inmates

I wanted to get an AMP  environment into place quickly, and in
the process  downloaded the Warden  pbi (Ver 0.9.1  for PC-BSD
7.x) and an associated warden inmate (Joomla1.5.8.wit).

The TheWarden0.9.1-PV0.pbi installed just fine, and I was able
to set up a new jail  with port tree included. However I could
not find  a method  of installing the  AMP modules  within the
jail.  As per  the documentation,  on the  site "This  package
requires "The Warden" to install & run", I did precisely that,
and tried  to "import"  this package into  the jail  using the
warden.

The  issue  is,  the  "warden"   looks  for  ".wdn"  file  for
installation, and  the one I have  is a ".wit" file,  which it
fails to recognise.

How do I populate the jail with the inmates ?

Bish
Kris Moore | 5 Apr 14:37 2009

Re: Installing the warden and its inmates


In the gui, simply right-click the jail you want to use and select "install inmate". It'll ask you for the
.wit file at that point.

------Original Message------
From: USM Bish
Sender: support-bounces@...
To: support@...
Subject: [PC-BSD Support] Installing the warden and its inmates
Sent: Apr 5, 2009 5:00 AM

I wanted to get an AMP  environment into place quickly, and in
the process  downloaded the Warden  pbi (Ver 0.9.1  for PC-BSD
7.x) and an associated warden inmate (Joomla1.5.8.wit).

The TheWarden0.9.1-PV0.pbi installed just fine, and I was able
to set up a new jail  with port tree included. However I could
not find  a method  of installing the  AMP modules  within the
jail.  As per  the documentation,  on the  site "This  package
requires "The Warden" to install & run", I did precisely that,
and tried  to "import"  this package into  the jail  using the
warden.

The  issue  is,  the  "warden"   looks  for  ".wdn"  file  for
installation, and  the one I have  is a ".wit" file,  which it
fails to recognise.

How do I populate the jail with the inmates ?

Bish
(Continue reading)

USM Bish | 5 Apr 17:06 2009
Picon

Re: Installing the warden and its inmates

Kris Moore wrote:
 >
 > In the gui, simply right-click the  jail you want to use and
 > select "install inmate". It'll ask  you for the .wit file at
 > that point.
 >

Thanks  Kris, this  did it.  Looks  silly to  have spent  time
trying to find out as to how to proceed. This ".wdn" thing put
me off track,  otherwise would have experimented  with a right
click. I am not very GUI saavy :-(

How  do I  do  it from  the  command  line ?  I  am much  more
comfortable from  the console  rather than this  GUI approach,
where I really cannot make out what is going on !

Where can the docs for jails/ wardens/ inmates be found ?

Thanks again ...

Bish
cynique | 5 Apr 17:43 2009
Picon

disappering symlinks

hello,

i've setup a pcbsd (7.10, fibonacci edition) box some weeks ago and use
it as a home "server". it runs for ~35 days now with load averages ~1.30
i didn't have any problems with stability - it's rock solid and i really
like the port system and overall design. imho it's much cleaner than linux.

nevertheless i've run into two problems with disappearing symbolic
links. i think i've done my homework, but haven't found any info so i'm
writing here for your generous help.

1st issue
---------
after some twiddling (installing, ifconfig up/down) i couldn't login as
a normal user (via ssh and even on console). only root worked. i figured
out that ~home symbolic link (to /usr/home) disappeared and /etc/passwd
entries were pointing to nowhere. thus no login. after i setup back the
symbolic link everything works fine. after this i rewrote /etc/passwd to
point to /usr/home instead of /home.

2nd issue
---------
again, after some twiddling ~Programs disappeared. i figured this out
when i wanted to run warden - port was installed but didn't run
(/Programs was in the path, not /usr/Programs). again, after doing a new
symlink everything works fine.

so my question is: does anyone please have any idea why those symlinks
are disappearing?

(Continue reading)

USM Bish | 5 Apr 19:57 2009
Picon

Re: disappering symlinks

cynique wrote:
 >
[ some snipped ]
 >
 > 1st issue
 > ---------
 > after  some  twiddling   (installing,  ifconfig  up/down)  i
 > couldn't  login  as a  normal  user  (via  ssh and  even  on
 > console).  only  root  worked.  i  figured  out  that  ~home
 > symbolic  link (to  /usr/home)  disappeared and  /etc/passwd
 > entries were  pointing to  nowhere. thus  no login.  after i
 > setup back  the symbolic  link everything works  fine. after
 > this i rewrote /etc/passwd to  point to /usr/home instead of
 > /home.
 >

I am also a relative newcomer to PC-BSD, and no authority, but
these sumlinks to  /home and /Programs are by  default, set at
initial installation.  I do not  run on  a server, just  on my
laptop, but  with recurrent boots  and much shorter  uptime, I
have faced no such issue. My /etc/passwd works on the symlinks
stated without any issues:

[bish <at> pcbsd ~]$ ls -al /home
lrwxr-xr-x  1 root  wheel  8 Mar 14 17:11 /home -> /usr/home
[bish <at> pcbsd ~]$ ls -al /Programs
lrwxr-xr-x  1 root  wheel  13 Dec  5 19:37 /Programs -> /usr/Programs
[bish <at> pcbsd ~]$ cat /etc/passwd | grep bish
bish:*:1001:1001:USM Bish:/home/bish:/usr/local/bin/bash
[bish <at> pcbsd ~]$
(Continue reading)

Kris Moore | 5 Apr 23:42 2009

Re: disappering symlinks


We don't ship any scripts that monkey with the various symlinks here. My guess would be that some 3rd party
program is removing them. What did you install via ports on this system?

------Original Message------
From: USM Bish
Sender: support-bounces@...
To: cynique
Cc: support@...
Subject: Re: [PC-BSD Support] disappering symlinks
Sent: Apr 5, 2009 1:57 PM

cynique wrote:
 >
[ some snipped ]
 >
 > 1st issue
 > ---------
 > after  some  twiddling   (installing,  ifconfig  up/down)  i
 > couldn't  login  as a  normal  user  (via  ssh and  even  on
 > console).  only  root  worked.  i  figured  out  that  ~home
 > symbolic  link (to  /usr/home)  disappeared and  /etc/passwd
 > entries were  pointing to  nowhere. thus  no login.  after i
 > setup back  the symbolic  link everything works  fine. after
 > this i rewrote /etc/passwd to  point to /usr/home instead of
 > /home.
 >

I am also a relative newcomer to PC-BSD, and no authority, but
these sumlinks to  /home and /Programs are by  default, set at
(Continue reading)

cynique | 6 Apr 07:51 2009
Picon

Re: disappering symlinks

thank you both for answers.

i didn't reboot the box after the installation. for reboots i have my
windows desktop box -)

Kris Moore wrote:
> We don't ship any scripts that monkey with the various symlinks here. My guess would be that some 3rd party
program is removing them. What did you install via ports on this system?

i'm aware of that and i don't want to blame pcbsd. i doubt it has
something in common with default installation. why would you somewhere
in the system remove symlinks that are needed for proper working? that
would be silly.

i have installed tons of ports - i have openvpn/openssh, samba,
pure-ftpd, squid, several jails with apache/mysql/php and for boinc and
similar stuph. then i use the machine as a torrent downloader, mail and
im client (alpine, centerim). everything in cli, i use no gui. 'pkg_info
 | wc -l' gives 765 packages, i can list them all, if it might help. my
initial idea was it's because of a hacker attack but after network
disconnect and some offline checks i think that it's not this case.

anyway i was just hoping someone had this issue before.

petr

> ------Original Message------
> From: USM Bish
> Sender: support-bounces@...
> To: cynique
(Continue reading)

Kris Moore | 6 Apr 17:06 2009

Re: Installing the warden and its inmates

USM Bish wrote:
> Kris Moore wrote:
>  >
>  > In the gui, simply right-click the  jail you want to use and
>  > select "install inmate". It'll ask  you for the .wit file at
>  > that point.
>  >
> 
> Thanks  Kris, this  did it.  Looks  silly to  have spent  time
> trying to find out as to how to proceed. This ".wdn" thing put
> me off track,  otherwise would have experimented  with a right
> click. I am not very GUI saavy :-(
> 
> How  do I  do  it from  the  command  line ?  I  am much  more
> comfortable from  the console  rather than this  GUI approach,
> where I really cannot make out what is going on !
> 
> Where can the docs for jails/ wardens/ inmates be found ?
> 
> Thanks again ...
> 
> Bish
> 
> 

Bish,

There should be a "warden" command you can run via the CLI, and you can 
run "warden menu" to bring up a small dialog-based menu system as well. 
You can run "warden" by itself for a listing of commands, and then 
(Continue reading)

Kris Moore | 6 Apr 17:10 2009

Re: Open Sound Issue or OS issue ?

USM Bish wrote:
> Like many  have posted before,  the issue again is  related to
> sound on my  laptop. But then, I am not  being able to fathom,
> as to  whether it  is an  oss issue or  is it  to do  with the
> kernel.  This  mail is  a  bit  long,  but to  shorten  things
> (somewhat), I have placed three text outputs from my system as
> attachments for diagnostic purposes.
> 
> I have  a Dell  Inspiron 1520,  which I am  using for  over 16
> months now, (the hardware components from pciconf output of my
> system  attached). Mine would be one  of  the best  boxes  for
> comparisons because I have  four OSs concurrently running from
> native partitions (not  on vmware), on the same  box. They are
> Win-XP, SuSE-11, OpenSolaris 2008.5 and PC-BSD 7.0.1.
> 
> Yes,  the   hardware  is  definitely  Win-friendly,   and  all
> hardware, specially  sound is not supported  by available open
> source drivers for  the *nices. For SuSE,  sound is functional
> under ALSA, though microphone could not be made to work.
> 
> My  surprise  is under  OpenSolaris  and  PC-BSD. I  am  using
> exactly the  same OSS  driver for  both OSs  on the  same box.
> (Debug  info  for both  OSs  attached).  Whereas I  get  sound
> perfectly (no microphone though) on OpenSolaris, for PC-BSD it
> is still a silent box.
> 
> My question  is, if  the same OSS  driver (version  and build)
> works under  one OS,  why should  not it  work for  another on
> exactly the same box ?
> 
(Continue reading)

USM Bish | 6 Apr 18:56 2009
Picon

Re: Installing the warden and its inmates

Kris Moore wrote:
 > USM Bish wrote:
 >>
[ some snipped ]
 >>
 >> How do  I do  it from  the command  line ?  I am  much more
 >> comfortable from the console rather than this GUI approach,
 >> where I really cannot make out what is going on !
 >>
 >> Where can the docs for jails/ wardens/ inmates be found ?
 >>
 >
 > There  should be  a "warden"  command  you can  run via  the
 > CLI,  and you  can run  "warden menu"  to bring  up a  small
 > dialog-based menu  system as well.  You can run  "warden" by
 > itself  for a  listing of  commands, and  then "warden  help
 > <command>"  for  more  specific information.  As  for  docs,
 > its  still  on my  todo  list,  I  plan  on adding  them  to
 > wiki.pcbsd.org over the summer :)
 >

Eureka ! Kris,  this was specifically what I  was looking for.
Now it is a matter  of experimentation and finding out things.
Learnt a few  things already, and being  without docs actually
makes things interesting ;-) Lets see what all unfurls !

Would be waiting for your docs ...

Incidentally, I have ventured to your  wiki pages on one of my
web  sojourns earlier.  This is  still  in its  infancy (?  on
(Continue reading)


Gmane