Now that the (no)multilib problem in my latest update has been solved,
I have a somewhat minor complaint. Can I get etc-update to skip certain files? My latest emerge world wanted to "update"...
1) /etc/hosts (1)
2) /etc/inittab (1)
3) /etc/mtab (1)
4) /etc/conf.d/consolefont (1)
5) /etc/conf.d/hwclock (1)
6) /etc/default/grub (1)
7) /etc/ssh/sshd_config (1)
...hosts is critical for networking. consolefont allows me tp use the
true text console with a readable font, etc, etc. I have my reasons
for making certain settings, and keeping them that way.
Can I get etc-update to skip certain files?
On Mon, Apr 17, 2023 at 11:26 AM Walter Dnes <waltdnes@waltdnes.org>
wrote:
Now that the (no)multilib problem in my latest update has been solved,
I have a somewhat minor complaint. Can I get etc-update to skip certain files? My latest emerge world wanted to "update"...
1) /etc/hosts (1)
2) /etc/inittab (1)
3) /etc/mtab (1)
4) /etc/conf.d/consolefont (1)
5) /etc/conf.d/hwclock (1)
6) /etc/default/grub (1)
7) /etc/ssh/sshd_config (1)
...hosts is critical for networking. consolefont allows me tp use the
true text console with a readable font, etc, etc. I have my reasons
for making certain settings, and keeping them that way.
In my experience with all distros I go outside the distro for this
sort of issue. Put a copy somewhere, white a little script that
does a diff on the files you feel are important enough and run
a cron job hourly that looks for any differences.
HTH,
Mark
On Mon, Apr 17, 2023 at 11:26 AM Walter Dnes <waltdnes@waltdnes.org> wrote:
Now that the (no)multilib problem in my latest update has been solved,
I have a somewhat minor complaint. Can I get etc-update to skip certain files? My latest emerge world wanted to "update"...
1) /etc/hosts (1)
2) /etc/inittab (1)
3) /etc/mtab (1)
4) /etc/conf.d/consolefont (1)
5) /etc/conf.d/hwclock (1)
6) /etc/default/grub (1)
7) /etc/ssh/sshd_config (1)
...hosts is critical for networking. consolefont allows me tp use the
true text console with a readable font, etc, etc. I have my reasons
for making certain settings, and keeping them that way.
In my experience with all distros I go outside the distro for this
sort of issue. Put a copy somewhere, white a little script that
does a diff on the files you feel are important enough and run
a cron job hourly that looks for any differences.
HTH,
Mark
The emerge specific solution is to set the list in your CONFIG_PROTECT variable in /etc/make.conf
Really, etc update has a facility for skipping whatever files you want.<SNIP>
Lee
In my experience with all distros I go outside the distro for this
sort of issue. Put a copy somewhere, white a little script that
does a diff on the files you feel are important enough and run
a cron job hourly that looks for any differences.
HTH,
Mark
On Mon, Apr 17, 2023 at 11:26 AM Walter Dnes <waltdnes@waltdnes.org> wrote:
Now that the (no)multilib problem in my latest update has been solved,
I have a somewhat minor complaint. Can I get etc-update to skip certain files? My latest emerge world wanted to "update"...
1) /etc/hosts (1)
2) /etc/inittab (1)
3) /etc/mtab (1)
4) /etc/conf.d/consolefont (1)
5) /etc/conf.d/hwclock (1)
6) /etc/default/grub (1)
7) /etc/ssh/sshd_config (1)
...hosts is critical for networking. consolefont allows me tp use the
true text console with a readable font, etc, etc. I have my reasons
for making certain settings, and keeping them that way.
In my experience with all distros I go outside the distro for this
sort of issue. Put a copy somewhere, white a little script that
does a diff on the files you feel are important enough and run
a cron job hourly that looks for any differences.
Am Mon, Apr 17, 2023 at 12:28:01PM -0700 schrieb Mark Knecht:
On Mon, Apr 17, 2023 at 11:26 AM Walter Dnes <waltdnes@waltdnes.org> wrote:
Now that the (no)multilib problem in my latest update has been solved, I have a somewhat minor complaint. Can I get etc-update to skip certain files? My latest emerge world wanted to "update"...
1) /etc/hosts (1)
2) /etc/inittab (1)
3) /etc/mtab (1)
4) /etc/conf.d/consolefont (1)
5) /etc/conf.d/hwclock (1)
6) /etc/default/grub (1)
7) /etc/ssh/sshd_config (1)
...hosts is critical for networking. consolefont allows me tp use the true text console with a readable font, etc, etc. I have my reasons
for making certain settings, and keeping them that way.
In my experience with all distros I go outside the distro for this
sort of issue. Put a copy somewhere, white a little script that
does a diff on the files you feel are important enough and run
a cron job hourly that looks for any differences.
Isn’t that exactly what etc-update does? IIRC (my last Gentoo update was a few months ago), I select one of the files, and it lets me view a diff in
vim (configurable) of my old version and the new one from the update. Then I can either merge the two files right in vim, or elect to keep the new or old file entirely.
Am Mon, Apr 17, 2023 at 12:28:01PM -0700 schrieb Mark Knecht:Then I
<SNIP>
In my experience with all distros I go outside the distro for this
sort of issue. Put a copy somewhere, white a little script that
does a diff on the files you feel are important enough and run
a cron job hourly that looks for any differences.
Isn’t that exactly what etc-update does? IIRC (my last Gentoo update was a few months ago), I select one of the files, and it lets me view a diff in
vim (configurable) of my old version and the new one from the update.
can either merge the two files right in vim, or elect to keep the new orold
file entirely.
;-) (And shame on you for being 'a few months' behind on your updates) ;-)
Now that the (no)multilib problem in my latest update has been solved,
I have a somewhat minor complaint. Can I get etc-update to skip certain files? My latest emerge world wanted to "update"...
1) /etc/hosts (1)
2) /etc/inittab (1)
3) /etc/mtab (1)
4) /etc/conf.d/consolefont (1)
5) /etc/conf.d/hwclock (1)
6) /etc/default/grub (1)
7) /etc/ssh/sshd_config (1)
...hosts is critical for networking. consolefont allows me tp use the
true text console with a readable font, etc, etc. I have my reasons
for making certain settings, and keeping them that way.
On 17/04/2023 19:26, Walter Dnes wrote:
Now that the (no)multilib problem in my latest update has been
solved, I have a somewhat minor complaint. Can I get etc-update to
skip certain files? My latest emerge world wanted to "update"...
1) /etc/hosts (1)
2) /etc/inittab (1)
3) /etc/mtab (1)
4) /etc/conf.d/consolefont (1)
5) /etc/conf.d/hwclock (1)
6) /etc/default/grub (1)
7) /etc/ssh/sshd_config (1)
...hosts is critical for networking. consolefont allows me tp use theI had it want to update grub. Which would have utterly borked my system
true text console with a readable font, etc, etc. I have my reasons
for making certain settings, and keeping them that way.
the moment I updated my kernel.
Okay, the problem is where you mix user and system config in the same
file, but this would have deleted lvm and mdadm from my boot config, rendering any kernel unbootable. :-(
Like it tried to update postfix many moons ago and would have destroued
my mail config ...
Surely there's some way of fixing this ...
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 443 |
Nodes: | 16 (3 / 13) |
Uptime: | 62:01:51 |
Calls: | 9,190 |
Calls today: | 6 |
Files: | 13,475 |
Messages: | 6,051,873 |