[leaf-user] Backup

2003-03-18 Thread Doug Sampson
If I modify index.htm in the /var/sh-www directory, which of the packages in
the backup menu do I choose to make a backup? The weblet package? I'm using
DCD 1.0.2.

~Doug


---
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


[leaf-user] backup problem

2002-09-24 Thread Dave Yonovitz

Using the LEAF Bering distribution with a rather large root.lrp (I updated
he lib). when I back up root or initrd, the .lrp file has an extra / in
front of all file entries - making reboot a problem! Other lrp backups are
fine.

Any one seen this problem?

thanks,
dave





---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Backup

2003-03-19 Thread Jorn Eriksen
I backed up the whole Weblet package - that worked well for me...

Jorn
- Original Message -
From: "Doug Sampson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 18, 2003 11:40 PM
Subject: [leaf-user] Backup


> If I modify index.htm in the /var/sh-www directory, which of the packages
in
> the backup menu do I choose to make a backup? The weblet package? I'm
using
> DCD 1.0.2.
>
> ~Doug
>
>
> ---
> This SF.net email is sponsored by: Does your code think in ink?
> You could win a Tablet PC. Get a free Tablet PC hat just for playing.
> What are you waiting for?
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> 
> leaf-user mailing list: [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
>



---
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


[leaf-user] Backup linuxrc

2007-08-17 Thread Munday, Merrick
Hi Folks -- 

With the new apkg backup system on Bering uClibc 3.0.2, how would one backup
a change to linuxrc?  I need to increase the usb_wait time.

Thanks so much! 

Merrick Munday
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] Backup Issue

2012-04-17 Thread Robert K Coffman Jr. -Info From Data Corp.

I'm having the following issue when trying to run configdb backup.

Moddb backup works.

Copying configdb.lrp Please wait: \Terminated

If I run from /bin/sh:

with_storage /var/lib/lrpkg/mnt lrcfg.backup configdb

Same issue.  I can mount the backup partition, write to it, etc.  It is 
an IDE hard disk (vfat, /dev/sda1).

Any ideas as to what could cause this?

- Bob Coffman


--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] backup problem

2002-09-25 Thread Jeff Newmiller

On Wed, 25 Sep 2002, Dave Yonovitz wrote:

> 
> Using the LEAF Bering distribution with a rather large root.lrp (I updated
> he lib). when I back up root or initrd, the .lrp file has an extra / in
> front of all file entries - making reboot a problem! Other lrp backups are
> fine.
> 
> Any one seen this problem?

Yes.  You probably have some storage media (such as your boot
media) mounted but not included in /var/lib/lrpkg/root.exclude.list.

Always unmount your boot media when backing up.

---
Jeff NewmillerThe .   .  Go Live...
DCN:<[EMAIL PROTECTED]>Basics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...2k
---



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] backup problem

2002-09-25 Thread Charles Steinkuehler

> Using the LEAF Bering distribution with a rather large root.lrp (I
updated
> he lib). when I back up root or initrd, the .lrp file has an extra /
in
> front of all file entries - making reboot a problem! Other lrp backups
are
> fine.
>
> Any one seen this problem?

IIRC, I ran into this problem once when /var/lib/lrpkg/root.list
contained "/" (root) instead of "./" (current directory).

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



[leaf-user] backup suid-bit

2008-12-02 Thread Boris
Hej all,


still working on my remote-wakeonlan issue, I reached the next point of
missing know-how:

I need to backup the suid-bit of the ether-wake binary which I need to
set by

chmod u+s /usr/sbin/ether-wake

because I want to execute it not as root. I'm using Bering uclibc 3.x.

Thanks in advance!

Boris


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] Backup Issue

2012-04-17 Thread Dillabough, Dave
I also see this when backing up 4.2.0 to a CF card on an IDE interface. In my 
case when I check the backup has actually completed. Hardware is VIA EPIA Sn 
and EK boards forced to PIO4 for the CF cards.

From: Robert K Coffman Jr. -Info From Data Corp. [bcoff...@infofromdata.com]
Sent: Tuesday, April 17, 2012 9:49 AM
To: leaf-user@lists.sourceforge.net
Subject: [leaf-user] Backup Issue

I'm having the following issue when trying to run configdb backup.

Moddb backup works.

Copying configdb.lrp Please wait: \Terminated

If I run from /bin/sh:

with_storage /var/lib/lrpkg/mnt lrcfg.backup configdb

Same issue.  I can mount the backup partition, write to it, etc.  It is
an IDE hard disk (vfat, /dev/sda1).

Any ideas as to what could cause this?

- Bob Coffman


--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] Backup Issue

2012-04-18 Thread Andrew
It's a known issue. 'Terminated' message, that appears sometime, is 
caused by killing shellscript that prints rotating slash (shellscript 
should process signals, but for unknown reasons sometimes it doesn't). 
It appears after kernel upgrade to 2.6.x. Maybe killing after short 
delay should remove this message.

17.04.2012 19:49, Robert K Coffman Jr. -Info From Data Corp. написал:
> I'm having the following issue when trying to run configdb backup.
>
> Moddb backup works.
>
> Copying configdb.lrp Please wait: \Terminated
>
> If I run from /bin/sh:
>
> with_storage /var/lib/lrpkg/mnt lrcfg.backup configdb
>
> Same issue.  I can mount the backup partition, write to it, etc.  It is
> an IDE hard disk (vfat, /dev/sda1).
>
> Any ideas as to what could cause this?
>
> - Bob Coffman
>
>
> --
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> 
> leaf-user mailing list: leaf-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/


--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] Backup Issue

2012-04-18 Thread Robert K Coffman Jr. -Info From Data Corp.

 > It's a known issue. 'Terminated' message, that appears sometime, is
 > caused by killing shellscript that prints rotating slash (shellscript

It is very disconcerting when doing something important like saving the 
configuration!

As Dave Dillabough reported, I also verified that the backup is 
completing successfully.

- Bob

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] Backup Issue

2012-04-18 Thread Andrew
I added some changes into config package files (redirect of errors from 
ticker script, some additional delays) + some additional checkings. I 
didn't test it - I haven't time to rebuild all (I haven't built 4.x 
tree), because tomorrow I'll go from city for ~2 weeks, so it'll be good 
if somebody will test these changes.

18.04.2012 16:07, Robert K Coffman Jr. -Info From Data Corp. написал:
>   >  It's a known issue. 'Terminated' message, that appears sometime, is
>   >  caused by killing shellscript that prints rotating slash (shellscript
>
> It is very disconcerting when doing something important like saving the
> configuration!
>
> As Dave Dillabough reported, I also verified that the backup is
> completing successfully.
>
> - Bob
>
> --
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> 
> leaf-user mailing list: leaf-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/


--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] Backup on CD-RW

2002-12-17 Thread Heriberto Höhlke
Hello

I have built a Bering boot CD following the instructions of LEAF Bering
User's Guide, saving the configuration on diskette, and it works well.. I
created two Boot CDs, one CD-R and the other CD-RW. Now, I'm trying to
backup all on a CD-RW, but I don't find information. There was only a short
reference in paragraph 8.5 of the Guide.
My initrd.lrp on the CD contains:
  cdrom
  ide-mod
  ide-cd
  ide-probe-mod
  isofs
I would like if someone gives me some information about it.

Thanks
Herbert



Ahora podés usar Yahoo! Messenger desde tu celular. Aprendé cómo hacerlo en Yahoo! 
Móvil: http://ar.mobile.yahoo.com/sms.html


---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



[leaf-user] backup fails (Bering-uclib2.3)

2006-02-11 Thread Thomas Wille
Dear list,

first of all thank you very much for the great job you did creating and
developing Bering.

For building a model-railroad server I created the following package 
srcpd.lrp based on http://srcpd.sourceforge.net and Bering-uclib 2.3rc1

[EMAIL PROTECTED]:~/doc/linuxrouter/Bering1.2/srcpd.lrp$ ls -l srcpd.lrp
-rwxr-xr-x  1 thomas thomas 674496 Feb 11 09:50 srcpd.lrp

all works fine, but when I want to backup the package lrcfg tells something
like:  
new file .../srcpd.lrp 671...
old file .../srcpd 674496

The new package created by lrcfg has about 3 k less then the original
package. After backup and reboot the main binary /usr/sbin/srcpd cannot 
be loaded.

What went wrong and how can I fix this?

For more information I tell you how I proceded:
The following actions I performed with Debian Sarge.
I compiled the srcpd-sources version 2.0.7 and linked them statically. 
Got a 2,5 MB binary, stripped it and got a 1,5 MB file.
I wrote a start-stop-script, a conf-file, the /var/lib/lrpkg-files, created
the package-filesystem, tarred it with arguments czvf and got my package.

For getting smaller files the rest I performed with Woody:
I took my old 2.4.20-patched kernelsource and compiled a small special
kernel. I syslinuxed a floppy and copied initrd, root, config, etc,
keyboard(Bering 1.2-version), modules(2.4.20-version), srcpd, leaf.cfg, 
syslinux.cfg on it. 

my floppy looks like this:
station:/home/thomas/doc/linuxrouter/Bering1.2/srcpd.lrp# ls -l /floppy
total 1652
-rwxr-xr-x  1 root root   5335 Feb  5 13:28 config.lrp
-rwxr-xr-x  1 root root  23984 Feb  5 13:27 etc.lrp
-rwxr-xr-x  1 root root 286199 Feb  6 20:45 initrd.lrp
-rwxr-xr-x  1 root root   1831 Dec 21  2003 keyboard.lrp
-r-xr-xr-x  1 root root   7112 Jun 16  2002 ldlinux.sys
-rwxr-xr-x  1 root root877 Feb  6 17:34 leaf.cfg
-rwxr-xr-x  1 root root 519654 Feb  9 20:39 linux
-rwxr-xr-x  1 root root  15706 Dec 21  2003 modules.lrp
-rwxr-xr-x  1 root root 152904 Aug 22 19:26 root.lrp
-rwxr-xr-x  1 root root 674496 Feb 11 09:37 srcpd.lrp
-rwxr-xr-x  1 root root124 Aug 22 19:27 syslinux.cfg
-rwxr-xr-x  1 root root   1123 Feb  6 21:01 syslinux.dpy

Any help is appreciated

best regards
Thomas Wille


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] backup suid-bit

2008-12-04 Thread Boris
Erich Titl schrieb:
> Boris schrieb:
>> Erich Titl schrieb:
>>> Boris
>>>
> ...
>> I have
>>
>> gate# less /var/lib/lrpkg/local.local
>> var/lib/lrpkg/local.local
>> root/.ssh
>> home
>> home/wolagent
>> usr/sbin/ether-wake
>>
>> But still the suid-bit on ether-wake nor the changed owner on directory
>> wolagent (in /home: chown wolagent:wolagent wolagent) ar saved
> 
> I guess you introduced wolagent to passwd and group
> 

Hej Erich, hej all,

I don't understand what you mean by 'introduce' in this context.
I added wolagent by #adduser wolagent. So, yes, wolagent exists in
passwd and group.
After loosing the homedir through reboot without the good local.local
entries, I made a new one as root, so I got
gate# l
drwxr-xr-x3 root root   60 Dec  3 20:12 .
drwxrwxrwt   17 root root  360 Dec  3 20:12 ..
drwxr-xr-x3 root root  120 Dec  3 20:12 wolagent

With chown wolagent:wolagent wolagent I have
gate# l
drwxr-xr-x3 root root   60 Dec  3 20:12 .
drwxrwxrwt   17 root root  360 Dec  3 20:12 ..
drwxr-xr-x3 wolagent wolagent  120 Dec  3 20:12 wolagent

but this doesn't seem to be saved.

> What do you see with tar xzvf configdb.lrp?
> 

etc/TZ
[..snip..]
etc/shorewall/tunnels
etc/shorewall/zones
home/wolagent/.ssh/authorized_keys
home/wolagent/wolas12
home/wolagent/wolas16
home/wolagent/wolas17
root/.rnd
root/.ssh/test
root/ipscan.sh
root/ipscan.txt
usr/sbin/ether-wake
var/lib/lrpkg/local.local
var/lib/random-seed

MMmhh, there is etherwake in it. But the suid-bit?
Also, I can see the the files and subdirs of /home/wolagent, but what
about the directory wolagent (=content of /home) and his owner-settings
itself?

Thanks,

Boris

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] backup suid-bit

2008-12-04 Thread Erich Titl
Boris schrieb:
> Erich Titl schrieb:
>> Boris schrieb:
>>> Erich Titl schrieb:
 Boris

>> ...
>>> I have
>>>

> 
> With chown wolagent:wolagent wolagent I have
> gate# l
> drwxr-xr-x3 root root   60 Dec  3 20:12 .
> drwxrwxrwt   17 root root  360 Dec  3 20:12 ..
> drwxr-xr-x3 wolagent wolagent  120 Dec  3 20:12 wolagent

there is no suid bit here

> 
> but this doesn't seem to be saved.
> 
>> What do you see with tar xzvf configdb.lrp?
>>
> 
> etc/TZ
> [..snip..]
> etc/shorewall/tunnels
> etc/shorewall/zones
> home/wolagent/.ssh/authorized_keys
> home/wolagent/wolas12
> home/wolagent/wolas16
> home/wolagent/wolas17
> root/.rnd
> root/.ssh/test
> root/ipscan.sh
> root/ipscan.txt
> usr/sbin/ether-wake
> var/lib/lrpkg/local.local
> var/lib/random-seed
> 
> MMmhh, there is etherwake in it. But the suid-bit?
> Also, I can see the the files and subdirs of /home/wolagent, but what
> about the directory wolagent (=content of /home) 

Well if you see its subdirectories it must get created.

Erich


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] backup suid-bit

2008-12-04 Thread Boris
Erich Titl schrieb:
> Boris schrieb:
>> Erich Titl schrieb:
>>> Boris schrieb:
 Erich Titl schrieb:
> Boris
>
>>> ...
 I have

> 
>> With chown wolagent:wolagent wolagent I have
>> gate# l
>> drwxr-xr-x3 root root   60 Dec  3 20:12 .
>> drwxrwxrwt   17 root root  360 Dec  3 20:12 ..
>> drwxr-xr-x3 wolagent wolagent  120 Dec  3 20:12 wolagent
> 
> there is no suid bit here

No, the suid-bit is on /usr/sbin/ether-wake. Here, I'm talking about the
owner and group of the directory wolagent. It shouuld be
wolagent:wolagent after reboot but it is root:root.

> 
>> but this doesn't seem to be saved.
>>
>>> What do you see with tar xzvf configdb.lrp?
>>>
>> etc/TZ
>> [..snip..]
>> etc/shorewall/tunnels
>> etc/shorewall/zones
>> home/wolagent/.ssh/authorized_keys
>> home/wolagent/wolas12
>> home/wolagent/wolas16
>> home/wolagent/wolas17
>> root/.rnd
>> root/.ssh/test
>> root/ipscan.sh
>> root/ipscan.txt
>> usr/sbin/ether-wake
>> var/lib/lrpkg/local.local
>> var/lib/random-seed
>>
>> MMmhh, there is etherwake in it. But the suid-bit?
>> Also, I can see the the files and subdirs of /home/wolagent, but what
>> about the directory wolagent (=content of /home) 
> 
> Well if you see its subdirectories it must get created.

Yes, but with wrong user:group.

Thanks,

Boris

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] backup suid-bit

2008-12-05 Thread Erich Titl
Boris

This is on a 3.x

sentinel# pwd
/tmp
sentinel# ls -l
-rwsr-sr-x1 root root 1284 Nov  6 12:59 foo

my /var/lib/lrpkg/local.local

usr/local
var/lib/lrpkg/local.local
var/lib/lrpkg/etc.local
var/lib/lrpkg/config.local
var/webconf/www/webconf.css
var/webconf/www/lrcfg.cgi
etc/logrotate.d
etc/cron.daily/multicron-d
etc/network
usr/bin/savalog
usr/bin/logrotate
etc/cron.daily/multicron-d
tmp/foo

tar tvzf sentinel.lrp (this is my config file) yields:

-rwsr-sr-x 0/0  1284 2008-11-06 12:59:57 tmp/foo

I deleted the foo file and reinstalled it from the configdb

sentinel# cd /
sentinel# rm /tmp/foo
rm: cannot remove '/tmp/foo': No such file or directory
sentinel# tar xzvf /CF/sentinel.lrp tmp/foo
tmp/foo
sentinel# ls -l /tmp/foo
-rwsr-sr-x1 root root 1284 Nov  6 12:59 /tmp/foo

So the configdb file definitely holds the user and group id as well as
all the mode bits.

If yours does not, then you have to verify the settings before.

Please show us

- the directory entry you claim is not saved correctly

- a tar tzvf configdb.lrp with the settings there

- the result after a xzf configdb.lrp (into /tmp for example) which
shows the bits not set
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] backup suid-bit

2008-12-05 Thread Erich Titl
Boris

Boris wrote:
> Erich Titl schrieb:
>> Boris schrieb:

wolagent:x:1005:1005:Linux User,,,:/home/wolagent:/bin/sh

sentinel# cd /home
sentinel# ls -l
drwxr-xr-x2 root root   40 Dec  5 09:58 wolagent
sentinel# chown wolagent wolagent
sentinel# ls -l
drwxr-xr-x2 wolagent root   40 Dec  5 09:58 wolagent


sentinel# tar xzvf /CF/sentinel.lrp home/wolagent/foo
home/wolagent/foo
sentinel# ls -l
-rwsr-sr-x1 root root 1284 Nov  6 12:59 foo
drwxr-xr-x3 root root   60 Dec  5 10:09 home
sentinel# cd home
sentinel# ls
wolagent
sentinel# ls -l
drwxr-xr-x2 root root   60 Dec  5 10:09 wolagent

Indeed, the settings of the directory are not saved in the configdb.
All I can recommend is in this case to add a init file and set the bits
correctly at startup :-(

cheers

Erich



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] backup suid-bit

2008-12-12 Thread Boris
Erich Titl schrieb:
> Boris
> 
> Boris wrote:
>> Erich Titl schrieb:
>>> Boris
>>>
> ...
> 
>> To have it backuped, I wrote its name to /var/lib/lrpkg/local.local.
>>
>> Executing this file brings me the bits.
>>
>> Last question: Hwo do I make it autoexecuted on startup? I think I have
>> to place somehow a symlink int /etc/rc0, but what kind exactly?
> 
> Your best bet is to look at one of the existing init scripts
> You can find a line like
> 
> RCDLINKS="2,S20 3,S20 4,S20 5,S20 0,K20 1,K20 6,K20"
> 
> in there. This line is responsible for building the sym link in the
> respective rd.d directories, e.g.
> 
> 2,S20
> 
> builds a link in rc.2 with the prefix S20 to the actual script.
> 
> Erich
> 

Hej Erich,


thank you again VERY much for helping me!

And sorry I have to stress you patience once more:

I made this big script:

RCDLINKS="2,S80"
sleep 60
chmod u+s /usr/sbin/ether-wake
chown wolagent:wolagent /home/wolagent

The chown work, but the chmod doesn't! As you can see, I tried to solve
this by delaying the execution - with no success. What makes me really
confused, is that it works when I execute it manually after reboot.

What do you think?

Regards,

Boris

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] backup suid-bit

2008-12-12 Thread Giovanni Franza
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Boris wrote:
> ...
> I made this big script:
> 
> RCDLINKS="2,S80"
> sleep 60
> chmod u+s /usr/sbin/ether-wake
> chown wolagent:wolagent /home/wolagent
> 
> The chown work, but the chmod doesn't! As you can see, I tried to solve
> this by delaying the execution - with no success. What makes me really
> confused, is that it works when I execute it manually after reboot.
> 
> What do you think?
> 
Is it possible that you must first do chown and then chmod ?
Otherwirse it must be possible to do suid at a your shell and then,
giving the ownership to root, you can escale root privileges. To avoid
this, if I remeber well, suid bit will be reset as a result of chown ..

HTH

Giovanni

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJQsiE4yUxzYWi6QcRAvh7AKDN2kzFdM7AtrRFwrVwmoW3Zm40/ACfWMvc
CxpNSpalLxSoDfbKBXyNDMU=
=urMI
-END PGP SIGNATURE-

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] backup suid-bit

2008-12-14 Thread Boris
Giovanni Franza schrieb:
> Boris wrote:
>> ...
>> I made this big script:
> 
>> RCDLINKS="2,S80"
>> sleep 60
>> chmod u+s /usr/sbin/ether-wake
>> chown wolagent:wolagent /home/wolagent
> 
>> The chown work, but the chmod doesn't! As you can see, I tried to solve
>> this by delaying the execution - with no success. What makes me really
>> confused, is that it works when I execute it manually after reboot.
> 
>> What do you think?
> 
> Is it possible that you must first do chown and then chmod ?
> Otherwirse it must be possible to do suid at a your shell and then,
> giving the ownership to root, you can escale root privileges. To avoid
> this, if I remeber well, suid bit will be reset as a result of chown ..
> 

Thanks Giovanni for your thoughts!

MMM, I may try that but to be honest I doubt there is a dependence
because my chown and my chmod have different targets, don't they!?

I also thought of having two independent 'scripts' for that ?


Boris


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] backup suid-bit

2008-12-14 Thread Erich Titl
Hi Boris

Boris wrote:
> Erich Titl schrieb:
>> Boris
>>
>> Boris wrote:
>>> Erich Titl schrieb:
 Boris

>> ...
>>
>>> To have it backuped, I wrote its name to /var/lib/lrpkg/local.local.
>>>
>>> Executing this file brings me the bits.
>>>
>>> Last question: Hwo do I make it autoexecuted on startup? I think I have
>>> to place somehow a symlink int /etc/rc0, but what kind exactly?
>> Your best bet is to look at one of the existing init scripts
>> You can find a line like
>>
>> RCDLINKS="2,S20 3,S20 4,S20 5,S20 0,K20 1,K20 6,K20"
>>
>> in there. This line is responsible for building the sym link in the
>> respective rd.d directories, e.g.
>>
>> 2,S20
>>
>> builds a link in rc.2 with the prefix S20 to the actual script.
>>
>> Erich
>>
> 
> Hej Erich,
> 
> 
> thank you again VERY much for helping me!
> 
> And sorry I have to stress you patience once more:
> 
> I made this big script:
> 
> RCDLINKS="2,S80"
> sleep 60
> chmod u+s /usr/sbin/ether-wake
> chown wolagent:wolagent /home/wolagent
> 
> The chown work, but the chmod doesn't! As you can see, I tried to solve
> this by delaying the execution - with no success. What makes me really
> confused, is that it works when I execute it manually after reboot.
> 

M ... I must admit I _never_ use the character based chmod command,
I somehow got used to the octal representation.

Put some debugging output in your script, it will tell you what happens.

cheers


Erich
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[Leaf-user] Backup configuration before software update

2002-02-08 Thread Bao C. Ha

How do I back up the setup and configuration
before I update a software package?  Basically,
I have the shorewall 1.2.5 lrp package from the
Bering image.  I would like to go to shorewall
1.2.6.  Backing up the etc.lrp does not work,
as no Shorewall-related info is saved.

Thanks.
Bao  

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



[leaf-user] backup bug in bering/shorwall?

2002-09-08 Thread Tony

Good Evening,

I am putting together a bering fw (rc-3) with the latest version of
shorwall.  I am making a CD bootable with the packages I need from J-Nilo's
instructions.  What I am doing is starting with  default files, modifying
for my setup and doing a full backup to diskette.  When I get the setup just
right, burn a new CD with the setup and all my config's in place.

Now, the funny part.  When I make the changes to shorewall, and do a full
backup to the floppy, it is losing the /var/lib/shorewall directory and all
the contents.  I have verified they are listed in the shorwall.list
=
firewall: -root-
# cat shorwall.list
etc/init.d/shorewall
etc/shorewall
sbin/shorewall
var/lib/shorewall
var/lib/lrpkg/shorwall.*

=

Also, I read a thread on the shorwall user list regarding this, but it was
mentioned that the /var/lib/shorewall entry was missing in the .list file,
which you can see above, I have.

Any ideas?

Thanks,

Tony





---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Backup on CD-RW

2002-12-17 Thread Jeff Newmiller
On Tue, 17 Dec 2002, Heriberto Höhlke wrote:

> Hello
> 
> I have built a Bering boot CD following the instructions of LEAF Bering
> User's Guide, saving the configuration on diskette, and it works well.. I
> created two Boot CDs, one CD-R and the other CD-RW. Now, I'm trying to
> backup all on a CD-RW, but I don't find information. There was only a short
> reference in paragraph 8.5 of the Guide.

That text refers to generation of a CD-RW on a development workstation...
not for use in backup.

> My initrd.lrp on the CD contains:
>   cdrom
>   ide-mod
>   ide-cd
>   ide-probe-mod
>   isofs
> I would like if someone gives me some information about it.

The modules you have installed are appropriate for booting from an IDE
cdrom drive.

Writing a CD-R or CD-RW in Linux typically involves the use of the mkisofs
tool to generate the image, and cdrecord to write it to the media.  
Cdrecord only works with SCSI logical devices, so if you have an IDE
CD-R/RW drive then you have to use the ide-scsi.o module.  See the Linux
CD-R Howto for more information on this procedure.

As far as I know, no-one currently writes backups to CDRW directly from
Bering... the packages are perfected on a combination CD/floppy or CD/hard
disk configuration, and the packages stored on the floppy or hd are then
transferred to the CDRW image on the development machine so the floppy or
hard disk becomes unnecessary.  (Note that many older machines typically
used for routers would not have sufficient memory or cpu speed to use
mkisofs/cdrecord anyway, so this has not been a significant problem.)

This process may be cumbersome, but it eliminates concerns about having
your firewall image trojaned in case a cracker gets through the firewall.  
(If they get through the firewall, they can still trojan the memory image,
but a reboot clears that out. You would still need to patch the original
hole, but you can trust a rebooted system if the network is disconnected.)

---
Jeff NewmillerThe .   .  Go Live...
DCN:<[EMAIL PROTECTED]>Basics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...2k
---



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] backup fails (Bering-uclib2.3)

2006-02-11 Thread Eric Spakman
Thomas,

It's very difficult to say what's wrong, most lickely a problem in one of
the /var/lib/lrpkg/ files in your package. You can send the package to me
and I can take a look.

You have a very strange combination of Bering-1.2 and Bering-uClibc-2.3
packages. You use kernel 2.4.20 and glibc, but also use Bering-uClibc
specific packages and files (like config.lrp and leaf.cfg).

Eric

> Dear list,
>
>
> first of all thank you very much for the great job you did creating and
> developing Bering.
>
> For building a model-railroad server I created the following package
> srcpd.lrp based on http://srcpd.sourceforge.net and Bering-uclib 2.3rc1
>
> [EMAIL PROTECTED]:~/doc/linuxrouter/Bering1.2/srcpd.lrp$ ls -l srcpd.lrp
> -rwxr-xr-x  1 thomas thomas 674496 Feb 11 09:50 srcpd.lrp
>
>
> all works fine, but when I want to backup the package lrcfg tells
> something like:
> new file .../srcpd.lrp 671... old file .../srcpd 674496
>
> The new package created by lrcfg has about 3 k less then the original
> package. After backup and reboot the main binary /usr/sbin/srcpd cannot be
> loaded.
>
> What went wrong and how can I fix this?
>
>
> For more information I tell you how I proceded:
> The following actions I performed with Debian Sarge.
> I compiled the srcpd-sources version 2.0.7 and linked them statically.
> Got a 2,5 MB binary, stripped it and got a 1,5 MB file.
> I wrote a start-stop-script, a conf-file, the /var/lib/lrpkg-files,
> created the package-filesystem, tarred it with arguments czvf and got my
> package.
>
> For getting smaller files the rest I performed with Woody:
> I took my old 2.4.20-patched kernelsource and compiled a small special
> kernel. I syslinuxed a floppy and copied initrd, root, config, etc,
> keyboard(Bering 1.2-version), modules(2.4.20-version), srcpd, leaf.cfg,
> syslinux.cfg on it.
>
> my floppy looks like this:
> station:/home/thomas/doc/linuxrouter/Bering1.2/srcpd.lrp# ls -l /floppy
> total 1652 -rwxr-xr-x  1 root root   5335 Feb  5 13:28 config.lrp
> -rwxr-xr-x  1 root root  23984 Feb  5 13:27 etc.lrp
> -rwxr-xr-x  1 root root 286199 Feb  6 20:45 initrd.lrp
> -rwxr-xr-x  1 root root   1831 Dec 21  2003 keyboard.lrp
> -r-xr-xr-x  1 root root   7112 Jun 16  2002 ldlinux.sys
> -rwxr-xr-x  1 root root877 Feb  6 17:34 leaf.cfg
> -rwxr-xr-x  1 root root 519654 Feb  9 20:39 linux
> -rwxr-xr-x  1 root root  15706 Dec 21  2003 modules.lrp
> -rwxr-xr-x  1 root root 152904 Aug 22 19:26 root.lrp
> -rwxr-xr-x  1 root root 674496 Feb 11 09:37 srcpd.lrp
> -rwxr-xr-x  1 root root124 Aug 22 19:27 syslinux.cfg
> -rwxr-xr-x  1 root root   1123 Feb  6 21:01 syslinux.dpy
>
>
> Any help is appreciated
>
>
> best regards Thomas Wille
>
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems?  Stop!  Download the new AJAX search engine that makes
>  searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> 
> leaf-user mailing list: leaf-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
>
>




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [Leaf-user] Backup configuration before software update

2002-02-09 Thread Eric Wolzak

Hello Bao C. Ha,  Tom Eastep, list

> How do I back up the setup and configuration
> before I update a software package?  Basically,
> I have the shorewall 1.2.5 lrp package from the
> Bering image.  I would like to go to shorewall
> 1.2.6.  Backing up the etc.lrp does not work,
> as no Shorewall-related info is saved.

the shorewall configuration files are stored in /etc/shorewall and 
are backed up with the backup of the shorewall.lrp
If you replace it with a new shorewall update, you loose of course 
the settings. 
So as I understand your question correctly :how do i save my 
original settings into the next generation of shorewall.

an update between shorewall versions is not yet implemented, but 
should be good idea. 
In that case you would run a kind of diff programm and update your 
version leafing the settings as they were. 
I send a copy of this message to Tom Eastep

As long as this doesn't exists, there are two situations
1. in the new version there is only a change in the routines, and 
functions. The old format of the configuration files is still valid.
n that case copy your old shorewall.lrp to /tmp
tar -xzf  the shorewall.lrp and copy the configuration files 
zones, rules etc. that you changed to  /etc/shorewall/
after that backup shorewall.

2.  The format of the configuration files has changed.
depending of the complexity of your rules, it is mostly the best to 
just copy the contents and edit the changed parameters.

Or make a small script to automate this 
in pseudo code
read a line from old paremeter file
if it is a comment
print the line to the new file
other wise
edit the line (f.e sed) to make a new format line
print the new line to the new file
fi
close the new file
store the new file in /etc/shorewall/ replacing the old one
backup shorewall.

Most changes in shorewall among updates are corrections in the 
programm part of the package or extending the parameter part f.e. 
make it possible to use a variable for a value.
So it should be mostly backward compatible. 

Hopes this will help you

Hello Tom 
Is it possible to tell at the announcement of new versions.
1) can we  still use the old configuration files
2) if not, which one has to be updated.
3) perhaps even a diff file, for situations like introducing a new 
variable int the parameter file

thanks for the great package !

Eric Wolzak
http://leaf.sf.net/devel/ericw  

bering 
http://leaf.sf.net/devel/jnilo


___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] Backup configuration before software update

2002-02-09 Thread Jeff Newmiller

On Fri, 8 Feb 2002, Bao C. Ha wrote:

> How do I back up the setup and configuration
> before I update a software package?  Basically,
> I have the shorewall 1.2.5 lrp package from the
> Bering image.  I would like to go to shorewall
> 1.2.6.  Backing up the etc.lrp does not work,
> as no Shorewall-related info is saved.

This behavior depends on the package somewhat, but the usual approach is
to backup the package that added the functionality... i.e. shorewall.

---
Jeff NewmillerThe .   .  Go Live...
DCN:<[EMAIL PROTECTED]>Basics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...2k
---


___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



RE: [Leaf-user] Backup configuration before software update

2002-02-09 Thread John Mullan

Hi Bao:  I use Flash Disk and previously Hard Disk.  What I do is boot
from a DOS floppy, copy everything from root to a separate DOS based
directory.  If I need specific CONF files, I mount a floppy (from the
linux prompt), copy the file to floppy.  Then I can use my Windoze
machine and Notepad to view the configuration while I set up the latest
versions.

At least, those are the things I do but I'm still pretty green.

John

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Bao C. Ha
Sent: Friday, February 08, 2002 8:48 PM
To: [EMAIL PROTECTED]
Subject: [Leaf-user] Backup configuration before software update


How do I back up the setup and configuration
before I update a software package?  Basically,
I have the shorewall 1.2.5 lrp package from the
Bering image.  I would like to go to shorewall
1.2.6.  Backing up the etc.lrp does not work,
as no Shorewall-related info is saved.

Thanks.
Bao  

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user


___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [leaf-user] backup bug in bering/shorwall?

2002-09-08 Thread Brad Fritz


Hi Tony,

On Sun, 08 Sep 2002 17:13:21 -0400 Tony wrote:

> Good Evening,
> 
> I am putting together a bering fw (rc-3) with the latest version of
> shorwall.  I am making a CD bootable with the packages I need from J-Nilo's
> instructions.  What I am doing is starting with  default files, modifying
> for my setup and doing a full backup to diskette.  When I get the setup just
> right, burn a new CD with the setup and all my config's in place.
> 
> Now, the funny part.  When I make the changes to shorewall, and do a full
> backup to the floppy, it is losing the /var/lib/shorewall directory and all
> the contents.  I have verified they are listed in the shorwall.list
> =
> firewall: -root-
> # cat shorwall.list
> etc/init.d/shorewall
> etc/shorewall
> sbin/shorewall
> var/lib/shorewall
> var/lib/lrpkg/shorwall.*
> 
> =
> 
> Also, I read a thread on the shorwall user list regarding this, but it was
> mentioned that the /var/lib/shorewall entry was missing in the .list file,
> which you can see above, I have.
> 
> Any ideas?

Not positive, but this sounds like the typical LEAF with
shorewall >= 1.3.3 problem.  Have you edited root.exclude.list
to remove the /var/lib/shorewall entry?  Full instructions at
http://shorewall.net/errata.htm#Upgrade .

--Brad



---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



RE: [leaf-user] backup bug in bering/shorwall?

2002-09-09 Thread Tony

DO'H!

Sorry, I didn't think to look in there, that was it.

Thanks!

Tony



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Brad Fritz
Sent: Sunday, September 08, 2002 8:53 PM
To: Tony
Cc: Leaf-User
Subject: Re: [leaf-user] backup bug in bering/shorwall?



Hi Tony,

On Sun, 08 Sep 2002 17:13:21 -0400 Tony wrote:

> Good Evening,
>
> I am putting together a bering fw (rc-3) with the latest version of
> shorwall.  I am making a CD bootable with the packages I need from
J-Nilo's
> instructions.  What I am doing is starting with  default files, modifying
> for my setup and doing a full backup to diskette.  When I get the setup
just
> right, burn a new CD with the setup and all my config's in place.
>
> Now, the funny part.  When I make the changes to shorewall, and do a full
> backup to the floppy, it is losing the /var/lib/shorewall directory and
all
> the contents.  I have verified they are listed in the shorwall.list
> =
> firewall: -root-
> # cat shorwall.list
> etc/init.d/shorewall
> etc/shorewall
> sbin/shorewall
> var/lib/shorewall
> var/lib/lrpkg/shorwall.*
>
> =
>
> Also, I read a thread on the shorwall user list regarding this, but it was
> mentioned that the /var/lib/shorewall entry was missing in the .list file,
> which you can see above, I have.
>
> Any ideas?

Not positive, but this sounds like the typical LEAF with
shorewall >= 1.3.3 problem.  Have you edited root.exclude.list
to remove the /var/lib/shorewall entry?  Full instructions at
http://shorewall.net/errata.htm#Upgrade .

--Brad



---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



[leaf-user] Backup problems - partial backup in Bering

2002-10-01 Thread Lars Emilsson

Hello
I am trying to set up and testing a VPN-network with Bering and Ipsec. For
testing I am using VmWare (on W2000). VmWare can only read 1,44MB disk and
my plan was to strip down a disk and use Partial Backup and a CD-image.

But I can not get Partial Backup working correct.
I am using Bering_1.0-rc3_img_bering_1680
I have removed all except:
  initrd
  root
  etc
  local
  modules
  shorwall

I am doing a full Backup on initrd and trying to do Partial on the rest.

The only changes I have done to the disk are adding the files for the CD
(IDE) in /boot/... and removing some modules in /lib/modules

I get the message for all package I try to do a Partial Backup:

WARNING - List of local configuration files not found!
  Defaulting to package files in /etc and /varlib/lrpkg

I am also losing information e.g. settings for the interfaces after the
backup.

I have used the Partial Backup on Dachstein without problem and I can not
find any information that helps me.

Anyone who can help me?

/Lars Emilsson



---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



[leaf-user] Backup initrd.lrp with Bering uClibc 2.2.3 ?

2005-02-23 Thread Jacques Nilo
Hello folks !
No I am not coming back... just passing by to ask for some help
I tried to update my "old" Bering 1.2 to the lastest uClibc version :-)
I want to move some modules to boot/lib/modules but then discovered that 
initrd.lrp was not showing up in the backup menu anymore.
Is this a choice or a bug ?  Any work around ?
Also there is apparently a bug when trying to backup config.lrp
Jacques


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


[leaf-user] Backup log on Bering uClibc 3.0.2

2007-04-16 Thread m . debouvry
Hi everybody

I try to find how to save the log files on the Bering uClibc 3.0.2.

When choose the option "s) Save configuration" that don't save the log files and
when i reboot the firewall all the files are reset. It's important to me to
backup the shorewall log for exemple. In the old version i remenber that i can
save the log files but i don't find in the news version !

Thank,

Math


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] Backup problems - partial backup in Bering

2002-10-01 Thread Eric Wolzak

Hello Lars 

You wrote : 

> Hello
> I am trying to set up and testing a VPN-network with Bering and Ipsec. For
> testing I am using VmWare (on W2000). VmWare can only read 1,44MB disk and
> my plan was to strip down a disk and use Partial Backup and a CD-image.
> 
> But I can not get Partial Backup working correct.
> I am using Bering_1.0-rc3_img_bering_1680
> I have removed all except:
>   initrd
>   root
>   etc
>   local
>   modules
>   shorwall
> 
> I am doing a full Backup on initrd and trying to do Partial on the rest.
> 
> The only changes I have done to the disk are adding the files for the CD
> (IDE) in /boot/... and removing some modules in /lib/modules
> 
> I get the message for all package I try to do a Partial Backup:
> 
> WARNING - List of local configuration files not found!
>   Defaulting to package files in /etc and /varlib/lrpkg
> 
> I am also losing information e.g. settings for the interfaces after the
> backup.
> 
> I have used the Partial Backup on Dachstein without problem and I can not
> find any information that helps me.
> 
> Anyone who can help me?
> 
> /Lars Emilsson
> 
There is some help on partial backup at 
http://leaf.sourceforge.net/devel/jnilo/bubooting.html#AEN1168
but on reading again I have to admit it can be a little bit more clearer 
;) 

Partial Backup is a means of backing up that part of the package that 
changes ( usually because you configured some settings) 
It cannot be the only backup . 
The idea ,as you recognised correctly ,is that the "bulk programm 
package" is on one ( for example a read-only) media and a smaller 
part usually the configuration files is written to  a space limited or 
slow  (f.e  a floppy) media
I will describe now how to perform these useing a cd and a floppy  
I use these devices because it easyer to read, but it can ofcourse be 
done with other media as well. 

Now what should happen at boot time
The package is loaded from CD, and is installed ( which means 
extracted to its definive destination), At this moment the configuration 
is in the state you wrote the package to cd (usually a default setting)
Now the partially backed up file is read from the floppy file and the 
files are extracted to their destination, replaceing the default values 
with your settings. 

During backup the programm has to now what files should be 
backed up. So it is possible to use a configuration file for each 
package to list what files are in the partial backup ( lots a like the list 
for the full backup) 
This file is called  packagenname.local and contains lines with 
I /nameof the files  to include this file 
and
E/name_of_a_file to exclude name_of_a_file
always include 
I/var/lib/lrpkg/PACKAGENAME so at least packagename.local is 
backed up.

Now to your questions.
If this ".local" file is not found then the backup assumes that you want 
to backup the configuration files, hence all files belonging to this 
package and located in /etc and the /var/lib/lrpkg/thispackage files.
This is for most situations a good selection.
Note this is not an error .

2. If at reboot the order in which the package are loaded is not CD 
and after that floppy, you will overwrite the configured files with the 
ones from CD and all your settings are lost again.
read the chapter on partially backup and order of file loading at 

http://leaf.sourceforge.net/devel/jnilo/bubooting.html#AEN1168

Note If i recall correctly the search order is slightly different from the 
Dachstein CDversion.


Hope this helps 

Eric Wolzak
member of the Bering Crew 



---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



[leaf-user] backup lrp package with single shell command

2003-04-04 Thread Dimitris Kollias
Hi,
Is there a way to backup a lrp package in Bering using
a single command with some parameters?

Thanks

__
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com


---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


Re: [leaf-user] Backup initrd.lrp with Bering uClibc 2.2.3 ?

2005-02-23 Thread Arne Bernin
On Wed, 2005-02-23 at 10:10 +0100, Jacques Nilo wrote:
> Hello folks !

Hi Jacques!

> No I am not coming back... just passing by to ask for some help
> I tried to update my "old" Bering 1.2 to the lastest uClibc version :-)
> I want to move some modules to boot/lib/modules but then discovered that 
> initrd.lrp was not showing up in the backup menu anymore.

Just downloaded a fresh Bering-uclibc 2.2.3 put it in my qemu and took a
look if that appears here , too. It does not. I see initrd in the backup
menu and can backup it. Did you use the img or the windows exe for the
disk ?

> Is this a choice or a bug ?  Any work around ?

I would definitly consider this as bug.

> Also there is apparently a bug when trying to backup config.lrp

What bug do you see? It does not happen here, at least i can backup
config.lrp.
So maybe you can provide more information about what is happening on
your side.

> Jacques
> 

--arne

-- 
Arne Bernin <[EMAIL PROTECTED]>



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


Re: [leaf-user] Backup initrd.lrp with Bering uClibc 2.2.3 ?

2005-02-23 Thread Jacques Nilo
Arne
My bad :-(
I did the install on my CF card too quickly without following the 
detailed instructions written sometimes ago :-)
When installing Bering using grub as a boot loader the /init=initrd.lrp 
statement must be written twice as explained in
http://leaf.sourceforge.net/doc/guide/bugrub.html
Everything is fixed now.
Good work guys !
So long
Jacques


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


Re: [leaf-user] Backup initrd.lrp with Bering uClibc 2.2.3 ?

2005-02-23 Thread K.-P. Kirchdörfer
Am Mittwoch, 23. Februar 2005 16:48 schrieb Jacques Nilo:

>> No I am not coming back... just passing by to ask for some help

Jacques;

anyway, great to see you again.  

> Arne
> My bad :-(
> I did the install on my CF card too quickly without following the
> detailed instructions written sometimes ago :-)

Yep, RTFM :)

> When installing Bering using grub as a boot loader the
> /init=initrd.lrp statement must be written twice as explained in
> http://leaf.sourceforge.net/doc/guide/bugrub.html
> Everything is fixed now.
> Good work guys !

You're welcome.
And you know, we owe you a lot!

Hope you'll have fun and success with your updated LEAF router.

kp


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


Re: [leaf-user] Backup log on Bering uClibc 3.0.2

2007-04-16 Thread KP Kirchdoerfer
HI Math;

Am Montag, 16. April 2007 16:57:24 schrieb [EMAIL PROTECTED]:
> Hi everybody
>
> I try to find how to save the log files on the Bering uClibc 3.0.2.
>
> When choose the option "s) Save configuration" that don't save the log
> files and when i reboot the firewall all the files are reset. It's
> important to me to backup the shorewall log for exemple. In the old version
> i remenber that i can save the log files but i don't find in the news
> version !

It isn't possible to save the logfiles together with the configuration in the 
versions 3.x  and it shouldn't be added IMHO.
Due to the fundamental changes in the backup framework, it will slow down the 
reboot and it may even not work as you expect, or will have side effects 
which can annoy others (overwriting the boot messages).

But you can add a similar functionality, as you've used in earlier versions, 
easily yourself - let a cronjob do a "tar cvf /mnt/log.tar /var/log/*" (maybe 
you have to mount the device before and umount after).
But then every log message not saved to your device before a reboot, by 
accident, by an attacker or whatelse, is lost.

A more secure approach is to do remote logging. syslogd is capable of doing 
that, and shorewall can log to syslog - it does need some playing (I'm not 
going to write a how-to here and yet :)) - but you may start with:
man syslogd
and
http://www.shorewall.net/shorewall_logging.html
(note LEAF Bering-uClibc uses ULOG)

hth
kp

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] Backup log on Bering uClibc 3.0.2

2007-04-16 Thread Eric Spakman
Hi Math,

You can scp the logfiles to a Windows or Linux system.

Eric

> Hi everybody
>
>
> I try to find how to save the log files on the Bering uClibc 3.0.2.
>
>
> When choose the option "s) Save configuration" that don't save the log
> files and when i reboot the firewall all the files are reset. It's
> important to me to backup the shorewall log for exemple. In the old
> version i remenber that i can save the log files but i don't find in the
> news version !
>
> Thank,
>
>
> Math
>
>
>
> -
>  This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> leaf-user mailing list: leaf-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
>
>



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] backup lrp package with single shell command

2003-04-04 Thread Lynn Avants
On Friday 04 April 2003 03:43 am, Dimitris Kollias wrote:
> Hi,
> Is there a way to backup a lrp package in Bering using
> a single command with some parameters?

Kind of. Check the /usr/sbin/back.script which builds a
command out of a combination of loop variables which would
need to be specified. You could also dig a (possibly) better
example out of the 'install scripts' I wrote for Dachstein
linked from: http://leaf.sf.net/devel/guitarlynn

-- 
~Lynn Avants
Linux Embedded Appliance Firewall Developer
http://leaf.sourceforge.net
http://guitarlynn.homelinux.org:81


---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html