Elan Ruusamäe | 21 Nov 11:35 2011
Picon

[Bug 891997] Re: /etc/poldek/{fetch,source}.conf identical or empty

** Also affects: pld-linux
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/891997

Title:
  /etc/poldek/{fetch,source}.conf identical or empty

Status in poldek:
  New
Status in PLD Linux Distribution:
  New

Bug description:
  seems in th fetch.conf and source.conf both contain same content == source.conf
  in ac fetch.conf contains content of source.conf and source.conf itself is empty

  so apparently there's race condition when %install is invoked:

  Making install in conf
  make[1]: Entering directory `/home/users/glen/rpm/BUILD.x86_64-linux/poldek-0.30/conf'
  make[2]: Entering directory `/home/users/glen/rpm/BUILD.x86_64-linux/poldek-0.30/conf'
  make[2]: Nothing to be done for `install-exec-am'.
  /bin/sh ../doc/conf-xml2.sh conf ../doc/poldek.conf.xml fetch
  /bin/sh ../doc/conf-xml2.sh conf ../doc/poldek.conf.xml source
  Writing fetch.conf
(Continue reading)

Mark Hurenkamp | 23 Nov 12:27 2011
Picon

[Bug 406397] Re: init: job stuck with expect fork/daemon when parent reaps child

While implementing a new upstart script, i also ran into this problem,
and am now stuck with a job waiting for a non-existing pid.

I think the worst-case scenario has not been mentioned yet, which is
that when the actual pid does appear, it will be killed by this job
thinking it is the process it has been waiting to kill. This could be a
harmless process (or even created for that purpose by a script mentioned
above), but it could also be a critical process. Thus the bug is less
harmless than it appears to be.

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/406397

Title:
  init: job stuck with expect fork/daemon when parent reaps child

Status in Upstart:
  Triaged
Status in “aiccu” package in Ubuntu:
  Confirmed
Status in “upstart” package in Ubuntu:
  Invalid
Status in PLD Linux Distribution:
  New

Bug description:
  Hi

(Continue reading)

Peter Júnoš | 23 Nov 15:31 2011
Picon

[Bug 406397] Re: init: job stuck with expect fork/daemon when parent reaps child

According to Mark Hurenkamp's comment, severity of this bug should be set to Critical.
Image your very important app got the same PID as non-existent process had.
Then Upstart:
- causes data corruption - imagine you are editing your photos and something kills your application during
rewrite of a photo
- severely affects applications beyond the package responsible for the root cause - any application can be
killed ("crashing") randomly

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/406397

Title:
  init: job stuck with expect fork/daemon when parent reaps child

Status in Upstart:
  Triaged
Status in “aiccu” package in Ubuntu:
  Confirmed
Status in “upstart” package in Ubuntu:
  Invalid
Status in PLD Linux Distribution:
  New

Bug description:
  Hi

  Wrong use of the expect fork stanza can create job with status
    job stop/killled, process nnn
(Continue reading)

Clint Byrum | 23 Nov 21:23 2011

[Bug 406397] Re: init: job stuck with expect fork/daemon when parent reaps child

Peter, I understand that this is a dangerous bug. However, it is quite
detectable when a user has made the mistake, and avoidable by taking
care when creating new jobs. So I think Medium is appropriate, as there
are workarounds, and the potential for these problems is quite low.

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/406397

Title:
  init: job stuck with expect fork/daemon when parent reaps child

Status in Upstart:
  Triaged
Status in “aiccu” package in Ubuntu:
  Confirmed
Status in “upstart” package in Ubuntu:
  Invalid
Status in PLD Linux Distribution:
  New

Bug description:
  Hi

  Wrong use of the expect fork stanza can create job with status
    job stop/killled, process nnn
  without any process nnn running on the system.

  As an example the following avahi.conf should have used
(Continue reading)

Cactus | 23 Nov 22:55 2011
Picon

[Bug 813213] Re: poldek fails to see packages from all repos if one repository is broken

Elan check this patch: http://pastebin.com/c90E5pth
is it ok for You?

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/813213

Title:
  poldek fails to see packages from all repos if one repository is
  broken

Status in poldek:
  New
Status in PLD Linux Distribution:
  New

Bug description:
  say, if i have one repo broken:

  # poldek -u grub2
  Loading [pndir]th...
  Loading [pndir]th...
  Loading [dir]local-pld...
  error: opendir /home/glen/rpm/pld/RPMS: No such file or directory
  error: /home/glen/rpm/pld/RPMS: load failed
  Loading [pndir]dsl-delfi...
  Loading [pndir]dsl-delfi...
  warn: no packages loaded
  error: grub2: no such package
(Continue reading)

Cactus | 23 Nov 22:57 2011
Picon

[Bug 813213] Re: poldek fails to see packages from all repos if one repository is broken

diff --git a/pkgset-load.c b/pkgset-load.c
index 470dae5..000e4df 100644
--- a/pkgset-load.c
+++ b/pkgset-load.c
 <at>  <at>  -98,7 +98,7  <at>  <at>  int pkgset_load(struct pkgset *ps, int ldflags, tn_array *sources)
         if ((pkgdir->flags & PKGDIR_LOADED) == 0) {
             if (!pkgdir_load(pkgdir, ps->depdirs, ldflags)) {
                 logn(LOGERR, _("%s: load failed"), pkgdir->idxpath);
-                iserr = 1;
+                //iserr = 1;
             }
         }
         MEMINF("after load %s", pkgdir_idstr(pkgdir));

--

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/813213

Title:
  poldek fails to see packages from all repos if one repository is
  broken

Status in poldek:
  New
Status in PLD Linux Distribution:
  New

Bug description:
  say, if i have one repo broken:
(Continue reading)

Cactus | 23 Nov 23:25 2011
Picon

[Bug 813213] Re: poldek fails to see packages from all repos if one repository is broken

** Changed in: poldek
     Assignee: (unassigned) => Cactus (uzi18)

** Changed in: poldek
       Status: New => Confirmed

** Changed in: poldek
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/813213

Title:
  poldek fails to see packages from all repos if one repository is
  broken

Status in poldek:
  In Progress
Status in PLD Linux Distribution:
  New

Bug description:
  say, if i have one repo broken:

  # poldek -u grub2
  Loading [pndir]th...
  Loading [pndir]th...
  Loading [dir]local-pld...
(Continue reading)

Cactus | 23 Nov 23:29 2011
Picon

[Bug 891997] Re: /etc/poldek/{fetch,source}.conf identical or empty

** Changed in: poldek
       Status: New => Confirmed

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/891997

Title:
  /etc/poldek/{fetch,source}.conf identical or empty

Status in poldek:
  Confirmed
Status in PLD Linux Distribution:
  New

Bug description:
  seems in th fetch.conf and source.conf both contain same content == source.conf
  in ac fetch.conf contains content of source.conf and source.conf itself is empty

  so apparently there's race condition when %install is invoked:

  Making install in conf
  make[1]: Entering directory `/home/users/glen/rpm/BUILD.x86_64-linux/poldek-0.30/conf'
  make[2]: Entering directory `/home/users/glen/rpm/BUILD.x86_64-linux/poldek-0.30/conf'
  make[2]: Nothing to be done for `install-exec-am'.
  /bin/sh ../doc/conf-xml2.sh conf ../doc/poldek.conf.xml fetch
  /bin/sh ../doc/conf-xml2.sh conf ../doc/poldek.conf.xml source
  Writing fetch.conf
  Writing source.conf
(Continue reading)

Elan Ruusamäe | 24 Nov 09:49 2011
Picon

[Bug 891997] Re: /etc/poldek/{fetch,source}.conf identical or empty

09:13:40 +arekm> glen: poldek/doc/conf-xml2.sh uses the same temporary file - 
http://gitorious.org/poldek/poldek/commit/2e9c353717250b3428769e603a757278e3fc9a02/diffs/6e97c9df6cc1c5925b531301871f5e6709dd2b
e7

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/891997

Title:
  /etc/poldek/{fetch,source}.conf identical or empty

Status in poldek:
  Confirmed
Status in PLD Linux Distribution:
  New

Bug description:
  seems in th fetch.conf and source.conf both contain same content == source.conf
  in ac fetch.conf contains content of source.conf and source.conf itself is empty

  so apparently there's race condition when %install is invoked:

  Making install in conf
  make[1]: Entering directory `/home/users/glen/rpm/BUILD.x86_64-linux/poldek-0.30/conf'
  make[2]: Entering directory `/home/users/glen/rpm/BUILD.x86_64-linux/poldek-0.30/conf'
  make[2]: Nothing to be done for `install-exec-am'.
  /bin/sh ../doc/conf-xml2.sh conf ../doc/poldek.conf.xml fetch
  /bin/sh ../doc/conf-xml2.sh conf ../doc/poldek.conf.xml source
  Writing fetch.conf
(Continue reading)

Cactus | 24 Nov 13:49 2011
Picon

[Bug 813213] Re: poldek fails to see packages from all repos if one repository is broken

** Changed in: pld-linux
     Assignee: (unassigned) => Cactus (uzi18)

** Changed in: pld-linux
       Status: New => In Progress

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/813213

Title:
  poldek fails to see packages from all repos if one repository is
  broken

Status in poldek:
  In Progress
Status in PLD Linux Distribution:
  In Progress

Bug description:
  say, if i have one repo broken:

  # poldek -u grub2
  Loading [pndir]th...
  Loading [pndir]th...
  Loading [dir]local-pld...
  error: opendir /home/glen/rpm/pld/RPMS: No such file or directory
  error: /home/glen/rpm/pld/RPMS: load failed
  Loading [pndir]dsl-delfi...
(Continue reading)


Gmane