Bug 9827

Summary: suse vserver template misses initpre and pkgpriorities file
Product: Sisyphus Reporter: Andrey V Khavryuchenko <akhavr>
Component: util-vserver-buildAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED WONTFIX QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: hiddenman, mashckoff, mike, rider, vvk
Version: unstable   
Hardware: all   
OS: Linux   

Description Andrey V Khavryuchenko 2006-07-31 20:25:37 MSD
При попытке создать 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 Michael Shigorin 2009-09-23 17:24:06 MSD
Поддержка vserver в сизифе по факту прекращена, такого пакета уже тоже нет.