Bug 9827 - suse vserver template misses initpre and pkgpriorities file
: suse vserver template misses initpre and pkgpriorities file
Status: CLOSED WONTFIX
: Sisyphus
(All bugs in Sisyphus/util-vserver-build)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2006-07-31 20:25 by
Modified: 2009-09-23 17:24 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2006-07-31 20:25:37
При попытке создать suse91 vserver, процесс падает:

$ sudo vserver suse build -m apt-rpm --hostname=suse --interface
eth0:xx.xx.xx.xx --context 4106 -- -d suse91
WARNING: you are going to use an rpm-based installation method without
  having an 'initpre' script. Such a script is highly recommend to
  workaround bugs in rpm which can cause messages like

  | error: unpacking of archive failed on file /usr/bin/X11;42dd8791:

  Please read http://linux-vserver.org/HowToRegisterNewDistributions
  for information how to add support for your own distribution.
E: Could not open file
/etc/vservers/suse/apps/pkgmgmt/base/apt/etc/pkgpriorities - open (2 No such
file or directory)
E: could not open package priority file
/etc/vservers/suse/apps/pkgmgmt/base/apt/etc/pkgpriorities

Копирование initpre из
/usr/lib64/util-vserver/distributions/template/initpre *И* назначение его
исполняемым приводят к такой картине:

$ sudo vserver suse build -m apt-rpm --hostname=suse --interface
eth0:xx.xx.xx.xx --context 4106 -- -d suse91
E: Could not open file
/etc/vservers/suse/apps/pkgmgmt/base/apt/etc/pkgpriorities - open (2 No such
file or directory)
E: could not open package priority file
/etc/vservers/suse/apps/pkgmgmt/base/apt/etc/pkgpriorities

Копирование pkgpriorities из
/usr/lib64/util-vserver/distributions/altSisyphus/apt/pkgpriorities в
/usr/lib64/util-vserver/distributions/suse91/apt/pkgpriorities решает и эту
проблему.
------- Comment #1 From 2009-09-23 17:24:06 -------
Поддержка vserver в сизифе по факту прекращена, такого пакета уже тоже нет.