Bug 9827 - suse vserver template misses initpre and pkgpriorities file
Summary: suse vserver template misses initpre and pkgpriorities file
Status: CLOSED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: util-vserver-build (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-31 20:25 MSD by Andrey V Khavryuchenko
Modified: 2009-09-23 17:24 MSD (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 в сизифе по факту прекращена, такого пакета уже тоже нет.