Re: [Mageia-dev] beta 4 installer notes
On 10 April 2013 10:19, Colin Guthrie wrote: > > > > This is due to moving 'filesystem' %post script in basesystem-minimal I > > think. > > Out of completeness, why does this cause problems? Also I see no %post > script in basesystem-minimal anyway so not sure how it could cause > problems :D http://svnweb.mageia.org/packages/cauldron/basesystem/current/SPECS/basesystem.spec?view=markup#l71 %posttrans minimal pwconv 2>/dev/null >/dev/null || : grpconv 2>/dev/null >/dev/null || : this means /etc/shadow is created later, once basesystem-minimal has been installed > > Could be fixed by making mailman doing this: > >Requires(post): basesystem-minimal > > That should solve the crontab issue (so a grep for that should also be > done I guess - although having now done that, it seems only mailman uses > it :D). > > > Colin, could you grep for packages invoking su in their post script so that > > we can fix them all? > > Not many: > > openbravo/current/SPECS/openbravo.spec > bacula/current/SPECS/bacula.spec > mailman/current/SPECS/mailman.spec > mercurial-server/current/SPECS/mercurial-server.spec > cyrus-imapd/current/SPECS/cyrus-imapd.spec Also another way to fix it would be to kill that %posttrans and to just run those commands in filesystem's %build On upgrade, anyway /etc/shadow already exists for a decade BTW this is what Fedora does (but they do it in setup instead): http://pkgs.fedoraproject.org/cgit/setup.git/plain/setup.spec
Re: [Mageia-dev] beta 4 installer notes
'Twas brillig, and Thierry Vignaud at 10/04/13 06:03 did gyre and gimble: > On 10 April 2013 06:58, Liam R E Quin wrote: (5) a message, "script failed for mailman_2.1.15-3.mga3-x86-64:" (there was a blank line underneath but no more text) >>> >>> the exact error should be in your /root/drakx/install.log (also included >>> in your /root/drakx/report.bug.xz) >> >> it is, but the blank message doesn't seem very polished. > > we can just be notified by rpm there was an error in a callback. > We don't have details at that stage. > Those were spit by rpm itself in the log file. > There's nothing we can do > >> [[ >> /var/tmp/rpm-tmp.J7elL9: line 31: crontab: command not found >> /usr/sbin/postconf: warning: inet_protocols: disabling IPv6 name/address >> support: Address family not supported by protocol >> postalias: warning: inet_protocols: disabling IPv6 name/address support: >> Address family not supported by protocol >> su: Insufficient credentials to access authentication data >> su: Insufficient credentials to access authentication data >> %post(mailman-2.1.15-3.mga3.x86_64) scriptlet failed, exit status 1 >> mailman-2.1.15-3.mga3.x86_64 >> ]] > > This is due to moving 'filesystem' %post script in basesystem-minimal I think. Out of completeness, why does this cause problems? Also I see no %post script in basesystem-minimal anyway so not sure how it could cause problems :D Do you maybe mean the pretrans stuff in filesystem package itself (written in lua)? Even still I'm not sure how this would affect paths as the symlinks should mean all binaries are available under the same paths as they were before. I can't rule it out of course, but I (so far) don't see how this could affect things. > Could be fixed by making mailman doing this: >Requires(post): basesystem-minimal That should solve the crontab issue (so a grep for that should also be done I guess - although having now done that, it seems only mailman uses it :D). > Colin, could you grep for packages invoking su in their post script so that > we can fix them all? Not many: openbravo/current/SPECS/openbravo.spec bacula/current/SPECS/bacula.spec mailman/current/SPECS/mailman.spec mercurial-server/current/SPECS/mercurial-server.spec cyrus-imapd/current/SPECS/cyrus-imapd.spec -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/
Re: [Mageia-dev] beta 4 installer notes
On 10 April 2013 06:58, Liam R E Quin wrote: >> > (5) a message, >> > "script failed for mailman_2.1.15-3.mga3-x86-64:" >> > >> > (there was a blank line underneath but no more text) >> >> the exact error should be in your /root/drakx/install.log (also included >> in your /root/drakx/report.bug.xz) > > it is, but the blank message doesn't seem very polished. we can just be notified by rpm there was an error in a callback. We don't have details at that stage. Those were spit by rpm itself in the log file. There's nothing we can do > [[ > /var/tmp/rpm-tmp.J7elL9: line 31: crontab: command not found > /usr/sbin/postconf: warning: inet_protocols: disabling IPv6 name/address > support: Address family not supported by protocol > postalias: warning: inet_protocols: disabling IPv6 name/address support: > Address family not supported by protocol > su: Insufficient credentials to access authentication data > su: Insufficient credentials to access authentication data > %post(mailman-2.1.15-3.mga3.x86_64) scriptlet failed, exit status 1 > mailman-2.1.15-3.mga3.x86_64 > ]] This is due to moving 'filesystem' %post script in basesystem-minimal I think. Could be fixed by making mailman doing this: Requires(post): basesystem-minimal Colin, could you grep for packages invoking su in their post script so that we can fix them all?
Re: [Mageia-dev] beta 4 installer notes
On Wed, 2013-04-10 at 06:38 +0200, Thierry Vignaud wrote: > On 10 April 2013 03:44, Liam R E Quin wrote: > > I tried installing Mageia 3 Beta 4 on an ASUS 64-bit PC, > > a network install. > > > > A couple of problems I noticed: > > > > (1) insmoding xen_blkfront failed > > /lib/libDrakX/modules.pm line 96 > > > > (I was not using a virtual machine, this was an install onto > > a physical PC) > > already fixed cool > > > (4) the installer doesn't redraw itself on an expose event, > > so if you switch to another virtual console and back, > > the installer is then a blank rectangle with rounded > > corners, sometimes for quite a long time (minutes) > > there's one single process, so expose event are managed once in a while > in rpm callback Just pointing it out :) > > > (5) a message, > > "script failed for mailman_2.1.15-3.mga3-x86-64:" > > > > (there was a blank line underneath but no more text) > > the exact error should be in your /root/drakx/install.log (also included > in your /root/drakx/report.bug.xz) it is, but the blank message doesn't seem very polished. [[ /var/tmp/rpm-tmp.J7elL9: line 31: crontab: command not found /usr/sbin/postconf: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol postalias: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol su: Insufficient credentials to access authentication data su: Insufficient credentials to access authentication data %post(mailman-2.1.15-3.mga3.x86_64) scriptlet failed, exit status 1 mailman-2.1.15-3.mga3.x86_64 ]] Thanks for replying. Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml The barefoot programmer
Re: [Mageia-dev] beta 4 installer notes
On 10 April 2013 03:44, Liam R E Quin wrote: > I tried installing Mageia 3 Beta 4 on an ASUS 64-bit PC, > a network install. > > A couple of problems I noticed: > > (1) insmoding xen_blkfront failed > /lib/libDrakX/modules.pm line 96 > > (I was not using a virtual machine, this was an install onto > a physical PC) already fixed > (4) the installer doesn't redraw itself on an expose event, > so if you switch to another virtual console and back, > the installer is then a blank rectangle with rounded > corners, sometimes for quite a long time (minutes) there's one single process, so expose event are managed once in a while in rpm callback > (5) a message, > "script failed for mailman_2.1.15-3.mga3-x86-64:" > > (there was a blank line underneath but no more text) the exact error should be in your /root/drakx/install.log (also included in your /root/drakx/report.bug.xz)