Hi,
in lib/libalpm/alpm.h, you define PM_LOCK to "/tmp/pacman.lck", but the lock file should depend on config->root, a scenario:
I have a chroot at /home/chroot where I ran the following: pacman -Sy -r /home/chroot xorg gnome gnome-extra kde
And i want to update and/or install on my real root ( / ), so I run pacman -Syu
but pacman will exit since /tmp/pacman.lck exist, this is wrong, "pacman -r /home/chroot" should not lock "pacman -r /" since pacman will not touch /var/lib/pacman...
Regards, Wael Nasreddine
On Wed, May 31, 2006 at 03:05:06AM +0200, wael@siemens-mobiles.org wrote:
in lib/libalpm/alpm.h, you define PM_LOCK to "/tmp/pacman.lck", but the lock file should depend on config->root, a scenario:
I have a chroot at /home/chroot where I ran the following: pacman -Sy -r /home/chroot xorg gnome gnome-extra kde
And i want to update and/or install on my real root ( / ), so I run pacman -Syu
but pacman will exit since /tmp/pacman.lck exist, this is wrong, "pacman -r /home/chroot" should not lock "pacman -r /" since pacman will not touch /var/lib/pacman...
what about this patch?
http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=plain_commitdif...;
udv / greetings, VMiklos
VMiklos wrote:
what about this patch? http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=plain_commitdif...;
udv / greetings, VMiklos
Hi,
I think that will do it, let me just finish the current gnome hackings and i'll test it when installing/updating/removing in a chroot..
Thx :)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
VMiklos wrote:
what about this patch?
http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=plain_commitdif...;
udv / greetings, VMiklos
Hi,
It works great, thanks
Regards, Wael Nasreddine
On Sun, Jun 04, 2006 at 01:24:55PM +0200, Wael Nasreddine wael@siemens-mobiles.org wrote:
what about this patch?
http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=plain_commitdif...;
udv / greetings, VMiklos
Hi,
It works great, thanks
then what about including this one in the cvs, too?
also there are 2 new fixes for this patch:
http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20... and http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20...
ps: any news from Aaron "New developer" Griffin?
udv / greetings, VMiklos
On 8/21/06, VMiklos vmiklos@frugalware.org wrote:
ps: any news from Aaron "New developer" Griffin?
Hah. Well, I have been rather busy at work, and don't have much freetime - and that I do get I want to do somethig non-techy, usually.
The first or second week of Sep, this project should be wrapping up, so things should change then.
It looks like the package denyhosts in extra is not using the /etc/denyhosts/denyhosts.cfg file. Denyhosts is a daemon, and all that needs to be done is add
--config=/etc/denyhosts/denyhosts.cfg to the /etc/rc.d/denyhosts start command to have it use the config file. would be useful if the build was updated.
Thanks
--
Is this the correct place for this? I would post a bug in the bug tracker requesting this be changed in a future build.
-- Rob "iBertus" Howard
On 8/28/06, lists@wiki-blog.net lists@wiki-blog.net wrote:
It looks like the package denyhosts in extra is not using the /etc/denyhosts/denyhosts.cfg file. Denyhosts is a daemon, and all that needs to be done is add
--config=/etc/denyhosts/denyhosts.cfg to the /etc/rc.d/denyhosts start command to have it use the config file. would be useful if the build was updated.
Thanks
--
pacman-dev mailing list pacman-dev@archlinux.org http://www.archlinux.org/mailman/listinfo/pacman-dev
On Mon, Aug 28, 2006 at 12:20:49PM -0400, Robert Howard wrote:
Is this the correct place for this? I would post a bug in the bug tracker requesting this be changed in a future build.
-- Rob "iBertus" Howard
On 8/28/06, lists@wiki-blog.net lists@wiki-blog.net wrote:
It looks like the package denyhosts in extra is not using the /etc/denyhosts/denyhosts.cfg file. Denyhosts is a daemon, and all that needs to be done is add
--config=/etc/denyhosts/denyhosts.cfg to the /etc/rc.d/denyhosts start command to have it use the config file. would be useful if the build was updated.
Thanks
--
pacman-dev mailing list pacman-dev@archlinux.org http://www.archlinux.org/mailman/listinfo/pacman-dev
pacman-dev mailing list pacman-dev@archlinux.org http://www.archlinux.org/mailman/listinfo/pacman-dev
Sorry for that, I've gone ahead and added a bug report.
participants (6)
-
Aaron Griffin
-
lists@wiki-blog.net
-
Robert Howard
-
VMiklos
-
Wael Nasreddine
-
wael@siemens-mobiles.org