Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Polskie forum (Polish) Instalacja i sprzęt
  • Search

CONFIG_PROTECT szwankuje.

Pytania i problemy związane z instalacją Gentoo oraz sprzętem

Moderator: SlashBeast

Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
Author
Message
Jacekalex
Guru
Guru
User avatar
Posts: 554
Joined: Thu Sep 17, 2009 5:18 am

CONFIG_PROTECT szwankuje.

  • Quote

Post by Jacekalex » Sat Jan 23, 2021 9:34 am

Cześć

Przy niektórych paczkach - nie wszystkich nie działa zmienna CONFIG_PROTECT.

w make.conf mam jak byk:

Code: Select all

grep PROTECT /etc/portage/make.conf
CONFIG_PROTECT="/etc"
Tymczasem np Postfix się wywala na:

Code: Select all

 [ ok ]
!!! copy /var/tmp/portage/mail-mta/postfix-3.5.8-r1/image/etc/postfix/relocated -> /etc/postfix/relocated failed.
!!! [Errno 1] Operation not permitted: b'/etc/postfix/relocated#new' -> b'/etc/postfix/relocated'
Niedawno sudo przy aktualizacji nadpisało /etc/sudoers, postfix wyczyścil hasła z saslpass, dovecot napisał swoje konfigi, dosyć to wkurzające jest.

zmienne w powłoce basha:

Code: Select all

CONFIG_PROTECT_MASK=/etc/sandbox.d /etc/php/cli-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/fonts/fonts.conf /etc/gentoo-release /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/revdep-rebuild
CONFIG_PROTECT=/var/bind /opt/sonar/conf /usr/share/gnupg/qualified.txt /usr/share/config /usr/lib64/libreoffice/program/sofficerc /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0

Na razie wszystkie ważne konfigi potraktowałem chattr +i, ale preoblematyczne paczki przez to się wywalają przy instalacji.

Problem pojawił się na 100% po aktualizacji portage jakiś czas temu, zaczęło się chyba od tej wersji:
sys-apps/portage-3.0.12

Jak to poprawić?
Top
Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Instalacja i sprzęt”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic