Under pym/portage/sync/modules/rsync/rsync.py in _rsync_opts_extend, Portage will check if --quiet is used. If it is, it will append --quiet to the rsync opts. If it is not, Portage will append --verbose and --progress flag to rsync. This will break the rsync flag --info=progress2. Reproducible: Always Steps to Reproduce: 1. Add --info=progress2 to PORTAGE_RSYNC_EXTRA_OPTS 2. Ensure PORTAGE_RSYNC_OPTS does not include --quiet or --verbose 3. Run emaint sync -a Actual Results: If --quiet is used, there is no rsync output while syncing. Otherwise, each file that was synced will print a new line and its progress will be shown. Expected Results: The --info=progress2 flag works as expected (only one line is printed out showing the overall progress of the transfer) I suggest moving --verbose into PORTAGE_RSYNC_OPTS and removing the `if "--quiet" in opts:` check completely.
There is a workaround: setting `PORTAGE_RSYNC_EXTRA_OPTS="--no-progress --no-verbose --no-quiet"` will override the options set by portage.