* Re: [devel] [#210675] EPERM bash.git=4.2.53-alt1 @ 2018-07-24 9:15 ` Aleksei Nikiforov 2018-07-24 9:25 ` Michael Shigorin 2018-07-24 11:29 ` Dmitry V. Levin 0 siblings, 2 replies; 13+ messages in thread From: Aleksei Nikiforov @ 2018-07-24 9:15 UTC (permalink / raw) To: ALT Linux Team development discussions Здравствуйте. Я собрал для тестов bash-4.2.53 в качестве основного bash в системе, прошу заинтересованных потестировать. С уважением, Алексей Никифоров 23.07.2018 17:11, Girar Builder awaiter robot пишет: > http://git.altlinux.org/tasks/210675/logs/events.1.1.log > > 2018-Jul-23 13:49:50 :: test-only task #210675 for sisyphus started by darktemplar: > #100 removed > #200 build 4.2.53-alt1 from /people/darktemplar/packages/bash.git fetched at 2018-Jul-23 13:49:18 > 2018-Jul-23 13:49:51 :: [x86_64] #200 bash.git 4.2.53-alt1: build start > 2018-Jul-23 13:49:51 :: [i586] #200 bash.git 4.2.53-alt1: build start > 2018-Jul-23 13:49:51 :: [aarch64] #200 bash.git 4.2.53-alt1: build start > 2018-Jul-23 13:57:29 :: [x86_64] #200 bash.git 4.2.53-alt1: build OK > 2018-Jul-23 13:57:35 :: [i586] #200 bash.git 4.2.53-alt1: build OK > 2018-Jul-23 14:01:31 :: [aarch64] #200 bash.git 4.2.53-alt1: build OK > 2018-Jul-23 14:02:18 :: build check OK > 2018-Jul-23 14:02:23 :: noarch check OK > 2018-Jul-23 14:02:24 :: plan: src +1 -1 =18629, aarch64 +5 -5 =28980, i586 +5 -5 =34070, noarch +2 -2 =19035, x86_64 +5 -5 =34122 > 2018-Jul-23 14:02:24 :: version check OK > 2018-Jul-23 14:02:24 :: bash: closes bugs: 31399 > 2018-Jul-23 14:03:49 :: generated apt indices > 2018-Jul-23 14:03:49 :: created next repo > 2018-Jul-23 14:04:15 :: dependencies check OK > 2018-Jul-23 14:05:27 :: ELF symbols check OK > 2018-Jul-23 14:05:48 :: [x86_64] #200 bash: part of basesystem, install check OK > 2018-Jul-23 14:05:48 :: [i586] #200 bash: part of basesystem, install check OK > 2018-Jul-23 14:06:05 :: [x86_64] #200 bash-debuginfo: install check OK > 2018-Jul-23 14:06:06 :: [i586] #200 bash-debuginfo: install check OK > 2018-Jul-23 14:06:21 :: [x86_64] #200 bash-devel: install check OK > 2018-Jul-23 14:06:22 :: [i586] #200 bash-devel: install check OK > 2018-Jul-23 14:06:26 :: [aarch64] #200 bash: part of basesystem, install check OK > 2018-Jul-23 14:06:37 :: [x86_64] #200 bash-doc: install check OK > 2018-Jul-23 14:06:38 :: [i586] #200 bash-doc: install check OK > 2018-Jul-23 14:06:53 :: [x86_64] #200 bash-examples: install check OK > 2018-Jul-23 14:06:53 :: [i586] #200 bash-examples: install check OK > 2018-Jul-23 14:07:03 :: [i586] #200 sh: part of basesystem, install check OK > 2018-Jul-23 14:07:03 :: [x86_64] #200 sh: part of basesystem, install check OK > 2018-Jul-23 14:07:18 :: [aarch64] #200 bash-debuginfo: install check OK > 2018-Jul-23 14:07:21 :: [x86_64] #200 sh-debuginfo: install check OK > 2018-Jul-23 14:07:21 :: [i586] #200 sh-debuginfo: install check OK > 2018-Jul-23 14:08:08 :: [aarch64] #200 bash-devel: install check OK > 2018-Jul-23 14:08:58 :: [aarch64] #200 bash-doc: install check OK > 2018-Jul-23 14:09:46 :: [aarch64] #200 bash-examples: install check OK > 2018-Jul-23 14:10:20 :: [aarch64] #200 sh: part of basesystem, install check OK > 2018-Jul-23 14:11:17 :: [aarch64] #200 sh-debuginfo: install check OK > 2018-Jul-23 14:11:49 :: [x86_64-i586] generated apt indices > 2018-Jul-23 14:11:49 :: [x86_64-i586] created next repo > 2018-Jul-23 14:11:57 :: [x86_64-i586] dependencies check OK > 2018-Jul-23 14:11:58 :: gears inheritance check OK > 2018-Jul-23 14:11:58 :: srpm inheritance check OK > girar-check-perms: access to bash DENIED for darktemplar: does not belong to approved builders list: ldv glebfm > bash: Operation not permitted > 2018-Jul-23 14:11:58 :: acl check FAILED > 2018-Jul-23 14:11:58 :: task #210675 for sisyphus EPERM > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] [#210675] EPERM bash.git=4.2.53-alt1 2018-07-24 9:15 ` [devel] [#210675] EPERM bash.git=4.2.53-alt1 Aleksei Nikiforov @ 2018-07-24 9:25 ` Michael Shigorin 2018-07-24 9:33 ` Aleksei Nikiforov 2018-07-24 11:29 ` Dmitry V. Levin 1 sibling, 1 reply; 13+ messages in thread From: Michael Shigorin @ 2018-07-24 9:25 UTC (permalink / raw) To: devel On Tue, Jul 24, 2018 at 12:15:48PM +0300, Aleksei Nikiforov wrote: > Я собрал для тестов bash-4.2.53 в качестве основного bash в > системе, прошу заинтересованных потестировать. Сразу 4.4.18 неохота?.. > > 2018-Jul-23 14:11:58 :: task #210675 for sisyphus EPERM -- ---- WBR, Michael Shigorin / http://altlinux.org ------ http://opennet.ru / http://anna-news.info ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] [#210675] EPERM bash.git=4.2.53-alt1 2018-07-24 9:25 ` Michael Shigorin @ 2018-07-24 9:33 ` Aleksei Nikiforov 2018-07-24 9:45 ` Alexey Tourbin 0 siblings, 1 reply; 13+ messages in thread From: Aleksei Nikiforov @ 2018-07-24 9:33 UTC (permalink / raw) To: devel 24.07.2018 12:25, Michael Shigorin пишет: > On Tue, Jul 24, 2018 at 12:15:48PM +0300, Aleksei Nikiforov wrote: >> Я собрал для тестов bash-4.2.53 в качестве основного bash в >> системе, прошу заинтересованных потестировать. > > Сразу 4.4.18 неохота?.. > vanilla bash 4.4.18 собрать не сложно, как и 4.4.23, но пакеты bash и bash4 ещё дополнительно значительно пропатчены, и большинство из этих патчей просто так на ветку 4.4 не переносятся, поэтому ИМХО лучше такой апгрейд с 4.2 до 4.4 сделать отдельно. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] [#210675] EPERM bash.git=4.2.53-alt1 2018-07-24 9:33 ` Aleksei Nikiforov @ 2018-07-24 9:45 ` Alexey Tourbin 0 siblings, 0 replies; 13+ messages in thread From: Alexey Tourbin @ 2018-07-24 9:45 UTC (permalink / raw) To: ALT Linux Team development discussions 2018-07-24 12:33 GMT+03:00 Aleksei Nikiforov <darktemplar@altlinux.org>: > 24.07.2018 12:25, Michael Shigorin пишет: >> >> On Tue, Jul 24, 2018 at 12:15:48PM +0300, Aleksei Nikiforov wrote: >>> >>> Я собрал для тестов bash-4.2.53 в качестве основного bash в >>> системе, прошу заинтересованных потестировать. >> >> >> Сразу 4.4.18 неохота?.. >> > > vanilla bash 4.4.18 собрать не сложно, как и 4.4.23, но пакеты bash и bash4 > ещё дополнительно значительно пропатчены, и большинство из этих патчей > просто так на ветку 4.4 не переносятся, поэтому ИМХО лучше такой апгрейд с > 4.2 до 4.4 сделать отдельно. Мужчина, в bash-4.2 нету "wait -n". Зачем такой bash нужен. А то что патчи не прикладывают, это, как говорил Поприщин, "чрезвычайно больно бьётся проклятая палка". ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] [#210675] EPERM bash.git=4.2.53-alt1 2018-07-24 9:15 ` [devel] [#210675] EPERM bash.git=4.2.53-alt1 Aleksei Nikiforov 2018-07-24 9:25 ` Michael Shigorin @ 2018-07-24 11:29 ` Dmitry V. Levin 2018-07-24 12:09 ` Alexey Tourbin 1 sibling, 1 reply; 13+ messages in thread From: Dmitry V. Levin @ 2018-07-24 11:29 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 390 bytes --] Hi, On Tue, Jul 24, 2018 at 12:15:48PM +0300, Aleksei Nikiforov wrote: > Здравствуйте. > > Я собрал для тестов bash-4.2.53 в качестве основного bash в системе, > прошу заинтересованных потестировать. bash3 (/bin/sh3 и /bin/bash3) нужно сохранить. bash4 должен быть последней версии. Инициатива -- это замечательно, но лучше обсудить предмет до начала работы. -- ldv [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 801 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] [#210675] EPERM bash.git=4.2.53-alt1 2018-07-24 11:29 ` Dmitry V. Levin @ 2018-07-24 12:09 ` Alexey Tourbin 2018-07-24 12:45 ` Michael Shigorin 0 siblings, 1 reply; 13+ messages in thread From: Alexey Tourbin @ 2018-07-24 12:09 UTC (permalink / raw) To: ALT Linux Team development discussions 2018-07-24 14:29 GMT+03:00 Dmitry V. Levin <ldv@altlinux.org>: > Hi, > > On Tue, Jul 24, 2018 at 12:15:48PM +0300, Aleksei Nikiforov wrote: >> Здравствуйте. >> >> Я собрал для тестов bash-4.2.53 в качестве основного bash в системе, >> прошу заинтересованных потестировать. > > bash3 (/bin/sh3 и /bin/bash3) нужно сохранить. А зачем bash3 нужно сохранить? Ничем кроме perpetuation локальной кривизны это мотивироваться не может. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] [#210675] EPERM bash.git=4.2.53-alt1 2018-07-24 12:09 ` Alexey Tourbin @ 2018-07-24 12:45 ` Michael Shigorin 2018-07-24 12:47 ` Anton Farygin 2018-07-24 13:07 ` Alexey Tourbin 0 siblings, 2 replies; 13+ messages in thread From: Michael Shigorin @ 2018-07-24 12:45 UTC (permalink / raw) To: devel On Tue, Jul 24, 2018 at 03:09:34PM +0300, Alexey Tourbin wrote: > > bash3 (/bin/sh3 и /bin/bash3) нужно сохранить. > А зачем bash3 нужно сохранить? Ничем кроме perpetuation > локальной кривизны это мотивироваться не может. Потому что напороться на изменение поведения можно не только локально, а всю кривизну исправить -- Земля плоская будет, однако! -- ---- WBR, Michael Shigorin / http://altlinux.org ------ http://opennet.ru / http://anna-news.info ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] [#210675] EPERM bash.git=4.2.53-alt1 2018-07-24 12:45 ` Michael Shigorin @ 2018-07-24 12:47 ` Anton Farygin 2018-07-24 13:07 ` Alexey Tourbin 1 sibling, 0 replies; 13+ messages in thread From: Anton Farygin @ 2018-07-24 12:47 UTC (permalink / raw) To: ALT Linux Team development discussions, Michael Shigorin 24.07.2018 15:45, Michael Shigorin пишет: > On Tue, Jul 24, 2018 at 03:09:34PM +0300, Alexey Tourbin wrote: >>> bash3 (/bin/sh3 и /bin/bash3) нужно сохранить. >> А зачем bash3 нужно сохранить? Ничем кроме perpetuation >> локальной кривизны это мотивироваться не может. > Потому что напороться на изменение поведения можно не только > локально, а всю кривизну исправить -- Земля плоская будет, однако! > За 10 лет с момент выпуска bash-4 уже всё везде давно поправили ;) Почти наверняка. Но если кому надо, то пусть пользуются третьим bash, хотя бы для проверки своих скриптов. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] [#210675] EPERM bash.git=4.2.53-alt1 2018-07-24 12:45 ` Michael Shigorin 2018-07-24 12:47 ` Anton Farygin @ 2018-07-24 13:07 ` Alexey Tourbin 2018-07-27 12:17 ` Alexey Tourbin 1 sibling, 1 reply; 13+ messages in thread From: Alexey Tourbin @ 2018-07-24 13:07 UTC (permalink / raw) To: ALT Linux Team development discussions 2018-07-24 15:45 GMT+03:00 Michael Shigorin <mike@altlinux.org>: > On Tue, Jul 24, 2018 at 03:09:34PM +0300, Alexey Tourbin wrote: >> > bash3 (/bin/sh3 и /bin/bash3) нужно сохранить. >> А зачем bash3 нужно сохранить? Ничем кроме perpetuation >> локальной кривизны это мотивироваться не может. > > Потому что напороться на изменение поведения можно не только > локально, а всю кривизну исправить -- Земля плоская будет, однако! Другие дистрибутивы не предоставляют bash3 как меру обоспечения совместимости. Потребности в этом нету. То есть все дело в наших с вами кривых скриптах, которые написаны давно и на которые смотреть лишний раз не хочется. Ценный склад полезных утилит, в которых запечатлена мудрость русского дистрибутива. Кстати, такая конструкция, как в http://git.altlinux.org/people/ldv/packages/girar.git?p=girar.git;a=blob_plain;f=gb/gb-build-task;hb=d3db7504 в bash4 работать перестала. #!/bin/sh -e ( cmd1 cmd2 ) rc=$? Теперь cmd1 cmd2 отваливают весь скрипт по errexit. А раньше отваливалось только внутри скобок. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] [#210675] EPERM bash.git=4.2.53-alt1 2018-07-24 13:07 ` Alexey Tourbin @ 2018-07-27 12:17 ` Alexey Tourbin 2018-07-27 12:25 ` Paul Wolneykien 0 siblings, 1 reply; 13+ messages in thread From: Alexey Tourbin @ 2018-07-27 12:17 UTC (permalink / raw) To: ALT Linux Team development discussions 2018-07-24 16:07 GMT+03:00 Alexey Tourbin <alexey.tourbin@gmail.com>: > Кстати, такая конструкция, как в > http://git.altlinux.org/people/ldv/packages/girar.git?p=girar.git;a=blob_plain;f=gb/gb-build-task;hb=d3db7504 > в bash4 работать перестала. > > #!/bin/sh -e > ( > cmd1 > cmd2 > ) > rc=$? > > Теперь cmd1 cmd2 отваливают весь скрипт по errexit. А раньше > отваливалось только внутри скобок. Скрипт мигрируется так: #!/bin/sh -e set +e ( set -e cmd1 cmd2 ) rc=$? set -e Какие-нибудь научные оценки есть, сколько таких скриптов надо мигрировать? :-) ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] [#210675] EPERM bash.git=4.2.53-alt1 2018-07-27 12:17 ` Alexey Tourbin @ 2018-07-27 12:25 ` Paul Wolneykien 2018-07-27 12:30 ` Alexey Tourbin 0 siblings, 1 reply; 13+ messages in thread From: Paul Wolneykien @ 2018-07-27 12:25 UTC (permalink / raw) To: devel 27.07.2018 15:17, Alexey Tourbin пишет: > 2018-07-24 16:07 GMT+03:00 Alexey Tourbin <alexey.tourbin@gmail.com>: >> Кстати, такая конструкция, как в >> http://git.altlinux.org/people/ldv/packages/girar.git?p=girar.git;a=blob_plain;f=gb/gb-build-task;hb=d3db7504 >> в bash4 работать перестала. >> >> #!/bin/sh -e >> ( >> cmd1 >> cmd2 >> ) >> rc=$? >> >> Теперь cmd1 cmd2 отваливают весь скрипт по errexit. А раньше >> отваливалось только внутри скобок. > > Скрипт мигрируется так: > > #!/bin/sh -e > set +e > ( > set -e > cmd1 > cmd2 > ) > rc=$? > set -e А через || можно переписать, или не сработает? (...) || rc=$? > > Какие-нибудь научные оценки есть, сколько таких скриптов надо мигрировать? :-) > _______________________________________________ > Devel mailing list > Devel@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/devel > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] [#210675] EPERM bash.git=4.2.53-alt1 2018-07-27 12:25 ` Paul Wolneykien @ 2018-07-27 12:30 ` Alexey Tourbin 2018-07-27 12:36 ` Vladislav Zavjalov 0 siblings, 1 reply; 13+ messages in thread From: Alexey Tourbin @ 2018-07-27 12:30 UTC (permalink / raw) To: ALT Linux Team development discussions 2018-07-27 15:25 GMT+03:00 Paul Wolneykien <manowar@altlinux.org>: > А через || можно переписать, или не сработает? > > (...) || rc=$? if/or отрубает режим -e внутри кода, у которого проверяется статус возврата. Это известная багофича стандартного шелла, которая скорее всего никогда не будет исправлена. Поэтому приходится извращаться. $ sh -e -c '(false; echo a)' $ sh -e -c '(false; echo a) ||:' a ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] [#210675] EPERM bash.git=4.2.53-alt1 2018-07-27 12:30 ` Alexey Tourbin @ 2018-07-27 12:36 ` Vladislav Zavjalov 0 siblings, 0 replies; 13+ messages in thread From: Vladislav Zavjalov @ 2018-07-27 12:36 UTC (permalink / raw) To: ALT Linux Team development discussions On Fri, Jul 27, 2018 at 03:30:52PM +0300, Alexey Tourbin wrote: > 2018-07-27 15:25 GMT+03:00 Paul Wolneykien <manowar@altlinux.org>: > > А через || можно переписать, или не сработает? > > > > (...) || rc=$? > > if/or отрубает режим -e внутри кода, у которого проверяется статус > возврата. Это известная багофича стандартного шелла, которая скорее > всего никогда не будет исправлена. Поэтому приходится извращаться. > > $ sh -e -c '(false; echo a)' > $ sh -e -c '(false; echo a) ||:' > a Ага, я когда-то придумывал загадку на эту тему. Угадайте результат, не запуская команды: $ sh -e -c '! true; echo OK' $ sh -e -c 'false; echo OK' $ sh -e -c 'false && false; echo OK' $ sh -e -c 'false && true; echo OK' $ sh -e -c 'true && false; echo OK' ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2018-07-27 12:36 UTC | newest] Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-07-24 9:15 ` [devel] [#210675] EPERM bash.git=4.2.53-alt1 Aleksei Nikiforov 2018-07-24 9:25 ` Michael Shigorin 2018-07-24 9:33 ` Aleksei Nikiforov 2018-07-24 9:45 ` Alexey Tourbin 2018-07-24 11:29 ` Dmitry V. Levin 2018-07-24 12:09 ` Alexey Tourbin 2018-07-24 12:45 ` Michael Shigorin 2018-07-24 12:47 ` Anton Farygin 2018-07-24 13:07 ` Alexey Tourbin 2018-07-27 12:17 ` Alexey Tourbin 2018-07-27 12:25 ` Paul Wolneykien 2018-07-27 12:30 ` Alexey Tourbin 2018-07-27 12:36 ` Vladislav Zavjalov
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git