Summary: | sys-apps/openrc-0.40.3 - /etc/init.d/savecache is able to create a depconfig file with size = 87TB | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Jochen Schlick <josch09> |
Component: | OpenRC | Assignee: | OpenRC Team <openrc> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jochen Schlick
2018-12-31 03:30:49 UTC
The live copy of this file is /run/openrc/depconfig. savecache uses "cp -p" to back it up. Does the live copy look like this also? I'm not sure - I only recognized it after I rebooted the laptop. The system was then no longer able to boot successfully this special Gentoo Linux. When this happened the first time I started a backup with tar of the mounted file system and the zipped tar file got bigger than the original partition (<-- sparse file). I stopped it after an hour or so and et voila the last file of the tar file was /lib64/rc/cache/depconfig. After removing setting the file length to 0. The system rebooted fine again. Yesterday, when it happened again (with the symptom that the boot hangs - without output on screen). I immediately looked into this directory and the depconfig file was again 87TB. If savecache does only a 'cp', then the original depconfig file in /run must have been a 87TB sparse file too. |