First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 212080
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage team <dev-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Russell Yanofsky <rey4@columbia.edu>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
confmem-zing-fix.patch confmem-zing-fix.patch patch Russell Yanofsky 2008-03-02 15:58 0000 417 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 212080 depends on: Show dependency tree
Bug 212080 blocks: 216231
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-02 15:57 0000
When the --noconfmem option is not specified, portage skips the creation of
._cfg####_ files when their checksums are already in the CONFIG_MEMORY_FILE
list (/var/lib/portage/config). The problem is that current versions of portage
don't give any indication that they are skipping these files. The attached
patch fixes the "zing" symbols for these files so install output for these
files looks like:

    -o- /etc/some/conf/file

instead of:

    >>> /etc/some/conf/file

This appears to have been the original intention of the code in the
dblink.mergeme function, but there's an extra line in there that overwrites the
"-o-" symbol right before it is printed. The patch removes this line of code
since it is not correct for this case and is redundant for every other case.

Reproducible: Always

Steps to Reproduce:
This problem can be reproduced for pretty much any package with a configuration
file. The steps below use the net-misc/rsync package as an example.

1. Emerge net-misc/rsync
2. Edit the /etc/rsyncd.conf file so its checksum changes
3. Emerge net-misc/rsync again.
Actual Results:  
Output from the final merge step will show:

   >>> /etc/rsyncd.conf

This happens even though the /etc/rsyncd.conf merge was skipped (no ._cfg file
created).

Expected Results:  
Since it skipped the file, portage should have printed:

   -o- /etc/rsyncd.conf

This is the result you see after applying the patch.

------- Comment #1 From Russell Yanofsky 2008-03-02 15:58:44 0000 -------
Created an attachment (id=145092) [details]
confmem-zing-fix.patch

------- Comment #2 From Marius Mauch (RETIRED) 2008-03-03 20:29:36 0000 -------
fixed, and changed the symbol to '---' as I don't think this deserves a special
one.

------- Comment #3 From Marius Mauch (RETIRED) 2008-03-20 18:15:08 0000 -------
This is supposed to be fixed in portage-2.2_pre5 or earlier.

------- Comment #4 From Marius Mauch (RETIRED) 2008-03-20 18:15:55 0000 -------
This is supposed to be fixed in portage-2.2_pre5 or earlier.

First Last Prev Next    No search results available      Search page      Enter new bug