| Summary: | gensync failes to use base_layout from /etc/gensync/gensync.conf | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alexander Hoogerhuis <alexh> |
| Component: | [OLD] Development | Assignee: | Portage Tools Team <tools-portage> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Looks like a duplicate of http://bugs.gentoo.org/show_bug.cgi?id=44777. |
When using gensync and creating new syncsources, it is not possible to trust gensync's base_overlay property is used; one has to hardcode the path to be used in the induvidual syncsource-files. From my machine: foobar root # grep base /etc/gensync/gensync.conf # ${base_overlay}/${syncsource-id}, where the 'syncsource-id' is a unique base_overlay = /var/local/portage/ foobar root # ls -ld /var/local/portage/ drwxr-xr-x 4 root root 4096 Sep 21 09:57 /var/local/portage/ foobar root # yet, it will try to syc into /usr/local/overlays, as is hardcoded into the gensync binary. Reproducible: Always Steps to Reproduce: 1. install gensync 2. create a syncsource file 3. alter gensync.conf's base_overlay to use something non-default 4. gensync the new id and boom.