Re: pacman overwriting files (was Re: dcron 4.2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am Wed, 10 Feb 2010 22:30:52 +0200 (EET)
schrieb Dimitrios Apostolou <jimis@xxxxxxx>:

> Guys that thing bit me again: During the big libpng upgrade
> "initscripts" package got upgraded too and /etc/rc.{sysinit,shutdown}
> got overwritten without notifying me. Because of special changes I've
> made to mount /var as tmpfs, and because I forgot to put the files in
> the NoUpgrade line of pacman.conf, the system was unbootable and
> after fixing it pacman wants to download 500MB of packages again
> (ideas?). :-@
> 
> Can't pacman just emit a big fat warning like: 
> WARNING: /etc/rc.sysinit USER CHANGES OVERWRITTEN
> 
> Since this case is extremely rare, the message would appear scarcely.
> I can't thing of anything negative for such a feature.

Just add
NoUpgrade   = etc/rc.sysinit
to /etc/pacman.conf

Such a warning is not necessary, because /etc/rc.sysinit is a system
script which usually doesn't need to be modified. And people, who
modify it should know what they are doing.

Greetings,
Heiko


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux