| From | Sent On | Attachments |
|---|---|---|
| Baptiste Daroussin | Mar 25, 2011 3:10 am | |
| Alexander Leidinger | Mar 25, 2011 7:06 am | |
| Baptiste Daroussin | Mar 25, 2011 7:14 am | |
| Alexander Leidinger | Mar 25, 2011 7:37 am | |
| Julien Laffaye | Mar 25, 2011 8:02 am | |
| Pietro Cerutti | Mar 25, 2011 8:34 am | |
| Baptiste Daroussin | Mar 25, 2011 8:41 am | |
| Andriy Gapon | Mar 25, 2011 9:35 am | |
| Michel Talon | Mar 25, 2011 9:44 am | |
| Michel Talon | Mar 25, 2011 9:47 am | |
| Eitan Adler | Mar 25, 2011 9:54 am | |
| Thomas Dickey | Mar 25, 2011 12:32 pm | |
| Alexander Leidinger | Mar 25, 2011 1:14 pm | |
| Jos Backus | Mar 25, 2011 1:24 pm | |
| Garrett Cooper | Mar 25, 2011 1:46 pm | |
| Yuri | Mar 25, 2011 2:31 pm | |
| Baptiste Daroussin | Mar 25, 2011 2:37 pm | |
| Alexander Leidinger | Mar 25, 2011 2:52 pm | |
| Marcin Wisnicki | Mar 25, 2011 4:00 pm | |
| Baptiste Daroussin | Mar 26, 2011 3:22 am | |
| Marin Atanasov Nikolov | Mar 26, 2011 5:38 am | .patch |
| Marcin Wisnicki | Mar 26, 2011 6:18 am | |
| Michel Talon | Mar 26, 2011 6:18 am | |
| Julien Laffaye | Mar 26, 2011 4:01 pm | |
| Andriy Gapon | Mar 28, 2011 10:43 am | |
| Garrett Cooper | Mar 28, 2011 10:58 am | |
| Julien Laffaye | Mar 28, 2011 11:22 am | |
| Benjamin Kaduk | Mar 28, 2011 8:30 pm | |
| Tim Kientzle | Mar 28, 2011 9:15 pm | |
| Baptiste Daroussin | Mar 28, 2011 10:50 pm | |
| Julien Laffaye | Mar 29, 2011 5:11 am | |
| Super Bisquit | Mar 29, 2011 7:50 am | |
| Andriy Gapon | Mar 29, 2011 10:37 am | |
| Baptiste Daroussin | Mar 29, 2011 11:27 am | |
| Baptiste Daroussin | Mar 29, 2011 1:29 pm | |
| Andriy Gapon | Mar 31, 2011 7:54 am | |
| Baptiste Daroussin | Mar 31, 2011 8:01 am |
| Subject: | Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install | |
|---|---|---|
| From: | Alexander Leidinger (Alex...@Leidinger.net) | |
| Date: | Mar 25, 2011 1:14:16 pm | |
| List: | org.freebsd.freebsd-ports | |
On Fri, 25 Mar 2011 16:35:21 +0100 Pietro Cerutti <ga...@freebsd.org> wrote:
On 2011-Mar-25, 15:03, Julien Laffaye wrote:
What about DB corruption/loss? Do you keep the /var/db/pkg/<package>/xxx files even with pkgng and only use the DB as a way to speed up some work (so the DB corruption just requires to run pkg2ng), or are you lost of the DB is lost?
Nothing is done about DB corruption/loss, I am not sure we need to do something. Maybe.
I would say "for sure". Info: In Solaris 10 sqlite is used for the service managenemt framework (SMF). It is possible that the DB is corrupt in some bad situations. In this case you have to rebuild the DB (script provided, been there, had to use it).
If sqlite is properly used with transactions, it is very hard to corrupt the database. But if hardware lies to us and say that the
And as I told above, I even had such a case (more than once), and the hardware was not buggy. What do you want to tell in this case, "life sucks, reinstall everything"?
data is on disk whereas it isnt... what can we do?
Sometimes you have to stay with broken hardware.
Another potential problem is fsync(), but if it is broken on FreeBSD we want to fix it!
BTW, the goal is to only have the database and not the flat files. If you are paranoid about power outage, use something like zfs snapshots...
There are more FS than only ZFS (personally I use ZFS, and I have snapshots, but this is not a good solution for this problem).
As I told already, if it isn't automatic, nearly nobody will use it. And the package management stuff has to be automatic, no freshman will think about setting up a snapshot script when he starts to use packages/ports.
No need to look for strange scenarios, I'm surely going to sudo rm -f the file more sooner than later, so... maybe just save a copy?
A copy or two would be enough, but it has to be done automatically, and once a day is not enough. A copy after each X modifications maybe (for suitable definitions of X and 'modifications').
Bye, Alexander.
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "free...@freebsd.org"






.patch