After update I get:
* IMPORTANT: config file '/etc/mtab' needs updating.
What is this, don't remember seeing it before.
cfg-update -u
doesn't give me an option to view it.
After update I get:
* IMPORTANT: config file '/etc/mtab' needs updating.
What is this, don't remember seeing it before.
cfg-update -u
doesn't give me an option to view it.
On Tuesday, 11 April 2023 06:44:03 BST thelma@sys-concept.com wrote:
After update I get:
* IMPORTANT: config file '/etc/mtab' needs updating.
...
/etc/mtab should be a symlink to /proc/self/mounts, so it ought to be kept up to date by the kernel as required.
Peter,
On Tuesday, 2023-04-11 11:19:31 +0100, you wrote:
On Tuesday, 11 April 2023 06:44:03 BST thelma@sys-concept.com wrote:
After update I get:
* IMPORTANT: config file '/etc/mtab' needs updating.
...
/etc/mtab should be a symlink to /proc/self/mounts, so it ought to be kept up to date by the kernel as required.
If I remember correctly, recently the symlink target was subtly changed
from "/proc/self/mounts" to "../proc/self/mounts", thus unconditionally referring to a target on the same volume.
I saw this the other day as well. I just skipped it. Still, it made me wonder, given what it does and what should update the file, why should
emerge touch that file?
It's like fstab. I doubt I'd ever let any
config update touch fstab. I don't think I'd ever try to touch mtab
myself.
cfg-update is a bit crufty, but its main advantage is support for
3-way merges, which are usually automated. So if you change one line
in the middle of a config file you won't have to manually go through
diffs to re-apply the change every time it is updated. If the section immediately around the line you edited didn't change, then it will
just accept the upstream changes while maintaining your customization.
After update I get:
* IMPORTANT: config file '/etc/mtab' needs updating.
What is this, don't remember seeing it before.
cfg-update -u
doesn't give me an option to view it.
On Mon, 2023-04-10 at 23:44 -0600, thelma@sys-concept.com wrote:
After update I get:
* IMPORTANT: config file '/etc/mtab' needs updating.
What is this, don't remember seeing it before.
cfg-update -u
doesn't give me an option to view it.
dispatch-conf will show you what is being changed and give you the
option to use/zap the change.
I never even knew cfg-update existed (I've always used dispatch-conf).
I usually try not to edit any files that are 'managed' by packages, but sometimes it is unavoidable (eg. no thing.conf.d directory support), so
I wind up having to either accept the change and then re-edit it, or
zap the change and allow the file to get stale as the package is
updated, leading back to the first scenario regardless.
On Mon, 2023-04-10 at 23:44 -0600, thelma@sys-concept.com wrote:
After update I get:
* IMPORTANT: config file '/etc/mtab' needs updating.
What is this, don't remember seeing it before.
cfg-update -u
doesn't give me an option to view it.
dispatch-conf will show you what is being changed and give you the
option to use/zap the change.
I never even knew cfg-update existed (I've always used dispatch-conf).
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 303 |
Nodes: | 16 (2 / 14) |
Uptime: | 81:15:36 |
Calls: | 6,807 |
Calls today: | 3 |
Files: | 12,328 |
Messages: | 5,400,819 |