<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>25226</bug_id>
          
          <creation_ts>2011-03-14 09:52:07 +0300</creation_ts>
          <short_desc>В базовом наборе пакетов spt отсутсвует sed</short_desc>
          <delta_ts>2011-03-17 15:53:26 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>spt</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Evgeny Sinelnikov">sin</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>119217</commentid>
    <comment_count>0</comment_count>
    <who name="Evgeny Sinelnikov">sin</who>
    <bug_when>2011-03-14 09:52:07 +0300</bug_when>
    <thetext>При создании ovz-образа для p5 с помощью spt возникает ошибка из-за отсутствия sed в базовом наборе пакетов:
$ spt -v --number=1 --apt-config=/home/sin/etc/apt.conf.i586.p5.clean --image-type=tgz /srv/sin/ovz
...
&lt;13&gt;Mar 13 18:19:24 rpmi: libpasswdqc-1.1.3-alt1 installed
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
passwdqc-enforce: Invalid mode: users
error: execution of %post scriptlet from libpasswdqc-1.1.3-alt1 failed, exit status 1
&lt;13&gt;Mar 13 18:19:24 rpmi: pam-config-1.5.0.2-alt1 installed
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
pam_mktemp: Invalid mode: enabled
....
&lt;13&gt;Mar 13 18:19:25 rpmi: shadow-groups-1:4.0.4.1-alt9 installed
/etc/control.d/functions: line 19: sed: command not found
/etc/control.d/functions: line 19: sed: command not found
/etc/control.d/functions: line 19: sed: command not found
/etc/control.d/functions: line 19: sed: command not found
....
&lt;13&gt;Mar 13 18:19:26 rpmi: chrooted-resolv-0.3.1-alt2 installed
/etc/chroot.d/functions: line 207: sed: command not found
/etc/chroot.d/functions: line 236: sed: command not found
...
&lt;13&gt;Mar 13 18:19:27 rpmi: iputils-20071127-alt4 installed
/etc/control.d/functions: line 19: sed: command not found
/etc/control.d/functions: line 19: sed: command not found
/etc/control.d/functions: line 19: sed: command not found
/etc/control.d/functions: line 19: sed: command not found
...
&lt;13&gt;Mar 13 18:19:28 rpmi: portmap-1:6.0-alt1 installed
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
portmap: Invalid mode: local
...
&lt;13&gt;Mar 13 18:19:29 rpmi: mount-2.16.1-alt1 installed
/etc/control.d/functions: line 19: sed: command not found
/etc/control.d/functions: line 19: sed: command not found
...
hsh-install: Packages installation failed.

Я добавил соответствующую зависимость у себя в git:
git://git.altlinux.org/people/sin/packages/spt.git</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119218</commentid>
    <comment_count>1</comment_count>
    <who name="Evgeny Sinelnikov">sin</who>
    <bug_when>2011-03-14 10:01:50 +0300</bug_when>
    <thetext>Аналогичная проблема и для awk:
...
&lt;13&gt;Mar 14 06:56:25 rpmi: etcnet-0.9.10-alt2.1 installed
/usr/bin/alternatives-validate: line 61: awk: command not found
/usr/share/alternatives/functions: line 77: awk: command not found
hsh-install: Packages installation complete.
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119222</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2011-03-14 12:18:38 +0300</bug_when>
    <thetext>Наверное, пора убирать spt и предлагать всем перебираться на mkimage, перетаскивая профили.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119325</commentid>
    <comment_count>3</comment_count>
    <who name="Evgeny Sinelnikov">sin</who>
    <bug_when>2011-03-17 15:01:51 +0300</bug_when>
    <thetext>А где-нибудь доступен mkimage-profile-ovz ?

По запросу
$ ssh git.alt find-package &quot;mkimage-profile*&quot;|grep ovz
ничего нет. Может у кого в ветках?

Инструмент для ovz вроде отработан, хотелось бы не терять его, а заменить, когда подготовим ovz-профиль для mkimage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119326</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2011-03-17 15:53:26 +0300</bug_when>
    <thetext>Мне вроде как не попадался, надо портировать.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>