[gentoo-user] per-user subversion repository

2005-04-06 Thread Qiangning Hong
I want to let normal users to svnadmin create their own repsoities in
their home dir and can access the repositories via apache using
http://myhost/~username/svn/repos1, etc... And also, the user can
assign username/password pairs for accessing his reposities.

 --- Anyone has tried this?

Most tutorials I googled are talking about creating reposities in a
system-wide location such as /var/svn and writing static apache config
file. How to move the config part from /etc/apache to a user-base
location?

-- Qiangning HongGet Firefox! http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1

[gentoo-user] Add files to Live-CD

2005-03-04 Thread Qiangning Hong
I want to add some my personal files to gentoo live-cd to carry on
with.  I downloaded install-x86-minimal-2004.3-r1.iso as a base.  I
tried the following but failed:

# mount -o loop install-x86-minimal-2004.3-r1.iso /mnt/loop
# cp myfiles.tar.gz /mnt/loop
cp: cannot create regular file `/mnt/loop/firefly_dbtsai.sh':
Read-only file system

So I think I must re-mkisofs the live-cd... but how to keep the
bootable function (i.e. extract the boot floppy image out from livecd
iso file)


-- 
Get Firefox!
http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Restart X while emerging in xterm?

2005-02-19 Thread Qiangning Hong
I have started a long-time emerging in an xterm.  For some reason i
want to restart X, but I don't want to intercept the emerging process.
 Is it possible that I suspend it and restart X and resume it in
another xterm?


-- 
Excellent FOSS (Free/Open Source Software):

Get Firefox!
http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1

Reclaim Your Inbox!
http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=183

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Monitor stability of HDD which has no SMART support

2005-02-17 Thread Qiangning Hong
I have a SAMBA server running.  The hard disk is a ATA-1 flash drive
which does not support S.M.A.R.T.  However, I still want to know it's
stablity status. Actually, according to the customer requirement, it
should generate an alarm message everytime a non-correctable error has
occurred.

The data partition is a reiserfs partition.  If an error occurs, will
reiserfs record the error in a log file somewhere?  If so, is it
sufficient to monitor the log file and find the pattern of error
message string to achieve my goal?

-- 
Excellent FOSS (Free/Open Source Software):

Get Firefox!
http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1

Reclaim Your Inbox!
http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=183

--
gentoo-user@gentoo.org mailing list



[gentoo-user] samba/reiserfs io error log

2005-02-17 Thread Qiangning Hong
Will reiserfs write a log entry when file IO failed because of failure
of hard disk (for example, bad block)?

If not, will samba have such a log file?

-- 
Excellent FOSS (Free/Open Source Software):

Get Firefox!
http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1

Reclaim Your Inbox!
http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=183

--
gentoo-user@gentoo.org mailing list



[gentoo-user] OT: encrypt with smime.p7s

2005-02-01 Thread Qiangning Hong
I received an email from one of my work partners with a attachment named 
smime.p7s.  He want me to reply an encrypted letter using this public 
key.  I have no certificates currently and thunderbird disallow me to 
use the Security/Encrypt This Message option of the compose window. 
Do I really need a certificate?  I was thinking the other's public key 
ought to be sufficient.

--
gentoo-user@gentoo.org mailing list


[gentoo-user] how to let one user can change another's passwd?

2005-01-31 Thread Qiangning Hong
I want user1 can change the password of user2, but can not change 
user3's.  How?


--
gentoo-user@gentoo.org mailing list


[gentoo-user] make a server on a resource-limited machine

2005-01-31 Thread Qiangning Hong
I want to make a i486 machine to run SAMBA server,  with the following 
requirements:

- The whole system should run under 32MB memory.
- The boot partition is less than 5MB, the system partition is less than 
32MB, and the rest of hard disk for shared data. (Actually the hard disk 
is an expensive flash drive, that's why we want as little as possible of 
disk space used by system itself)

I know it can be done using some binary distro such as RedHat or Debian, 
but I am only some familiar with Gentoo and just love it.  Is it 
possible to boot the i486 machine with Gentoo LiveCD and only copy the 
needed software (in binary format of course) to it from the developper's 
gentoo box?  That is, no gcc, no portage, no anything that is only 
required for compilation?

--
gentoo-user@gentoo.org mailing list


[gentoo-user] How to get bit errors infomation from hard disk?

2005-01-30 Thread Qiangning Hong
I want to write a script to get infomation about the stability of my IDE 
hard disk.  I want to know how many bit errors have occured and 
corrected.  I think it maybe can be retrieved from S.M.A.R.T so I 
emerge'd ide-smart, but the output of ide-smart looks like a mess for 
me.  How can I tell the bit errors infomation from the following?  Or I 
should use another method to achieve my goal?

[EMAIL PROTECTED] app-admin $ sudo ide-smart -d /dev/hda
Id=  1  Status=41  {Prefailure  OffLine}  Value=100  Threshold= 20  Passed
Id=  3  Status=39  {Prefailure  Online }  Value= 80  Threshold= 20  Passed
Id=  4  Status=50  {AdvisoryOnline }  Value= 99  Threshold=  8  Passed
Id=  5  Status=51  {Prefailure  Online }  Value=100  Threshold= 20  Passed
Id=  7  Status=11  {Prefailure  Online }  Value=100  Threshold= 23  Passed
Id=  9  Status=18  {AdvisoryOnline }  Value= 93  Threshold=  1  Passed
Id= 10  Status=38  {AdvisoryOnline }  Value=100  Threshold=  0  Passed
Id= 11  Status=19  {Prefailure  Online }  Value=100  Threshold= 20  Passed
Id= 12  Status=50  {AdvisoryOnline }  Value= 99  Threshold=  8  Passed
Id= 13  Status=11  {Prefailure  Online }  Value=100  Threshold= 23  Passed
Id=194  Status=34  {AdvisoryOnline }  Value= 87  Threshold= 42  Passed
Id=195  Status=26  {AdvisoryOnline }  Value=100  Threshold=  0  Passed
Id=196  Status=16  {AdvisoryOffLine}  Value=100  Threshold= 20  Passed
Id=197  Status=50  {AdvisoryOnline }  Value=100  Threshold= 20  Passed
Id=198  Status=16  {AdvisoryOffLine}  Value=100  Threshold=  0  Passed
Id=199  Status=26  {AdvisoryOnline }  Value=197  Threshold=  0  Passed
OffLineStatus=2 {Completed}, AutoOffLine=No, OffLineTimeout=0 minutes
OffLineCapability=27 {Immediate Auto SuspendOnCmd}
SmartRevision=11, CheckSum=189, SmartCapability=3 {SaveOnStandBy AutoSave}
--
gentoo-user@gentoo.org mailing list