Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compressing filesystems with squashfs and squashmount
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
schorsch_76
Guru
Guru


Joined: 19 Jun 2012
Posts: 450

PostPosted: Mon Nov 23, 2015 12:26 pm    Post subject: Reply with quote

This Problem with the mv overlay is most probably cause by rebase on the git repository. As a rule of thumb: "Never ever rebase any published branches".

As a git development model suitable for all of such issues:
http://nvie.com/posts/a-successful-git-branching-model/
_________________
// valid again: I forgot about the git access. Now 1.2GB big. Start: 2015-06-25
git daily portage tree
Web: https://github.com/schorsch1976/portage
git clone https://github.com/schorsch1976/portage
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Mon Nov 23, 2015 6:01 pm    Post subject: Reply with quote

schorsch_76 wrote:
This Problem with the mv overlay is most probably cause by rebase on the git repository

There was no rebase since the one announced on Oct 19.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Wed Nov 25, 2015 9:37 am    Post subject: Reply with quote

schorsch_76 wrote:
As a rule of thumb: "Never ever rebase any published branches".

BTW, this rule might be useful for projects with many people involved and with kind of systematic QA before pushing to public - iit does not apply for experimental overlays managed by a single person where normally every change should go pulbic immediately (perhaps after a very crude testing).
But even for these other projects, it is only a rule of thumb. There might be good reasons why a bad history slipped through which should be eliminated forever:
A file unrelated to the project and copied by mistake from somewhere else by one developer (and slipped through QA) might be such a reason.
Not unnecessarily wasting disk space for known-to-be-broken commits is another reason.
A change of commit policy (as e.g. explained several postings ago) is yet another reason.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1768
Location: PB, Germany

PostPosted: Mon Jan 18, 2016 2:47 pm    Post subject: Reply with quote

Anyway, in the meanwhile I can't really work anymore concerning squashmount and git repos like the overlays. Curiously the big portage git repo doesn't have these issues. But as for the layman overlays almost every eix-sync is failing with tons of broken ebuilds like
Code:
ebuild failed with status 1
     Reading category  80|166 ( 48): kde-apps...
cannot properly execute /var/lib/layman/kde/kde-apps/okteta/okteta-9999.ebuild
     Reading category  80|166 ( 48): kde-apps.../var/lib/layman/kde/eclass/cmake-utils.eclass: line 67: syntax error near unexpected token `<<<'
/var/lib/layman/kde/eclass/cmake-utils.eclass: line 67: `<<<<<<< HEAD'
or
Code:
-- invalid line 141 in /var/lib/layman/kde/profiles/package.mask: "<<<<<<< ..."
    cannot read category

-- invalid line 142 in /var/lib/layman/kde/profiles/package.mask: "======= ..."
    cannot read category

-- invalid line 144 in /var/lib/layman/kde/profiles/package.mask: ">>>>>>> ..."
    cannot read category

As a short solution I currently need to flush all overlays before eix-sync which is not a long-time solution:
Code:
overlays="flavour kde mv sunrise";layman -d $overlays;layman -a $overlays

Can you take a look what is wrong with my setup? (I did not mention all mount points such as firefox, libreoffice, texlive etc.)
/etc/squashmount.pl:

use Sys::Hostname;
my $hostname = ($ENV{'HOSTNAME'} // hostname());

@order = qw(overlay unionfs-fuse);

my $defaults = {

      COMPRESSION => 'lzo',
      THRESHOLD   => '10m',
};
my $non_binary = {
      COMPOPT_XZ => undef # "-Xbcj x86" is slower for pure text archives
};

@mounts = (
      standard_mount('layman',        '/var/lib/layman',      $defaults),
      standard_mount('local_portage', '/usr/local/portage',   $defaults),

      standard_mount('portage', '/usr/portage', $defaults, $non_binary, {
                  UMOUNT => ((@umount) ? undef : '-i'),
                  THRESHOLD => '100m',
                  FILL => qr{^local/(?!(?:\.git|profiles|metadata)(?:/|$))}
            }),
      standard_mount('db', '/var/db', $defaults, $non_binary, {
                  UMOUNT => ((@umount) ? undef : '-i'),
                  THRESHOLD => '40m',
                  BACKUP => '.bak'
            })
);

'EOF';

_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Mon Jan 18, 2016 9:35 pm    Post subject: Reply with quote

Massimo B. wrote:
Code:
"<<<<<<< ..."
    cannot read category

-- invalid line 142 in /var/lib/layman/kde/profiles/package.mask: "======= ..."
    cannot read category

-- invalid line 144 in /var/lib/layman/kde/profiles/package.mask: ">>>>>>> ..."
    cannot read category

Such lines are caused by "git pull" when there are local changes or when the overlay was rebased. It has only to do with git/layman and nothing to do with squashmount.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1768
Location: PB, Germany

PostPosted: Fri Jan 22, 2016 7:24 am    Post subject: Reply with quote

-> Moving on to the bug tracker: bug 500358#c3
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1768
Location: PB, Germany

PostPosted: Mon Jan 25, 2016 12:38 pm    Post subject: Reply with quote

After some squashmount restart I end up with some hanging portage mount:
Code:
# squashmount status
 * [firefox]:       not mounted
 * [icedtea6]:      not mounted
 * [icedtea7]:      not mounted
 * [layman]:        not mounted
 * [libreoffice]:   not mounted
 * [local_portage]: incompletely mounted
 * [texmf]:         not mounted
 * [texlive_local]: not mounted
 * [portage]:       overlay (100m), unmodified
 * [ccache]:        not mounted
 * [db]:            not mounted

# squashmount remount --force portage --lsof=0
 * [portage]:       umounting...
umount: /usr/portage: not mounted
 * [portage]:       error:   non-lazy umount failed,
                             using lazy umount of /usr/portage
umount: /usr/portage: not mounted
 * [portage]:       error:   lazy umount failed for /usr/portage

# mount |grep portage |wc -l
0

# lsof /usr/portage |wc -l
0
Mounting manually worked:
Code:
# mount -o ro,noatime /usr/portage.mount/portage.sfs /usr/portage.mount/readonly
# mount -t overlay -o rw,noatime,lowerdir=/usr/portage.mount/readonly,upperdir=/usr/portage.mount/changes,workdir=/usr/portage.mount/workdir overlay /usr/portage
Now remounting works:
Code:
# squashmount remount --force portage
 * [portage]:       umounting...
 * [portage]:       cleaning workdir...
 * [portage]:       cleaning changes...
 * [portage]:       mounting...

_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Mon Jan 25, 2016 3:15 pm    Post subject: Reply with quote

@Massimo B.: The problem is that there appears to be no reliable way to check whether a directory is mounted. The failure of the umounting thus is necessarily interpreted in the way that the directory might still be mounted, and if in such a case the underlying squash-file would be umounted hell might break loose.

If you are in a broken (half-mounted) state as above (which BTW you can reach only due to some exceptional error - mounting of several filesystems cannot be an "atomic" operation), you can combine --force with --ignore-state (documented under --ignore-state with "squashmount man") which causes the failure of the umount to be ignored and to proceed with the further steps anyway.
Back to top
View user's profile Send private message
schorsch_76
Guru
Guru


Joined: 19 Jun 2012
Posts: 450

PostPosted: Wed Mar 09, 2016 8:41 pm    Post subject: Reply with quote

@mv: Just for your information: I use squashmount on the raspi 3 for portage. It works like expected but it is masked on arm.

Code:
raspberrypi3 pi # cat /etc/squashmount.pl
#!/usr/bin/perl (this is only for editors)

# The tools which we have installed; if possible only the first in this list
# is used, but the others are a fallback if that fails.

@order = ('overlay');

# Even if we define following is empty it is convenient to use
# this local variable throughout, so that we can simply change it:

DIFF => 1;
#RESQUASH_ON_START => 1;

push(@mounts,
{
   TAG => 'portage',
   DIR => '/usr/portage',
   FILE => '/usr/portage.sqfs',
   CHANGES => '/usr/portage.changes',
   READONLY => '/usr/portage.readonly',
   THRESHOLD => '40m', # resquash on umount if 40 megabytes changed
   COMPRESSION => 'gzip'
}

);
@umount = ('-i');

raspberrypi3 pi # cat /proc/cpuinfo
processor   : 0
model name   : ARMv7 Processor rev 4 (v7l)
BogoMIPS   : 76.80
Features   : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer   : 0x41
CPU architecture: 7
CPU variant   : 0x0
CPU part   : 0xd03
CPU revision   : 4

...

Hardware   : BCM2709
Revision   : a02082

raspberrypi3 pi # /etc/init.d/squashmount status
 * status: started

raspberrypi3 pi # mount | column -t | grep -v sys
/dev/mmcblk0p2     on  /                          type  ext4         (rw,noatime,data=ordered)
devtmpfs           on  /dev                       type  devtmpfs     (rw,nosuid,relatime,size=10240k,nr_inodes=117427,mode=755)
proc               on  /proc                      type  proc         (rw,nosuid,nodev,noexec,relatime)
tmpfs              on  /run                       type  tmpfs        (rw,nodev,relatime,size=94808k,mode=755)
mqueue             on  /dev/mqueue                type  mqueue       (rw,nosuid,nodev,noexec,relatime)
devpts             on  /dev/pts                   type  devpts       (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm                on  /dev/shm                   type  tmpfs        (rw,nosuid,nodev,noexec,relatime)
/usr/portage.sqfs  on  /usr/portage.readonly      type  squashfs     (ro,noatime)
overlay            on  /usr/portage               type  overlay      (rw,noatime,lowerdir=/usr/portage.readonly,upperdir=/usr/portage.changes,workdir=/tmp/Z4xb2HWW3M)
/dev/mmcblk0p1     on  /boot                      type  vfat         (rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)


_________________
// valid again: I forgot about the git access. Now 1.2GB big. Start: 2015-06-25
git daily portage tree
Web: https://github.com/schorsch1976/portage
git clone https://github.com/schorsch1976/portage
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Fri Mar 11, 2016 7:55 am    Post subject: Reply with quote

schorsch_76 wrote:
@mv: Just for your information: I use squashmount on the raspi 3 for portage. It works like expected but it is masked on arm.

squashmount is now marked for testing on the same arches as squashfs-tools from the gentoo repository
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Sat Jul 16, 2016 9:26 am    Post subject: Reply with quote

I have a small suggestion regarding optional dependencies of squashmount.
Instead:
Code:
 * Messages for package sys-fs/squashmount-14.1.1:

 *   app-shells/runtitle for status bar support
 *   dev-perl/File-Which for improved compatibility and security
 *   dev-perl/String-ShellQuote for improved output

and implicit some kind of "pollution" of world file I think a USEFLAG like "enhancement" to install those dependencies would be preferable.

What is your opinion ?
Thank you!
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sat Jul 16, 2016 2:49 pm    Post subject: Reply with quote

costel78 wrote:
I think a USEFLAG like "enhancement" to install those dependencies would be preferable.

I also think so, but it would go against gentoo policy: USE-flags are only admissible if they cause a change in the installed data. This is not the case here, since only the dependencies would be influenced.
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Sat Jul 16, 2016 3:27 pm    Post subject: Reply with quote

I have to admit my total ignorance regarding Gentoo ebuild policies. :oops:
As I presume there also are good reasons to not include dependencies by default, I can think of following solutions:
1. live with it, it is just a minor inconvenience;
2. keep in my local overlay a modified ebuild of your squashmount;
3. a virtual/squashmount, or a squashmount-meta package.

Thank you for your time and your work. I really appreciate.
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sat Jul 16, 2016 6:33 pm    Post subject: Reply with quote

costel78 wrote:
1. live with it, it is just a minor inconvenience;
2. keep in my local overlay a modified ebuild of your squashmount;
3. a virtual/squashmount, or a squashmount-meta package.

For avoiding 1, I would never do 2 (as long as adding of dependencies is concerned; for removing dependencies, there is no other sane choice, unfortunately): It means you have to maintain the ebuild by yourself instead of just using layman.
3 is complete overkill for a public repository; this is something which you could put in your local overlay.

The mv overlay contains now some sets (which is perhaps more reasonable than 3, but it works only with portage, not necessarily with other package managers). Just call
Code:
emerge --deselect squashmount && emerge --select -n @squashmount
to put the set instead of the package into the world file.

(If the overlay would not provide the sets/... file you could just create it by your own in /etc/portage/sets/ to use the same thing).
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Sun Jul 17, 2016 6:05 am    Post subject: Reply with quote

A elegant solution.
Thank you!
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sun Jul 31, 2016 8:30 am    Post subject: Reply with quote

Announcement:

squashmount-15.0.0 can now also be used without root permissions!

Look for --user in squashmount man
This requires of course that fuse is used for all mounting operations. In particular, this is possible now because

squahsmount-15.0.0 also supports squashfuse
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Mon Aug 08, 2016 5:25 pm    Post subject: Reply with quote

Is there something wrong with this config file ?
Code:
#!/usr/bin/perl (this is only for editors)

use Sys::Hostname;
my $hostname = ($ENV{'HOSTNAME'} // hostname());

@order = qw(overlay overlayfs aufs! unionfs-fuse! unionfs??# funionfs??#);

$obsolete_overlayfs = undef;

$rm_changes = $rm_workdir = $rm_readonly = 0;

my $defaults = {
   COMPRESSION => 'lz4',
   COMPOPT_LZ4 => '-Xhc'
};
my $non_binary = {
   COMPOPT_XZ => undef 
};

@mounts = (
   added_hash($defaults, $non_binary,  {
      TAG => 'db',
      DIR => '/var/db',
      FILE => '/var/db.mount/db.sfs',
      CHANGES => '/var/db.mount/changes',
      WORKDIR => '/var/db.mount/workdir',
      READONLY => '/var/db.mount/readonly',
      THRESHOLD => '30m',
      BLOCKSIZE => 65536
   }),
   added_hash($defaults, $non_binary, {
      TAG => 'portage',
      DIR => '/usr/portage',
      FILE => '/usr/portage.mount/db.sfs',
      CHANGES => '/usr/portage.mount/changes',
      WORKDIR => '/usr/portage.mount/workdir',
      READONLY => '/usr/portage.mount/readonly',
      THRESHOLD => '80m',
      BLOCKSIZE => 65536,
      UMOUNT => ((@umount) ? undef : '-i'),
      FILL => qr{^local/(?!(\.git|profiles|metadata)(/|$))}n
   })
);

$after_mount = sub {
   my ($mountpoint, $store, $config) = @_;
   return 1 unless($mountpoint eq 'portage');
   system('mount', '--bind', $config->{DIR} // $store->{DIR}, '/srv/copy');
   1  # return a true value!
};

$before_umount = sub {
   my ($mountpoint, $store, $config) = @_;
   return 1 unless($mountpoint eq 'portage');
   system('umount /srv/copy');
   1
};

$before_mount = sub {
   my ($mountpoint, $store, $config) = @_;
   return 1 unless($mountpoint eq 'portage');
   system('umount /srv/copy >/dev/null 2>&1');
   1
};

1;


I keep getting a lot of "Permission denied" messages, on emerge --sync.
I tried with a fresh copy of portage and db and there is the same result:
Code:
aug 08 19:34:09 gentoo squashmount[14818]:  * [portage]: error:   (while removing /usr/portage/x11-libs/gtkhotkey/metadata.xml): cannot unlink file: Permission denied
aug 08 19:34:09 gentoo squashmount[14818]:  * [portage]: error:   (while removing /usr/portage/x11-libs/gtkhotkey/metadata.xml): cannot restore permissions to 0100644: Permission denied
aug 08 19:34:09 gentoo squashmount[14818]:  * [portage]: error:   (while removing /usr/portage/x11-libs/gtkhotkey/ChangeLog-2015): cannot unlink file: Permission denied
aug 08 19:34:09 gentoo squashmount[14818]:  * [portage]: error:   (while removing /usr/portage/x11-libs/gtkhotkey/ChangeLog-2015): cannot restore permissions to 0100644: Permission denied
aug 08 19:34:09 gentoo squashmount[14818]:  * [portage]: error:   (while removing /usr/portage/x11-libs/gtkhotkey/gtkhotkey-0.2.1.ebuild): cannot unlink file: Permission denied
aug 08 19:34:09 gentoo squashmount[14818]:  * [portage]: error:   (while removing /usr/portage/x11-libs/gtkhotkey/gtkhotkey-0.2.1.ebuild): cannot restore permissions to 0100644: Permission denied
aug 08 19:34:09 gentoo squashmount[14818]:  * [portage]: error:   (while removing /usr/portage/x11-libs/gtkhotkey/Manifest): cannot unlink file: Permission denied
aug 08 19:34:09 gentoo squashmount[14818]:  * [portage]: error:   (while removing /usr/portage/x11-libs/gtkhotkey/Manifest): cannot restore permissions to 0100644: Permission denied
aug 08 19:34:09 gentoo squashmount[14818]:  * [portage]: error:   (while removing /usr/portage/x11-libs/gtkhotkey): cannot remove directory: Permission denied
aug 08 19:34:09 gentoo squashmount[14818]:  * [portage]: error:   (while removing /usr/portage/x11-libs): cannot remove directory: Directory not empty


Majority of the files are owned by root, some by portage. The issue started from 15.0 version.
I am using default squashmount.service with root permission:
Code:
[Unit]
Description=mount/umount all squashmount configured mount points
After=local-fs.target systemd-tmpfiles-setup.service

[Service]
# Squashing can take a long time. It is recommended to override the following
# long timeout in /etc/systemd/system/squashmount.service.d/timeout.conf
TimeoutStopSec=1800
Type=oneshot
CapabilityBoundingSet=
CapabilityBoundingSet=CAP_SYS_ADMIN
CapabilityBoundingSet=CAP_CHOWN
CapabilityBoundingSet=CAP_SYS_MODULE
MemoryDenyWriteExecute=true
NoNewPrivileges=true
PrivateNetwork=true
RemainAfterExit=true
ExecStart=/usr/bin/squashmount start
ExecStop=/usr/bin/squashmount -f --lsof=0 --lsof-ro=0 stop

[Install]
WantedBy=multi-user.target


I can't figure out what I'm missing. Thank you!
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Tue Aug 09, 2016 7:08 am    Post subject: Reply with quote

costel78 wrote:
Is there something wrong with this config file ?

I cannot see an obvious problem.
Concerning the permissions, it might be an accident that it happened with the change to 15.0. I conjecture, a (known) problem in overlay is the reason; I have reported it, but I am not sure whether it is solved meanwhile: There was a problem when removing files after renaming directories (which can happens after syncing for a package move); some special device (normally indicating removed files) in the renamed directory appear as special devices and are impossible to remove in overlay: They must be removed in the CHANGES directory manually.
Check whether you can remove the indicated files manually (as root) and what type this files actually possess.
If this is not the reason: When exactly do these errors pop up, and what is the output of squashmount -vvv list
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Tue Aug 09, 2016 8:24 am    Post subject: Reply with quote

Code:
gentoo ~ # squashmount -vvv list
 * squashmount: reading config file /etc/squashmount.pl
 * [db]:      overlay/squashfs
              unmodified
              THRESHOLD: 31457280
              DIR: /var/db
              READONLY: /var/db.mount/readonly
              CHANGES: /var/db.mount/changes
              WORKDIR: /var/db.mount/workdir
              FILE: /var/db.mount/db.sfs
              mksquashfs-options: -noappend -quiet -comp lz4 -Xhc
              CHMOD: 0644
              CHOWN: unchanged (0:0)
              CHMOD_DIR: unchanged
              CHOWN_DIR: unchanged
 * [portage]: overlay/squashfs
              unmodified
              THRESHOLD: 83886080
              DIR: /usr/portage
              READONLY: /usr/portage.mount/readonly
              CHANGES: /usr/portage.mount/changes
              WORKDIR: /usr/portage.mount/workdir
              FILE: /usr/portage.mount/db.sfs
              mksquashfs-options: -noappend -quiet -comp lz4 -Xhc
              CHMOD: 0644
              CHOWN: unchanged (0:0)
              CHMOD_DIR: unchanged
              CHOWN_DIR: unchanged


Errors during emerge --sync:
Code:
gentoo ~ # emerge --sync
>>> Syncing repository 'gentoo' into '/usr/portage'...
>>> Starting rsync with rsync://91.186.30.235/gentoo-portage...
Welcome to boobie.gentoo.org / rsync.gentoo.org

Server Address :
Contact Name   : mirror-admin@gentoo.org
Hardware       : 2 x Intel(R) Xeon(R) CPU 3050 @ 2.13GHz, 3956MB RAM
Sponsor        : EUKhost, Maidenhead, England

Please note: common gentoo-netiquette says you should not sync more
than once a day.  Users who abuse the rsync.gentoo.org rotation
may be added to a temporary ban list.

MOTD autogenerated by update-rsync-motd on Thu Jul 24 06:32:46 UTC 2014

receiving file list ...
1 file to consider
timestamp.chk
             32 100%   31.25kB/s    0:00:00 (xfr#1, to-chk=0/1)

Number of files: 1 (reg: 1)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 1
Total file size: 32 bytes
Total transferred file size: 32 bytes
Literal data: 32 bytes
Matched data: 0 bytes
File list size: 39
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 100
Total bytes received: 126

sent 100 bytes  received 126 bytes  150.67 bytes/sec
total size is 32  speedup is 0.14
Welcome to boobie.gentoo.org / rsync.gentoo.org

Server Address :
Contact Name   : mirror-admin@gentoo.org
Hardware       : 2 x Intel(R) Xeon(R) CPU 3050 @ 2.13GHz, 3956MB RAM
Sponsor        : EUKhost, Maidenhead, England

Please note: common gentoo-netiquette says you should not sync more
than once a day.  Users who abuse the rsync.gentoo.org rotation
may be added to a temporary ban list.

MOTD autogenerated by update-rsync-motd on Thu Jul 24 06:32:46 UTC 2014

receiving file list ...
204614 files to consider
rsync: delete_file: unlink(app-text/XML-Schema-learner/XML-Schema-learner-1.0.0.ebuild) failed: Permission denied (13)
rsync: delete_file: unlink(dev-lang/coffee-script/coffee-script-1.10.0.ebuild) failed: Permission denied (13)
rsync: delete_file: unlink(dev-ruby/multi_json/multi_json-1.12.0.ebuild) failed: Permission denied (13)
rsync: delete_file: unlink(dev-ruby/multi_json/multi_json-1.11.3.ebuild) failed: Permission denied (13)
rsync: delete_file: unlink(kde-apps/kgamma/files/kgamma-4.14.3-cmake34.patch) failed: Permission denied (13)
cannot delete non-empty directory: kde-apps/kgamma/files
rsync: delete_file: rmdir(kde-apps/kgamma/files) failed: Permission denied (13)
rsync: delete_file: unlink(kde-apps/kgamma/metadata.xml) failed: Permission denied (13)
rsync: delete_file: unlink(kde-apps/kgamma/kgamma-4.14.3.ebuild) failed: Permission denied (13)
rsync: delete_file: unlink(kde-apps/kgamma/Manifest) failed: Permission denied (13)
rsync: delete_file: unlink(kde-apps/kgamma/ChangeLog-2015) failed: Permission denied (13)
rsync: delete_file: unlink(kde-apps/kgamma/ChangeLog) failed: Permission denied (13)
cannot delete non-empty directory: kde-apps/kgamma
rsync: delete_file: unlink(mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.1.ebuild) failed: Permission denied (13)
rsync: delete_file: unlink(mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.ebuild) failed: Permission denied (13)
rsync: delete_file: unlink(metadata/md5-cache/app-text/XML-Schema-learner-1.0.0) failed: Permission denied (13)
rsync: delete_file: unlink(metadata/md5-cache/dev-lang/coffee-script-1.10.0) failed: Permission denied (13)
rsync: delete_file: unlink(metadata/md5-cache/dev-ruby/multi_json-1.12.0) failed: Permission denied (13)
rsync: delete_file: unlink(metadata/md5-cache/dev-ruby/multi_json-1.11.3) failed: Permission denied (13)
rsync: delete_file: unlink(metadata/md5-cache/kde-apps/kgamma-4.14.3) failed: Permission denied (13)
rsync: delete_file: unlink(metadata/md5-cache/mail-filter/pypolicyd-spf-1.3.1) failed: Permission denied (13)
rsync: delete_file: unlink(metadata/md5-cache/mail-filter/pypolicyd-spf-1.1) failed: Permission denied (13)
rsync: delete_file: unlink(metadata/md5-cache/net-analyzer/nagios-check_mysql_health-2.1.8.2) failed: Permission denied (13)
rsync: delete_file: unlink(metadata/md5-cache/net-analyzer/monitoring-plugins-2.1.1) failed: Permission denied (13)
rsync: delete_file: unlink(metadata/md5-cache/net-mail/postfix-logwatch-1.40.00) failed: Permission denied (13)
rsync: delete_file: unlink(metadata/md5-cache/sci-mathematics/octave-4.0.2-r1) failed: Permission denied (13)
rsync: delete_file: unlink(metadata/md5-cache/sci-mathematics/octave-3.8.2) failed: Permission denied (13)
rsync: delete_file: unlink(net-analyzer/monitoring-plugins/monitoring-plugins-2.1.1.ebuild) failed: Permission denied (13)
rsync: delete_file: unlink(net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.1.8.2.ebuild) failed: Permission denied (13)
rsync: delete_file: unlink(net-mail/postfix-logwatch/postfix-logwatch-1.40.00.ebuild) failed: Permission denied (13)
rsync: delete_file: unlink(sci-mathematics/octave/octave-4.0.2-r1.ebuild) failed: Permission denied (13)
rsync: delete_file: unlink(sci-mathematics/octave/octave-3.8.2.ebuild) failed: Permission denied (13)
rsync: mkstemp "/usr/portage/app-text/XML-Schema-learner/.Manifest.B4OLq0" failed: Permission denied (13)
          1.84K 100%    1.80MB/s    0:00:00 (xfr#1, to-chk=185530/204614)
rsync: mkstemp "/usr/portage/dev-lang/coffee-script/.Manifest.87ByuM" failed: Permission denied (13)
          2.60K 100%    2.54MB/s    0:00:00 (xfr#2, to-chk=168896/204614)
rsync: mkstemp "/usr/portage/dev-lang/coffee-script/.coffee-script-1.10.0-r1.ebuild.M0ioyy" failed: Permission denied (13)
          1.10K 100%    1.08MB/s    0:00:00 (xfr#3, to-chk=168895/204614)
rsync: mkstemp "/usr/portage/dev-ruby/httpclient/.Manifest.9dkfCk" failed: Permission denied (13)
          4.81K 100%    4.70MB/s    0:00:00 (xfr#4, to-chk=134168/204614)
rsync: mkstemp "/usr/portage/dev-ruby/httpclient/.httpclient-2.8.1.ebuild.och8F6" failed: Permission denied (13)
          1.72K 100%    1.68MB/s    0:00:00 (xfr#5, to-chk=134163/204614)
rsync: mkstemp "/usr/portage/dev-ruby/multi_json/.Manifest.StY2JS" failed: Permission denied (13)
          4.08K 100%   81.54kB/s    0:00:00 (xfr#6, to-chk=133610/204614)
rsync: mkstemp "/usr/portage/dev-ruby/multi_json/.multi_json-1.11.2.ebuild.Jxco1E" failed: Permission denied (13)
          1.88K 100%   37.64kB/s    0:00:00 (xfr#7, to-chk=133608/204614)
rsync: mkstemp "/usr/portage/dev-ruby/multi_json/.multi_json-1.12.1.ebuild.UP4Jir" failed: Permission denied (13)
          1.87K 100%   37.32kB/s    0:00:00 (xfr#8, to-chk=133607/204614)
rsync: mkstemp "/usr/portage/dev-ruby/multi_json/.multi_json-1.9.3.ebuild.CsZaAd" failed: Permission denied (13)
          1.83K 100%   36.66kB/s    0:00:00 (xfr#9, to-chk=133606/204614)
rsync: mkstemp "/usr/portage/dev-ruby/rspec-retry/.Manifest.sOzCRZ" failed: Permission denied (13)
          2.21K 100%   44.18kB/s    0:00:00 (xfr#10, to-chk=132561/204614)
rsync: mkstemp "/usr/portage/dev-ruby/rspec-retry/.rspec-retry-0.5.0.ebuild.KMm78L" failed: Permission denied (13)
            664 100%   12.97kB/s    0:00:00 (xfr#11, to-chk=132558/204614)
rsync: mkstemp "/usr/portage/dev-ruby/syntax/.Manifest.4aRCqy" failed: Permission denied (13)
          2.94K 100%   58.77kB/s    0:00:00 (xfr#12, to-chk=131651/204614)
rsync: mkstemp "/usr/portage/dev-ruby/syntax/.syntax-1.2.1.ebuild.xosdIk" failed: Permission denied (13)
            911 100%   17.44kB/s    0:00:00 (xfr#13, to-chk=131648/204614)
rsync: mkstemp "/usr/portage/dev-util/jenkins-bin/.Manifest.P8BQZ6" failed: Permission denied (13)
          5.54K 100%  108.67kB/s    0:00:00 (xfr#14, to-chk=127547/204614)
rsync: mkstemp "/usr/portage/dev-util/jenkins-bin/.jenkins-bin-2.11.ebuild.3qeEhT" failed: Permission denied (13)
          1.08K 100%   21.25kB/s    0:00:00 (xfr#15, to-chk=127545/204614)
rsync: mkstemp "/usr/portage/dev-util/jenkins-bin/.jenkins-bin-2.12.ebuild.N9YszF" failed: Permission denied (13)
          1.09K 100%   20.88kB/s    0:00:00 (xfr#16, to-chk=127544/204614)
rsync: mkstemp "/usr/portage/mail-filter/pypolicyd-spf/.Manifest.mrClRr" failed: Permission denied (13)
          1.84K 100%   35.34kB/s    0:00:00 (xfr#17, to-chk=110496/204614)
rsync: mkstemp "/usr/portage/media-libs/libsfml/.Manifest.eAZe9d" failed: Permission denied (13)
          2.95K 100%   56.64kB/s    0:00:00 (xfr#18, to-chk=103807/204614)
rsync: mkstemp "/usr/portage/media-libs/libsfml/.libsfml-2.4.0.ebuild.KTVcr0" failed: Permission denied (13)
          1.44K 100%   14.40kB/s    0:00:00 (xfr#19, to-chk=103805/204614)
rsync: mkstemp "/usr/portage/metadata/.layout.conf.YRVaWM" failed: Permission denied (13)
          1.42K 100%   14.23kB/s    0:00:00 (xfr#20, to-chk=94392/204614)
rsync: mkstemp "/usr/portage/metadata/.projects.xml.roYbrz" failed: Permission denied (13)
        137.67K 100%  865.82kB/s    0:00:00 (xfr#21, to-chk=94391/204614)
rsync: mkstemp "/usr/portage/metadata/.timestamp.4s99bm" failed: Permission denied (13)
             29 100%    0.18kB/s    0:00:00 (xfr#22, to-chk=94390/204614)
rsync: mkstemp "/usr/portage/metadata/.timestamp.chk.AQEaX8" failed: Permission denied (13)
             32 100%    0.20kB/s    0:00:00 (xfr#23, to-chk=94389/204614)
rsync: mkstemp "/usr/portage/metadata/.timestamp.x.6hHcIV" failed: Permission denied (13)
             43 100%    0.26kB/s    0:00:00 (xfr#24, to-chk=94388/204614)
rsync: mkstemp "/usr/portage/metadata/dtd/.timestamp.chk.QB9ftI" failed: Permission denied (13)
             32 100%    0.20kB/s    0:00:00 (xfr#25, to-chk=94374/204614)
rsync: mkstemp "/usr/portage/metadata/glsa/.timestamp.chk.RFBlev" failed: Permission denied (13)
             32 100%    0.20kB/s    0:00:00 (xfr#26, to-chk=92135/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/dev-lang/.coffee-script-1.10.0-r1.Tl1sZh" failed: Permission denied (13)
            348 100%    2.14kB/s    0:00:00 (xfr#27, to-chk=83997/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/dev-ruby/.httpclient-2.8.1.kSvCK4" failed: Permission denied (13)
          3.94K 100%   24.62kB/s    0:00:00 (xfr#28, to-chk=74545/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/dev-ruby/.multi_json-1.11.2.0elPvR" failed: Permission denied (13)
          3.63K 100%   22.66kB/s    0:00:00 (xfr#29, to-chk=74390/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/dev-ruby/.multi_json-1.12.1.4fW4gE" failed: Permission denied (13)
          4.49K 100%   28.09kB/s    0:00:00 (xfr#30, to-chk=74389/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/dev-ruby/.multi_json-1.9.3.tcFo2q" failed: Permission denied (13)
          2.78K 100%   17.38kB/s    0:00:00 (xfr#31, to-chk=74388/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/dev-ruby/.rspec-retry-0.5.0.1s7ONd" failed: Permission denied (13)
          3.20K 100%   19.86kB/s    0:00:00 (xfr#32, to-chk=74084/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/dev-ruby/.syntax-1.2.1.bIllz0" failed: Permission denied (13)
          2.98K 100%   18.52kB/s    0:00:00 (xfr#33, to-chk=73772/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/dev-util/.jenkins-bin-2.11.xdfTkN" failed: Permission denied (13)
            611 100%    3.71kB/s    0:00:00 (xfr#34, to-chk=72753/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/dev-util/.jenkins-bin-2.12.icIy6z" failed: Permission denied (13)
            613 100%    3.72kB/s    0:00:00 (xfr#35, to-chk=72752/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/media-libs/.libsfml-2.4.0.8fdgSm" failed: Permission denied (13)
          1.23K 100%    7.61kB/s    0:00:00 (xfr#36, to-chk=68062/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/net-analyzer/.nagios-check_mysql_health-2.2.2.4Qy0D9" failed: Permission denied (13)
            452 100%    2.72kB/s    0:00:00 (xfr#37, to-chk=65822/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sci-mathematics/.octave-3.6.4.oPGNpW" failed: Permission denied (13)
          2.60K 100%   16.03kB/s    0:00:00 (xfr#38, to-chk=61393/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sci-mathematics/.octave-3.6.4-r1.JvDDbJ" failed: Permission denied (13)
          2.63K 100%   13.15kB/s    0:00:00 (xfr#39, to-chk=61392/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sci-mathematics/.octave-3.8.2-r1.5gvT7v" failed: Permission denied (13)
          3.33K 100%   16.57kB/s    0:00:00 (xfr#40, to-chk=61391/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sci-mathematics/.octave-4.0.0.Mmrc4i" failed: Permission denied (13)
          3.55K 100%   17.67kB/s    0:00:00 (xfr#41, to-chk=61390/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sci-mathematics/.octave-4.0.0-r1.GSJy05" failed: Permission denied (13)
          3.55K 100%   17.67kB/s    0:00:00 (xfr#42, to-chk=61389/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sci-mathematics/.octave-4.0.1.UkuZWS" failed: Permission denied (13)
          3.55K 100%   17.67kB/s    0:00:00 (xfr#43, to-chk=61388/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sci-mathematics/.octave-4.0.1-r1.hC2xTF" failed: Permission denied (13)
          3.55K 100%   17.58kB/s    0:00:00 (xfr#44, to-chk=61387/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sci-mathematics/.octave-4.0.2-r2.cJdcQs" failed: Permission denied (13)
          3.55K 100%   17.58kB/s    0:00:00 (xfr#45, to-chk=61386/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sys-apps/.diffutils-3.4.dcwZMf" failed: Permission denied (13)
            895 100%    4.31kB/s    0:00:00 (xfr#46, to-chk=59484/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sys-kernel/.rt-sources-3.14.65_p68.rdKPJ2" failed: Permission denied (13)
          1.46K 100%    7.17kB/s    0:00:00 (xfr#47, to-chk=57418/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sys-kernel/.rt-sources-3.14.72_p75.kEjIGP" failed: Permission denied (13)
          1.46K 100%    7.17kB/s    0:00:00 (xfr#48, to-chk=57417/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sys-kernel/.rt-sources-3.18.29_p30.piLCDC" failed: Permission denied (13)
          1.46K 100%    7.17kB/s    0:00:00 (xfr#49, to-chk=57416/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sys-kernel/.rt-sources-3.18.36_p37.bTDyAp" failed: Permission denied (13)
          1.46K 100%    7.17kB/s    0:00:00 (xfr#50, to-chk=57415/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sys-kernel/.rt-sources-4.1.20_p23.Mrtyxc" failed: Permission denied (13)
          1.44K 100%    7.11kB/s    0:00:00 (xfr#51, to-chk=57414/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sys-kernel/.rt-sources-4.1.27_p30.FQPzuZ" failed: Permission denied (13)
          1.44K 100%    7.11kB/s    0:00:00 (xfr#52, to-chk=57413/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sys-kernel/.rt-sources-4.4.12_p19.SRUDrM" failed: Permission denied (13)
          1.44K 100%    7.11kB/s    0:00:00 (xfr#53, to-chk=57412/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sys-kernel/.rt-sources-4.4.9_p17.JZnJoz" failed: Permission denied (13)
          1.44K 100%    7.06kB/s    0:00:00 (xfr#54, to-chk=57411/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sys-kernel/.rt-sources-4.6.1_p3.0aNRlm" failed: Permission denied (13)
          1.44K 100%    7.04kB/s    0:00:00 (xfr#55, to-chk=57410/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sys-kernel/.rt-sources-4.6.2_p5.wTP1i9" failed: Permission denied (13)
          1.44K 100%    7.04kB/s    0:00:00 (xfr#56, to-chk=57409/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/sys-process/.cronie-1.5.1.mindgW" failed: Permission denied (13)
          1.05K 100%    5.14kB/s    0:00:00 (xfr#57, to-chk=57010/204614)
rsync: mkstemp "/usr/portage/metadata/md5-cache/www-servers/.nginx-1.11.3.HkptdJ" failed: Permission denied (13)
          8.87K 100%   43.27kB/s    0:00:00 (xfr#58, to-chk=55979/204614)
rsync: mkstemp "/usr/portage/metadata/news/.timestamp.chk.oMr3aw" failed: Permission denied (13)
             32 100%    0.15kB/s    0:00:00 (xfr#59, to-chk=53931/204614)
rsync: mkstemp "/usr/portage/metadata/xml-schema/.timestamp.chk.KG4F8i" failed: Permission denied (13)
             32 100%    0.15kB/s    0:00:00 (xfr#60, to-chk=53675/204614)
rsync: mkstemp "/usr/portage/net-analyzer/monitoring-plugins/.Manifest.OK2k65" failed: Permission denied (13)
          1.85K 100%    8.96kB/s    0:00:00 (xfr#61, to-chk=52637/204614)
rsync: mkstemp "/usr/portage/net-analyzer/nagios-check_mysql_health/.Manifest.5w523S" failed: Permission denied (13)
          2.63K 100%   12.75kB/s    0:00:00 (xfr#62, to-chk=52516/204614)
rsync: mkstemp "/usr/portage/net-analyzer/nagios-check_mysql_health/.nagios-check_mysql_health-2.2.2.ebuild.03oN1F" failed: Permission denied (13)
          1.12K 100%    5.45kB/s    0:00:00 (xfr#63, to-chk=52513/204614)
rsync: mkstemp "/usr/portage/net-mail/postfix-logwatch/.Manifest.afVyZs" failed: Permission denied (13)
          1.84K 100%    8.94kB/s    0:00:00 (xfr#64, to-chk=45228/204614)
rsync: mkstemp "/usr/portage/net-mail/postfix-logwatch/.metadata.xml.7yhmXf" failed: Permission denied (13)
            304 100%    1.44kB/s    0:00:00 (xfr#65, to-chk=45227/204614)
rsync: mkstemp "/usr/portage/profiles/.use.local.desc.yIyaV2" failed: Permission denied (13)
        676.28K 100%    2.01MB/s    0:00:00 (xfr#66, to-chk=37727/204614)
rsync: mkstemp "/usr/portage/profiles/desc/.nginx_modules_http.desc.vhH0pQ" failed: Permission denied (13)
          6.03K 100%   18.33kB/s    0:00:00 (xfr#67, to-chk=36516/204614)
rsync: mkstemp "/usr/portage/profiles/desc/.nginx_modules_stream.desc.DQx1UD" failed: Permission denied (13)
          1.35K 100%    4.11kB/s    0:00:00 (xfr#68, to-chk=36514/204614)
rsync: mkstemp "/usr/portage/profiles/updates/.3Q-2016.5ns4pr" failed: Permission denied (13)
            656 100%    1.95kB/s    0:00:00 (xfr#69, to-chk=35204/204614)
rsync: mkstemp "/usr/portage/sci-mathematics/octave/.Manifest.URq9Ue" failed: Permission denied (13)
         12.00K 100%   36.37kB/s    0:00:00 (xfr#70, to-chk=28097/204614)
rsync: mkstemp "/usr/portage/sci-mathematics/octave/.octave-3.6.4-r1.ebuild.T4UAq2" failed: Permission denied (13)
          3.40K 100%   10.29kB/s    0:00:00 (xfr#71, to-chk=28095/204614)
rsync: mkstemp "/usr/portage/sci-mathematics/octave/.octave-3.6.4.ebuild.Exo4VP" failed: Permission denied (13)
          3.33K 100%   10.08kB/s    0:00:00 (xfr#72, to-chk=28094/204614)
rsync: mkstemp "/usr/portage/sci-mathematics/octave/.octave-3.8.2-r1.ebuild.oEZIrD" failed: Permission denied (13)
          4.18K 100%   12.63kB/s    0:00:00 (xfr#73, to-chk=28093/204614)
rsync: mkstemp "/usr/portage/sci-mathematics/octave/.octave-4.0.0-r1.ebuild.s06rXq" failed: Permission denied (13)
          4.87K 100%   14.66kB/s    0:00:00 (xfr#74, to-chk=28092/204614)
rsync: mkstemp "/usr/portage/sci-mathematics/octave/.octave-4.0.0.ebuild.SL2kte" failed: Permission denied (13)
          4.55K 100%   12.96kB/s    0:00:00 (xfr#75, to-chk=28091/204614)
rsync: mkstemp "/usr/portage/sci-mathematics/octave/.octave-4.0.1-r1.ebuild.qGwq41" failed: Permission denied (13)
          4.70K 100%   13.36kB/s    0:00:00 (xfr#76, to-chk=28090/204614)
rsync: mkstemp "/usr/portage/sci-mathematics/octave/.octave-4.0.1.ebuild.OFoIFP" failed: Permission denied (13)
          4.55K 100%   12.93kB/s    0:00:00 (xfr#77, to-chk=28089/204614)
rsync: mkstemp "/usr/portage/sci-mathematics/octave/.octave-4.0.2-r2.ebuild.NWG7gD" failed: Permission denied (13)
          4.70K 100%   13.33kB/s    0:00:00 (xfr#78, to-chk=28088/204614)
rsync: mkstemp "/usr/portage/sys-apps/diffutils/.Manifest.ZquGSq" failed: Permission denied (13)
          2.57K 100%    7.26kB/s    0:00:00 (xfr#79, to-chk=23586/204614)
rsync: mkstemp "/usr/portage/sys-apps/diffutils/.diffutils-3.4.ebuild.YwPtue" failed: Permission denied (13)
          1.25K 100%    3.54kB/s    0:00:00 (xfr#80, to-chk=23584/204614)
rsync: mkstemp "/usr/portage/sys-kernel/rt-sources/.Manifest.akui61" failed: Permission denied (13)
         17.80K 100%   49.99kB/s    0:00:00 (xfr#81, to-chk=15390/204614)
rsync: mkstemp "/usr/portage/sys-kernel/rt-sources/.rt-sources-3.14.65_p68.ebuild.lDeIIP" failed: Permission denied (13)
          1.26K 100%    3.55kB/s    0:00:00 (xfr#82, to-chk=15388/204614)
rsync: mkstemp "/usr/portage/sys-kernel/rt-sources/.rt-sources-3.14.72_p75.ebuild.EWWclD" failed: Permission denied (13)
          1.26K 100%    3.55kB/s    0:00:00 (xfr#83, to-chk=15387/204614)
rsync: mkstemp "/usr/portage/sys-kernel/rt-sources/.rt-sources-3.18.29_p30.ebuild.lxsIXq" failed: Permission denied (13)
          1.26K 100%    3.55kB/s    0:00:00 (xfr#84, to-chk=15386/204614)
rsync: mkstemp "/usr/portage/sys-kernel/rt-sources/.rt-sources-3.18.36_p37.ebuild.GsBeAe" failed: Permission denied (13)
          1.26K 100%    3.55kB/s    0:00:00 (xfr#85, to-chk=15385/204614)
rsync: mkstemp "/usr/portage/sys-kernel/rt-sources/.rt-sources-4.1.20_p23.ebuild.7muLc2" failed: Permission denied (13)
          1.26K 100%    3.55kB/s    0:00:00 (xfr#86, to-chk=15384/204614)
rsync: mkstemp "/usr/portage/sys-kernel/rt-sources/.rt-sources-4.1.27_p30.ebuild.p7blPP" failed: Permission denied (13)
          1.26K 100%    3.55kB/s    0:00:00 (xfr#87, to-chk=15383/204614)
rsync: mkstemp "/usr/portage/sys-kernel/rt-sources/.rt-sources-4.4.12_p19.ebuild.FKBVrD" failed: Permission denied (13)
          1.26K 100%    3.54kB/s    0:00:00 (xfr#88, to-chk=15382/204614)
rsync: mkstemp "/usr/portage/sys-kernel/rt-sources/.rt-sources-4.4.9_p17.ebuild.SgaA4q" failed: Permission denied (13)
          1.26K 100%    3.54kB/s    0:00:00 (xfr#89, to-chk=15381/204614)
rsync: mkstemp "/usr/portage/sys-kernel/rt-sources/.rt-sources-4.6.1_p3.ebuild.0xVfHe" failed: Permission denied (13)
          1.26K 100%    3.54kB/s    0:00:00 (xfr#90, to-chk=15380/204614)
rsync: mkstemp "/usr/portage/sys-kernel/rt-sources/.rt-sources-4.6.2_p5.ebuild.r2zWj2" failed: Permission denied (13)
          1.26K 100%    3.54kB/s    0:00:00 (xfr#91, to-chk=15379/204614)
rsync: mkstemp "/usr/portage/sys-process/cronie/.Manifest.UplHWP" failed: Permission denied (13)
          4.76K 100%   13.34kB/s    0:00:00 (xfr#92, to-chk=13834/204614)
rsync: mkstemp "/usr/portage/sys-process/cronie/.cronie-1.5.1.ebuild.MRxwzD" failed: Permission denied (13)
          2.08K 100%    5.82kB/s    0:00:00 (xfr#93, to-chk=13831/204614)
rsync: mkstemp "/usr/portage/www-servers/nginx/.Manifest.05rrcr" failed: Permission denied (13)
         14.70K 100%   40.94kB/s    0:00:00 (xfr#94, to-chk=9468/204614)
rsync: mkstemp "/usr/portage/www-servers/nginx/.nginx-1.11.3.ebuild.mUnJPe" failed: Permission denied (13)
         28.14K 100%   77.51kB/s    0:00:00 (xfr#95, to-chk=9463/204614)
rsync: mkstemp "/usr/portage/www-servers/nginx/files/.nginx-1.11.3-fix-build-without-stream_ssl_module.patch.1lTau2" failed: Permission denied (13)
            873 100%    2.35kB/s    0:00:00 (xfr#96, to-chk=9460/204614)

Number of files: 204,614 (reg: 177,248, dir: 27,366)
Number of created files: 25 (reg: 25)
Number of deleted files: 0
Number of regular files transferred: 96
Total file size: 391.91M bytes
Total transferred file size: 1.06M bytes
Literal data: 1.06M bytes
Matched data: 0 bytes
File list size: 4.68M
File list generation time: 1.138 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 1.93K
Total bytes received: 5.74M

sent 1.93K bytes  received 5.74M bytes  1.27M bytes/sec
total size is 391.91M  speedup is 68.31
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1650) [generator=3.1.2]
>>> Retrying...


>>> Starting retry 1 of 4 with rsync://81.91.253.252/gentoo-portage


Code:
gentoo portage # ls -als
total 18
4 drwxr-xr-x    1 root    root     4096 aug  9 10:58 .
4 drwxr-xr-x   17 root    root     4096 aug  9 10:57 ..
0 drwxr-xr-x   40 portage portage   704 iul 27 11:35 app-accessibility
0 drwxr-xr-x  198 portage portage  3446 aug  7 19:18 app-admin
0 drwxr-xr-x    5 portage portage    94 iul 27 11:35 app-antivirus
0 drwxr-xr-x  103 portage portage  1499 iul 27 11:35 app-arch
0 drwxr-xr-x   62 portage portage  1162 aug  1 12:27 app-backup
0 drwxr-xr-x   35 portage portage   557 iul 27 11:35 app-benchmarks
0 drwxr-xr-x   63 portage portage  1012 iul 27 11:35 app-cdr
0 drwxr-xr-x  135 portage portage  2343 iul 27 11:35 app-crypt
0 drwxr-xr-x  331 portage portage  6909 iul 27 11:35 app-dicts
0 drwxr-xr-x   46 portage portage   914 iul 27 11:35 app-doc
0 drwxr-xr-x   92 portage portage  1298 iul 27 11:35 app-editors
0 drwxr-xr-x  198 portage portage  3340 iul 27 11:35 app-emacs
0 drwxr-xr-x  100 portage portage  1908 iul 27 11:35 app-emulation
0 drwxr-xr-x   51 portage portage  1178 iul 27 11:35 app-eselect
0 drwxr-xr-x   30 portage portage   458 iul 27 11:35 app-forensics
0 drwxr-xr-x  132 portage portage  2415 aug  7 19:18 app-i18n
0 drwxr-xr-x   23 portage portage   400 aug  9  2015 app-laptop
0 drwxr-xr-x   74 portage portage  1435 aug  9  2015 app-leechcraft
0 drwxr-xr-x  285 portage portage  4496 iul 28 09:38 app-misc
0 drwxr-xr-x   33 portage portage   529 aug  8 06:59 app-mobilephone
0 drwxr-xr-x   61 portage portage  1044 aug  4 15:51 app-office
0 drwxr-xr-x   10 portage portage   165 aug  9  2015 app-officeext
0 drwxr-xr-x   25 portage portage   433 iul 27 11:35 app-pda
0 drwxr-xr-x   56 portage portage   954 aug  4 15:51 app-portage
0 drwxr-xr-x   42 portage portage   655 iul 27 11:35 app-shells
0 drwxr-xr-x  324 portage portage  5249 iul 27 11:35 app-text
0 drwxr-xr-x  179 portage portage  3135 iul 29 07:30 app-vim
0 drwxr-xr-x  133 portage portage  2031 aug  9  2015 app-xemacs
0 drwxr-xr-x    7 portage portage   120 aug  9  2015 dev-ada
0 drwxr-xr-x   59 portage portage   973 iul 27 11:35 dev-cpp
0 drwxr-xr-x  126 portage portage  2353 aug  4 15:51 dev-db
0 drwxr-xr-x   52 portage portage  1042 iul 23 08:18 dev-dotnet
0 drwxr-xr-x   68 portage portage  1305 iul 27 11:35 dev-embedded
0 drwxr-xr-x   29 root    root      437 iun  8 09:00 dev-erlang
0 drwxr-xr-x   38 portage portage   605 iul 27 11:35 dev-games
0 drwxr-xr-x   29 portage portage   484 iul 29 23:33 dev-go
0 drwxr-xr-x  569 portage portage 10686 aug  4 15:51 dev-haskell
0 drwxr-xr-x  595 portage portage 11149 aug  4 15:51 dev-java
0 drwxr-xr-x  117 portage portage  1714 iul 29 07:30 dev-lang
0 drwxr-xr-x  506 portage portage  8309 aug  5 12:39 dev-libs
0 drwxr-xr-x   21 portage portage   374 iul 27 11:35 dev-lisp
0 drwxr-xr-x   35 portage portage   558 iul 13 14:55 dev-lua
0 drwxr-xr-x  170 portage portage  2934 iul 27 11:35 dev-ml
0 drwxr-xr-x 1421 portage portage 30758 aug  4 15:51 dev-perl
0 drwxr-xr-x  245 portage portage  5395 aug  6 10:13 dev-php
0 drwxr-xr-x 1522 portage portage 27528 aug  8 06:59 dev-python
0 drwxr-xr-x   58 portage portage  1044 aug  1 12:27 dev-qt
0 drwxr-xr-x  321 portage portage  6943 iul 27 11:35 dev-ros
0 drwxr-xr-x  619 portage portage 11097 aug  8 06:59 dev-ruby
0 drwxr-xr-x   37 portage portage   604 iul 27 11:35 dev-scheme
0 drwxr-xr-x   43 portage portage   625 aug  9  2015 dev-tcltk
0 drwxr-xr-x   88 portage portage  1406 iul 27 11:35 dev-tex
0 drwxr-xr-x   88 portage portage  2574 aug  9  2015 dev-texlive
0 drwxr-xr-x  360 portage portage  6276 aug  8 06:59 dev-util
0 drwxr-xr-x   91 portage portage  1467 iul 13 14:55 dev-vcs
0 drwxr-xr-x    4 portage portage  5763 aug  8 06:59 eclass
0 drwxr-xr-x   82 portage portage  1500 iul 27 11:35 games-action
0 drwxr-xr-x  137 portage portage  2378 iul 27 11:35 games-arcade
0 drwxr-xr-x   79 portage portage  1272 iul 27 11:35 games-board
0 drwxr-xr-x   63 portage portage  1057 iul 27 11:35 games-emulation
0 drwxr-xr-x   21 portage portage   325 aug  9  2015 games-engines
0 drwxr-xr-x  130 portage portage  2722 apr 28 10:41 games-fps
0 drwxr-xr-x   13 portage portage   233 iul 19 10:06 games-kids
0 drwxr-xr-x   80 portage portage  1836 iul 19 10:06 games-misc
0 drwxr-xr-x   16 portage portage   238 aug  9  2015 games-mud
0 drwxr-xr-x  112 portage portage  1870 iul 27 11:35 games-puzzle
0 drwxr-xr-x   20 portage portage   316 iul 27 11:35 games-roguelike
0 drwxr-xr-x   58 portage portage  1086 mai 20 18:40 games-rpg
0 drwxr-xr-x   13 portage portage   226 iul 27 11:35 games-server
0 drwxr-xr-x   20 portage portage   359 iul 27 11:35 games-simulation
0 drwxr-xr-x   17 portage portage   277 iul 27 11:35 games-sports
0 drwxr-xr-x   58 portage portage   997 iul 27 11:35 games-strategy
0 drwxr-xr-x   41 portage portage   636 iul 27 11:35 games-util
0 drwxr-xr-x   37 portage portage   735 iul 30 19:01 gnome-base
0 drwxr-xr-x   79 portage portage  1826 iul 30 19:01 gnome-extra
0 drwxr-xr-x   40 portage portage   664 iul 21 13:26 gnustep-apps
0 drwxr-xr-x   11 portage portage   236 iul 21 13:26 gnustep-base
0 drwxr-xr-x   16 portage portage   273 aug  9  2015 gnustep-libs
1 -rw-r--r--    1 portage portage   115 ian  1  2016 header.txt
0 drwxr-xr-x   15 portage portage   256 aug  9  2015 java-virtuals
0 drwxr-xr-x  275 portage portage  5142 aug  7 19:18 kde-apps
0 drwxr-xr-x   45 portage portage   860 aug  7 19:18 kde-base
0 drwxr-xr-x   75 portage portage  1341 iul 28 09:38 kde-frameworks
0 drwxr-xr-x  110 portage portage  2150 aug  7 19:18 kde-misc
0 drwxr-xr-x   44 portage portage   879 iul 28 09:38 kde-plasma
0 drwxr-xr-x    2 portage portage 12796 aug  4 15:51 licenses
0 drwxr-xr-x    6 portage portage   233 aug  4 16:24 local
0 drwxr-xr-x   19 portage portage   354 iun 27 09:06 lxde-base
0 drwxr-xr-x   19 portage portage   381 iul 26 07:27 lxqt-base
0 drwxr-xr-x   28 portage portage   465 iul 29 07:30 mail-client
0 drwxr-xr-x   69 portage portage  1214 iul 30 19:01 mail-filter
0 drwxr-xr-x   15 portage portage   246 iul 21 13:26 mail-mta
0 drwxr-xr-x   14 portage portage   280 iul 26 07:27 mate-base
0 drwxr-xr-x   16 portage portage   346 aug  7 19:18 mate-extra
0 drwxr-xr-x  208 portage portage  4248 iul 27 11:35 media-fonts
0 drwxr-xr-x  266 portage portage  4456 iul 27 11:35 media-gfx
0 drwxr-xr-x  399 portage portage  6634 iul 27 11:35 media-libs
0 drwxr-xr-x  278 portage portage  6139 aug  7 19:18 media-plugins
0 drwxr-xr-x   25 portage portage   368 iul 27 11:35 media-radio
0 drwxr-xr-x  401 portage portage  6529 iul 27 11:35 media-sound
0 drwxr-xr-x   24 portage portage   426 iul 27 11:35 media-tv
0 drwxr-xr-x  186 portage portage  3219 aug  4 15:51 media-video
0 drwxr-xr-x    8 portage portage   272 aug  9 07:24 metadata
0 drwxr-xr-x  295 portage portage  4961 aug  5 12:39 net-analyzer
0 drwxr-xr-x   54 portage portage   910 iul 27 11:35 net-dialup
0 drwxr-xr-x   58 portage portage  1010 iul 27 11:35 net-dns
0 drwxr-xr-x   36 portage portage   610 iul 27 11:35 net-firewall
0 drwxr-xr-x   22 portage portage   370 iul 27 11:35 net-fs
0 drwxr-xr-x   31 portage portage   471 iul 28 09:38 net-ftp
0 drwxr-xr-x   54 portage portage   921 iul 29 07:30 net-im
0 drwxr-xr-x   63 portage portage   979 iul 29 07:30 net-irc
0 drwxr-xr-x  205 portage portage  3607 iul 27 11:35 net-libs
0 drwxr-xr-x  111 portage portage  1898 iul 27 11:35 net-mail
0 drwxr-xr-x  407 portage portage  6760 aug  4 15:51 net-misc
0 drwxr-xr-x   25 portage portage   438 iul 27 11:35 net-nds
0 drwxr-xr-x   16 portage portage   274 aug  9  2015 net-news
0 drwxr-xr-x   19 portage portage   254 iul 27 11:35 net-nntp
0 drwxr-xr-x   65 portage portage  1152 aug  8 06:59 net-p2p
0 drwxr-xr-x   42 portage portage   765 iul 27 11:35 net-print
0 drwxr-xr-x   39 portage portage   645 iul 27 11:35 net-proxy
0 drwxr-xr-x   14 portage portage   254 aug  9  2015 net-voip
0 drwxr-xr-x   78 portage portage  1333 iul 29 07:30 net-wireless
0 drwx------    3 root    root       61 aug  8 23:15 packages
0 drwxr-xr-x   48 portage portage   952 iul 17 09:01 perl-core
0 drwxr-xr-x   14 portage portage   682 aug  9 07:25 profiles
0 drwxr-xr-x   52 portage portage  1049 iul 27 11:35 ros-meta
0 drwxr-xr-x   40 portage portage   633 iun  8 09:00 sci-astronomy
0 drwxr-xr-x  149 portage portage  2420 iul 27 11:35 sci-biology
0 drwxr-xr-x   23 portage portage   382 aug  9  2015 sci-calculators
0 drwxr-xr-x  114 portage portage  1879 iul 27 11:35 sci-chemistry
0 drwxr-xr-x   56 portage portage   869 iul 27 11:35 sci-electronics
0 drwxr-xr-x   66 portage portage  1346 iul 27 11:35 sci-geosciences
0 drwxr-xr-x  240 portage portage  3817 iul 27 11:35 sci-libs
0 drwxr-xr-x   88 portage portage  1307 iul 27 11:35 sci-mathematics
0 drwxr-xr-x   21 portage portage   348 iul 27 11:35 sci-misc
0 drwxr-xr-x   36 portage portage   555 iul 28 09:38 sci-physics
0 drwxr-xr-x   36 portage portage   545 iul 27 11:35 sci-visualization
0 drwxr-xr-x    2 portage portage    35 aug  9  2015 scripts
0 drwxr-xr-x  258 portage portage  5883 iul 28 09:38 sec-policy
8 -rw-r--r--    1 portage portage  7328 ian 27  2016 skel.ebuild
2 -rw-r--r--    1 portage portage  1181 feb  1  2016 skel.metadata.xml
0 drwxr-xr-x  269 portage portage  4616 iul 27 11:35 sys-apps
0 drwxr-xr-x   66 portage portage  1213 iul 27 11:35 sys-auth
0 drwxr-xr-x   65 portage portage  1053 iul 27 11:35 sys-block
0 drwxr-xr-x   44 portage portage   751 iul 27 11:35 sys-boot
0 drwxr-xr-x   80 portage portage  1276 iul 14 08:15 sys-cluster
0 drwxr-xr-x   52 portage portage   855 iul 13 14:55 sys-devel
0 drwxr-xr-x   29 root    root      481 iun 30 07:27 sys-fabric
0 drwxr-xr-x   31 portage portage   676 iul 27 11:35 sys-firmware
0 drwxr-xr-x   19 portage portage   399 iul 27 11:35 sys-freebsd
0 drwxr-xr-x  136 portage portage  2250 iul 27 11:35 sys-fs
0 drwxr-xr-x   27 portage portage   547 iul 27 11:35 sys-kernel
0 drwxr-xr-x   87 portage portage  1465 aug  4 15:51 sys-libs
0 drwxr-xr-x   35 portage portage   591 iul 27 11:35 sys-power
0 drwxr-xr-x   51 portage portage   795 iul 27 11:35 sys-process
0 drwxr-xr-x  202 portage portage  4216 iul 13 14:55 virtual
0 drwxr-xr-x   72 portage portage  1455 iul 27 11:35 www-apache
0 drwxr-xr-x  102 portage portage  1825 aug  5 12:39 www-apps
0 drwxr-xr-x   49 portage portage   785 iul 27 11:35 www-client
0 drwxr-xr-x   23 portage portage   397 iul 27 11:35 www-misc
0 drwxr-xr-x   14 portage portage   310 iul 28 09:38 www-plugins
0 drwxr-xr-x   32 portage portage   480 iul 27 11:35 www-servers
0 drwxr-xr-x   95 portage portage  1470 iul 27 11:35 x11-apps
0 drwxr-xr-x    5 portage portage    90 iul 22 16:01 x11-base
0 drwxr-xr-x   74 portage portage  1834 iul 29 07:30 x11-drivers
0 drwxr-xr-x  148 portage portage  2630 iul 27 11:35 x11-libs
0 drwxr-xr-x  305 portage portage  4992 iul 27 11:35 x11-misc
0 drwxr-xr-x  194 portage portage  3489 iul 27 11:35 x11-plugins
0 drwxr-xr-x   36 portage portage   692 aug  9  2015 x11-proto
0 drwxr-xr-x   31 portage portage   500 iul 30 19:01 x11-terms
0 drwxr-xr-x  138 portage portage  3198 iul 27 11:35 x11-themes
0 drwxr-xr-x   58 portage portage   854 iul 27 11:35 x11-wm
0 drwxr-xr-x   16 portage portage   278 aug  9  2015 xfce-base
0 drwxr-xr-x   68 portage portage  1804 iul 29 23:33 xfce-extra

_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Tue Aug 09, 2016 9:20 am    Post subject: Reply with quote

costel78 wrote:
overlay/squashfs

This output suggest that the changes of squashmount-15.0 should not take any effect. (Of course, there can always be strange bugs, but I would be surprised, because I cannot reproduce it here). You can try to reemerge an older version to verifytis (just copy the ebuild).
Quote:
CHMOD_DIR: unchanged
CHOWN_DIR: unchanged

This output suggests that squashmount does not fiddle with any permissions (unless there is a strange bug in code which has not been touched since many versions).

So everything hints that this is a problem in the overlay code of the kernel.

As mentioned, I had similar issues also in certain special circumstances. Try whether you can remove manually e.g. app-text/XML-Schema-learner/XML-Schema-learner-1.0.0.ebuild and if not (what I consider likely) how the coresponding file (or its parent(s) if it does not exist) looks like in the corresponding CHANGES and READONLY directory; I would guess that this file or some of its parents are character devices. Just to be sure, check that the filesystem on which /usr/portage.mount resides does support xattr (which is required by overlay to function properly).

As a quick "solution", probably
Code:
emerge --kill --force remount portage
will perhaps solve your problem. This command, however, will have the side effect that all the latest changes are lost and perhaps that also the problem is no longer reproducible for the case that you want to report it upstream to overlay. However, the latter will be hard anyway, since it is perhaps not clear how to reproduce it...
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Tue Aug 09, 2016 11:47 am    Post subject: Reply with quote

After many attempts I think I figured it out. Keeping a overlay in /srv/copy was not a good ideea.
I restored the original sqashmount.pl and tried with minimal changes - no luck.
When I removed the 3 routines at the end of my config, everything started to work. (after_mount, before_umount, before_mount)

Log:
Code:
gentoo costel # cat squashmount.log
Step 1
Restore /usr/portage and /var/db from backup
Remove /usr/portage.mount and /var/db.mount
Manually start squashmount:

gentoo ~ # squashmount -vvv start
 * squashmount: reading config file /etc/squashmount.pl
 * [db]:      It seems this is mounted for the first time:
              The squash-file /var/db.mount/db.sfs does not exist yet;
              it will be initialized now from /var/db
/usr/bin/mksquashfs /var/db /var/db.mount/db.sfs -noappend -quiet -comp lz4 -Xhc
[=================================================================================================================/] 39787/39787 100%
/sbin/modprobe squashfs
/sbin/modprobe loop
/bin/mount -t squashfs -o loop,ro,noatime -- /var/db.mount/db.sfs /tmp/xls1RfVeR4
/usr/bin/lsof -- /tmp/xls1RfVeR4
/bin/umount -- /tmp/xls1RfVeR4
 * [db]:      cleaning original DIR
 * [db]:      cleaning /var/db
 * [db]:      mounting...
/bin/mount -t squashfs -o loop,ro,noatime -- /var/db.mount/db.sfs /var/db.mount/readonly
/sbin/modprobe overlay
/bin/mount -t overlay -o noatime -o upperdir=/var/db.mount/changes -o lowerdir=/var/db.mount/readonly -o workdir=/var/db.mount/workdir -- overlay /var/db
 * [portage]: It seems this is mounted for the first time:
              The squash-file /usr/portage.mount/db.sfs does not exist yet;
              it will be initialized now from /usr/portage
/usr/bin/mksquashfs /usr/portage /usr/portage.mount/db.sfs -noappend -quiet -comp lz4 -Xhc
[===============================================================================================================|] 179514/179514 100%
/bin/mount -t squashfs -o loop,ro,noatime -- /usr/portage.mount/db.sfs /tmp/Y3cHBM8qqk
/usr/bin/lsof -- /tmp/Y3cHBM8qqk
/bin/umount -- /tmp/Y3cHBM8qqk
 * [portage]: cleaning original DIR
 * [portage]: cleaning /usr/portage
 * [portage]: mounting...
/bin/mount -t squashfs -o loop,ro,noatime -- /usr/portage.mount/db.sfs /usr/portage.mount/readonly
/bin/mount -t overlay -o noatime -o upperdir=/usr/portage.mount/changes -o lowerdir=/usr/portage.mount/readonly -o workdir=/usr/portage.mount/workdir -- overlay /usr/portage

Step 2
Manual test:
gentoo ~ # cd /usr/portage
gentoo portage # touch test.ebuild
gentoo portage # echo "asdf" > test.ebuild
gentoo portage # cat test.ebuild
asdf
gentoo portage # rm test.ebuild

Try to rsync:
gentoo portage # emerge --sync
>>> Syncing repository 'gentoo' into '/usr/portage'...
>>> Starting rsync with rsync://176.28.50.119/gentoo-portage...
Welcome to quetzal.gentoo.org / rsync.gentoo.org

Server Address : 2a01:488:67:1000:b01c:3277:0:1
Contact Name   : mirror-admin@gentoo.org
Hardware       : 4 x Intel(R) Xeon(R) CPU E5649 @ 2.53GHz, 16073MB RAM
Sponsor        : Host Europe, Cologne, Germany, EU

Please note: common gentoo-netiquette says you should not sync more
than once a day.  Users who abuse the rsync.gentoo.org rotation
may be added to a temporary ban list.

MOTD autogenerated by update-rsync-motd on Wed Dec 16 19:33:43 UTC 2015

receiving file list ...
1 file to consider
timestamp.chk
             32 100%   31.25kB/s    0:00:00 (xfr#1, to-chk=0/1)

Number of files: 1 (reg: 1)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 1
Total file size: 32 bytes
Total transferred file size: 32 bytes
Literal data: 32 bytes
Matched data: 0 bytes
File list size: 39
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 100
Total bytes received: 126

sent 100 bytes  received 126 bytes  150.67 bytes/sec
total size is 32  speedup is 0.14
Welcome to quetzal.gentoo.org / rsync.gentoo.org

Server Address : 2a01:488:67:1000:b01c:3277:0:1
Contact Name   : mirror-admin@gentoo.org
Hardware       : 4 x Intel(R) Xeon(R) CPU E5649 @ 2.53GHz, 16073MB RAM
Sponsor        : Host Europe, Cologne, Germany, EU

Please note: common gentoo-netiquette says you should not sync more
than once a day.  Users who abuse the rsync.gentoo.org rotation
may be added to a temporary ban list.

MOTD autogenerated by update-rsync-motd on Wed Dec 16 19:33:43 UTC 2015

receiving file list ...
204630 files to consider
deleting app-i18n/man-pages-de/man-pages-de-1.12.ebuild
deleting app-text/XML-Schema-learner/XML-Schema-learner-1.0.0.ebuild
deleting dev-db/aerospike-server-community/aerospike-server-community-3.9.0.ebuild
deleting dev-db/aerospike-server-community/aerospike-server-community-3.8.2.2.ebuild
deleting dev-db/aerospike-server-community/aerospike-server-community-3.8.1.ebuild
deleting dev-db/aerospike-server-community/aerospike-server-community-3.8.1.2.ebuild
deleting dev-lang/coffee-script/coffee-script-1.10.0.ebuild
deleting dev-ruby/multi_json/multi_json-1.12.0.ebuild
deleting dev-ruby/multi_json/multi_json-1.11.3.ebuild
deleting kde-apps/kgamma/files/kgamma-4.14.3-cmake34.patch
deleting kde-apps/kgamma/files/
deleting kde-apps/kgamma/metadata.xml
deleting kde-apps/kgamma/kgamma-4.14.3.ebuild
deleting kde-apps/kgamma/Manifest
deleting kde-apps/kgamma/ChangeLog-2015
deleting kde-apps/kgamma/ChangeLog
deleting kde-apps/kgamma/
deleting mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.1.ebuild
deleting mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.ebuild
deleting metadata/md5-cache/app-i18n/man-pages-de-1.12
deleting metadata/md5-cache/app-text/XML-Schema-learner-1.0.0
deleting metadata/md5-cache/dev-db/aerospike-server-community-3.9.0
deleting metadata/md5-cache/dev-db/aerospike-server-community-3.8.2.2
deleting metadata/md5-cache/dev-db/aerospike-server-community-3.8.1.2
deleting metadata/md5-cache/dev-db/aerospike-server-community-3.8.1
deleting metadata/md5-cache/dev-lang/coffee-script-1.10.0
deleting metadata/md5-cache/dev-ruby/multi_json-1.12.0
deleting metadata/md5-cache/dev-ruby/multi_json-1.11.3
deleting metadata/md5-cache/kde-apps/kgamma-4.14.3
deleting metadata/md5-cache/mail-filter/pypolicyd-spf-1.3.1
deleting metadata/md5-cache/mail-filter/pypolicyd-spf-1.1
deleting metadata/md5-cache/net-analyzer/nagios-check_mysql_health-2.1.8.2
deleting metadata/md5-cache/net-analyzer/monitoring-plugins-2.1.1
deleting metadata/md5-cache/net-mail/postfix-logwatch-1.40.00
deleting metadata/md5-cache/sci-mathematics/octave-4.0.2-r1
deleting metadata/md5-cache/sci-mathematics/octave-3.8.2
deleting net-analyzer/monitoring-plugins/monitoring-plugins-2.1.1.ebuild
deleting net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.1.8.2.ebuild
deleting net-mail/postfix-logwatch/postfix-logwatch-1.40.00.ebuild
deleting sci-mathematics/octave/octave-4.0.2-r1.ebuild
deleting sci-mathematics/octave/octave-3.8.2.ebuild
app-admin/aerospike-amc-community/Manifest
          4.21K 100%    4.11MB/s    0:00:00 (xfr#1, to-chk=204261/204630)
app-admin/aerospike-amc-community/aerospike-amc-community-3.6.10.1.ebuild
          1.38K 100%    1.34MB/s    0:00:00 (xfr#2, to-chk=204260/204630)
app-i18n/man-pages-de/ChangeLog
          4.91K 100%   80.53kB/s    0:00:00 (xfr#3, to-chk=191268/204630)
app-i18n/man-pages-de/Manifest
          2.96K 100%   48.48kB/s    0:00:00 (xfr#4, to-chk=191266/204630)
app-i18n/man-pages-de/man-pages-de-1.13.ebuild
          1.26K 100%   20.72kB/s    0:00:00 (xfr#5, to-chk=191265/204630)
app-i18n/man-pages-de/man-pages-de-1.14.ebuild
          1.28K 100%   20.92kB/s    0:00:00 (xfr#6, to-chk=191264/204630)
app-misc/elasticsearch/Manifest
         13.84K 100%  114.39kB/s    0:00:00 (xfr#7, to-chk=189306/204630)
app-misc/elasticsearch/elasticsearch-2.3.5.ebuild
          2.01K 100%   16.63kB/s    0:00:00 (xfr#8, to-chk=189294/204630)
app-misc/elasticsearch/files/elasticsearch.sysctl.d
             24 100%    0.19kB/s    0:00:00 (xfr#9, to-chk=189283/204630)
app-misc/elasticsearch/files/elasticsearch.tmpfiles.d
             67 100%    0.54kB/s    0:00:00 (xfr#10, to-chk=189282/204630)
app-text/XML-Schema-learner/ChangeLog
          2.37K 100%   12.88kB/s    0:00:00 (xfr#11, to-chk=185544/204630)
app-text/XML-Schema-learner/Manifest
          1.84K 100%   10.02kB/s    0:00:00 (xfr#12, to-chk=185542/204630)
dev-db/aerospike-server-community/Manifest
          7.25K 100%   39.17kB/s    0:00:00 (xfr#13, to-chk=180302/204630)
dev-db/aerospike-server-community/aerospike-server-community-3.9.0.3.ebuild
          1.56K 100%    8.40kB/s    0:00:00 (xfr#14, to-chk=180297/204630)
dev-lang/coffee-script/ChangeLog
          2.97K 100%   15.97kB/s    0:00:00 (xfr#15, to-chk=168913/204630)
dev-lang/coffee-script/Manifest
          2.60K 100%   13.89kB/s    0:00:00 (xfr#16, to-chk=168911/204630)
dev-lang/coffee-script/coffee-script-1.10.0-r1.ebuild
          1.10K 100%    5.90kB/s    0:00:00 (xfr#17, to-chk=168910/204630)
dev-python/elasticsearch-curator/Manifest
          4.15K 100%   22.17kB/s    0:00:00 (xfr#18, to-chk=148233/204630)
dev-python/elasticsearch-curator/elasticsearch-curator-4.0.5.ebuild
          2.92K 100%   10.87kB/s    0:00:00 (xfr#19, to-chk=148230/204630)
dev-python/gmpy/Manifest
          4.02K 100%   14.94kB/s    0:00:00 (xfr#20, to-chk=147345/204630)
dev-python/gmpy/gmpy-2.0.8.ebuild
          1.43K 100%    5.29kB/s    0:00:00 (xfr#21, to-chk=147341/204630)
dev-ruby/httpclient/ChangeLog
          5.26K 100%   19.49kB/s    0:00:00 (xfr#22, to-chk=134183/204630)
dev-ruby/httpclient/Manifest
          4.81K 100%   17.75kB/s    0:00:00 (xfr#23, to-chk=134181/204630)
dev-ruby/httpclient/httpclient-2.8.1.ebuild
          1.72K 100%    6.34kB/s    0:00:00 (xfr#24, to-chk=134176/204630)
dev-ruby/multi_json/ChangeLog
          4.59K 100%   16.82kB/s    0:00:00 (xfr#25, to-chk=133625/204630)
dev-ruby/multi_json/Manifest
          4.08K 100%   14.93kB/s    0:00:00 (xfr#26, to-chk=133623/204630)
dev-ruby/multi_json/multi_json-1.11.2.ebuild
          1.88K 100%    6.89kB/s    0:00:00 (xfr#27, to-chk=133621/204630)
dev-ruby/multi_json/multi_json-1.12.1.ebuild
          1.87K 100%    6.81kB/s    0:00:00 (xfr#28, to-chk=133620/204630)
dev-ruby/multi_json/multi_json-1.9.3.ebuild
          1.83K 100%    6.67kB/s    0:00:00 (xfr#29, to-chk=133619/204630)
dev-ruby/rspec-retry/ChangeLog
          1.22K 100%    4.42kB/s    0:00:00 (xfr#30, to-chk=132575/204630)
dev-ruby/rspec-retry/Manifest
          2.21K 100%    8.00kB/s    0:00:00 (xfr#31, to-chk=132574/204630)
dev-ruby/rspec-retry/rspec-retry-0.5.0.ebuild
            664 100%    2.35kB/s    0:00:00 (xfr#32, to-chk=132571/204630)
dev-ruby/syntax/ChangeLog
          5.00K 100%   14.15kB/s    0:00:00 (xfr#33, to-chk=131666/204630)
dev-ruby/syntax/Manifest
          2.94K 100%    8.28kB/s    0:00:00 (xfr#34, to-chk=131664/204630)
dev-ruby/syntax/syntax-1.2.1.ebuild
            911 100%    2.51kB/s    0:00:00 (xfr#35, to-chk=131661/204630)
dev-util/jenkins-bin/ChangeLog
         14.70K 100%   41.29kB/s    0:00:00 (xfr#36, to-chk=127562/204630)
dev-util/jenkins-bin/Manifest
          5.54K 100%   15.52kB/s    0:00:00 (xfr#37, to-chk=127560/204630)
dev-util/jenkins-bin/jenkins-bin-2.11.ebuild
          1.08K 100%    3.04kB/s    0:00:00 (xfr#38, to-chk=127558/204630)
dev-util/jenkins-bin/jenkins-bin-2.12.ebuild
          1.09K 100%    3.04kB/s    0:00:00 (xfr#39, to-chk=127557/204630)
mail-filter/pypolicyd-spf/ChangeLog
          4.85K 100%   13.54kB/s    0:00:00 (xfr#40, to-chk=110511/204630)
mail-filter/pypolicyd-spf/Manifest
          1.84K 100%    5.13kB/s    0:00:00 (xfr#41, to-chk=110509/204630)
media-libs/libsfml/ChangeLog
          4.42K 100%   12.34kB/s    0:00:00 (xfr#42, to-chk=103822/204630)
media-libs/libsfml/Manifest
          2.95K 100%    8.16kB/s    0:00:00 (xfr#43, to-chk=103820/204630)
media-libs/libsfml/libsfml-2.4.0.ebuild
          1.44K 100%    3.99kB/s    0:00:00 (xfr#44, to-chk=103818/204630)
metadata/layout.conf
          1.42K 100%    3.94kB/s    0:00:00 (xfr#45, to-chk=94405/204630)
metadata/timestamp
             29 100%    0.08kB/s    0:00:00 (xfr#46, to-chk=94403/204630)
metadata/timestamp.chk
             32 100%    0.09kB/s    0:00:00 (xfr#47, to-chk=94402/204630)
metadata/timestamp.x
             43 100%    0.12kB/s    0:00:00 (xfr#48, to-chk=94401/204630)
metadata/dtd/timestamp.chk
             32 100%    0.09kB/s    0:00:00 (xfr#49, to-chk=94387/204630)
metadata/glsa/timestamp.chk
             32 100%    0.09kB/s    0:00:00 (xfr#50, to-chk=92148/204630)
metadata/md5-cache/app-admin/aerospike-amc-community-3.6.10.1
            783 100%    2.11kB/s    0:00:00 (xfr#51, to-chk=92083/204630)
metadata/md5-cache/app-i18n/man-pages-de-1.13
            782 100%    2.10kB/s    0:00:00 (xfr#52, to-chk=89242/204630)
metadata/md5-cache/app-i18n/man-pages-de-1.14
            795 100%    2.14kB/s    0:00:00 (xfr#53, to-chk=89241/204630)
metadata/md5-cache/app-misc/elasticsearch-2.3.5
            713 100%    1.92kB/s    0:00:00 (xfr#54, to-chk=88710/204630)
metadata/md5-cache/dev-db/aerospike-server-community-3.9.0.3
            562 100%    1.51kB/s    0:00:00 (xfr#55, to-chk=86705/204630)
metadata/md5-cache/dev-lang/coffee-script-1.10.0-r1
            348 100%    0.94kB/s    0:00:00 (xfr#56, to-chk=84011/204630)
metadata/md5-cache/dev-python/elasticsearch-curator-4.0.5
          5.63K 100%   12.94kB/s    0:00:00 (xfr#57, to-chk=79212/204630)
metadata/md5-cache/dev-python/gmpy-2.0.8
          2.46K 100%    5.63kB/s    0:00:00 (xfr#58, to-chk=78943/204630)
metadata/md5-cache/dev-ruby/httpclient-2.8.1
          3.94K 100%    8.99kB/s    0:00:00 (xfr#59, to-chk=74557/204630)
metadata/md5-cache/dev-ruby/multi_json-1.11.2
          3.63K 100%    8.28kB/s    0:00:00 (xfr#60, to-chk=74402/204630)
metadata/md5-cache/dev-ruby/multi_json-1.12.1
          4.49K 100%   10.26kB/s    0:00:00 (xfr#61, to-chk=74401/204630)
metadata/md5-cache/dev-ruby/multi_json-1.9.3
          2.78K 100%    6.33kB/s    0:00:00 (xfr#62, to-chk=74400/204630)
metadata/md5-cache/dev-ruby/rspec-retry-0.5.0
          3.20K 100%    7.28kB/s    0:00:00 (xfr#63, to-chk=74096/204630)
metadata/md5-cache/dev-ruby/syntax-1.2.1
          2.98K 100%    6.79kB/s    0:00:00 (xfr#64, to-chk=73784/204630)
metadata/md5-cache/dev-util/jenkins-bin-2.11
            611 100%    1.36kB/s    0:00:00 (xfr#65, to-chk=72765/204630)
metadata/md5-cache/dev-util/jenkins-bin-2.12
            613 100%    1.36kB/s    0:00:00 (xfr#66, to-chk=72764/204630)
metadata/md5-cache/media-libs/libsfml-2.4.0
          1.23K 100%    2.80kB/s    0:00:00 (xfr#67, to-chk=68074/204630)
metadata/md5-cache/net-analyzer/nagios-check_mysql_health-2.2.2
            452 100%    1.00kB/s    0:00:00 (xfr#68, to-chk=65834/204630)
metadata/md5-cache/net-analyzer/netperf-2.7.0-r1
            582 100%    1.29kB/s    0:00:00 (xfr#69, to-chk=65780/204630)
metadata/md5-cache/net-im/telegram-desktop-bin-0.10.1
            960 100%    2.13kB/s    0:00:00 (xfr#70, to-chk=65097/204630)
metadata/md5-cache/net-libs/gnutls-3.5.3
          4.69K 100%   10.64kB/s    0:00:00 (xfr#71, to-chk=64907/204630)
metadata/md5-cache/net-libs/nodejs-6.3.1
          2.18K 100%    4.95kB/s    0:00:00 (xfr#72, to-chk=64610/204630)
metadata/md5-cache/net-misc/tor-0.2.9.1_alpha
          1.42K 100%    3.20kB/s    0:00:00 (xfr#73, to-chk=63627/204630)
metadata/md5-cache/sci-mathematics/octave-3.6.4
          2.60K 100%    5.88kB/s    0:00:00 (xfr#74, to-chk=61400/204630)
metadata/md5-cache/sci-mathematics/octave-3.6.4-r1
          2.63K 100%    5.93kB/s    0:00:00 (xfr#75, to-chk=61399/204630)
metadata/md5-cache/sci-mathematics/octave-3.8.2-r1
          3.33K 100%    7.50kB/s    0:00:00 (xfr#76, to-chk=61398/204630)
metadata/md5-cache/sci-mathematics/octave-4.0.0
          3.55K 100%    7.98kB/s    0:00:00 (xfr#77, to-chk=61397/204630)
metadata/md5-cache/sci-mathematics/octave-4.0.0-r1
          3.55K 100%    7.96kB/s    0:00:00 (xfr#78, to-chk=61396/204630)
metadata/md5-cache/sci-mathematics/octave-4.0.1
          3.55K 100%    6.90kB/s    0:00:00 (xfr#79, to-chk=61395/204630)
metadata/md5-cache/sci-mathematics/octave-4.0.1-r1
          3.55K 100%    6.87kB/s    0:00:00 (xfr#80, to-chk=61394/204630)
metadata/md5-cache/sci-mathematics/octave-4.0.2-r2
          3.55K 100%    6.87kB/s    0:00:00 (xfr#81, to-chk=61393/204630)
metadata/md5-cache/sys-apps/diffutils-3.4
            895 100%    1.69kB/s    0:00:00 (xfr#82, to-chk=59491/204630)
metadata/md5-cache/sys-kernel/rt-sources-3.14.65_p68
          1.46K 100%    2.81kB/s    0:00:00 (xfr#83, to-chk=57425/204630)
metadata/md5-cache/sys-kernel/rt-sources-3.14.72_p75
          1.46K 100%    2.81kB/s    0:00:00 (xfr#84, to-chk=57424/204630)
metadata/md5-cache/sys-kernel/rt-sources-3.18.29_p30
          1.46K 100%    2.81kB/s    0:00:00 (xfr#85, to-chk=57423/204630)
metadata/md5-cache/sys-kernel/rt-sources-3.18.36_p37
          1.46K 100%    2.81kB/s    0:00:00 (xfr#86, to-chk=57422/204630)
metadata/md5-cache/sys-kernel/rt-sources-4.1.20_p23
          1.44K 100%    2.79kB/s    0:00:00 (xfr#87, to-chk=57421/204630)
metadata/md5-cache/sys-kernel/rt-sources-4.1.27_p30
          1.44K 100%    2.78kB/s    0:00:00 (xfr#88, to-chk=57420/204630)
metadata/md5-cache/sys-kernel/rt-sources-4.4.12_p19
          1.44K 100%    2.78kB/s    0:00:00 (xfr#89, to-chk=57419/204630)
metadata/md5-cache/sys-kernel/rt-sources-4.4.9_p17
          1.44K 100%    2.77kB/s    0:00:00 (xfr#90, to-chk=57418/204630)
metadata/md5-cache/sys-kernel/rt-sources-4.6.1_p3
          1.44K 100%    2.77kB/s    0:00:00 (xfr#91, to-chk=57417/204630)
metadata/md5-cache/sys-kernel/rt-sources-4.6.2_p5
          1.44K 100%    2.77kB/s    0:00:00 (xfr#92, to-chk=57416/204630)
metadata/md5-cache/sys-process/cronie-1.5.1
          1.05K 100%    2.02kB/s    0:00:00 (xfr#93, to-chk=57017/204630)
metadata/md5-cache/www-servers/nginx-1.11.3
          8.87K 100%   17.03kB/s    0:00:00 (xfr#94, to-chk=55986/204630)
metadata/news/timestamp.chk
             32 100%    0.06kB/s    0:00:00 (xfr#95, to-chk=53938/204630)
metadata/xml-schema/timestamp.chk
             32 100%    0.06kB/s    0:00:00 (xfr#96, to-chk=53682/204630)
net-analyzer/monitoring-plugins/ChangeLog
          4.30K 100%    8.24kB/s    0:00:00 (xfr#97, to-chk=52646/204630)
net-analyzer/monitoring-plugins/Manifest
          1.85K 100%    3.54kB/s    0:00:00 (xfr#98, to-chk=52644/204630)
net-analyzer/nagios-check_mysql_health/ChangeLog
          3.38K 100%    6.48kB/s    0:00:00 (xfr#99, to-chk=52525/204630)
net-analyzer/nagios-check_mysql_health/Manifest
          2.63K 100%    5.03kB/s    0:00:00 (xfr#100, to-chk=52523/204630)
net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2.ebuild
          1.12K 100%    2.14kB/s    0:00:00 (xfr#101, to-chk=52520/204630)
net-analyzer/netperf/ChangeLog
          3.72K 100%    7.10kB/s    0:00:00 (xfr#102, to-chk=52200/204630)
net-analyzer/netperf/Manifest
          5.53K 100%   10.54kB/s    0:00:00 (xfr#103, to-chk=52198/204630)
net-analyzer/netperf/metadata.xml
            775 100%    1.44kB/s    0:00:00 (xfr#104, to-chk=52197/204630)
net-analyzer/netperf/netperf-2.7.0-r1.ebuild
          1.85K 100%    3.29kB/s    0:00:00 (xfr#105, to-chk=52195/204630)
net-analyzer/netperf/files/netperf-2.7.0-init
            440 100%    0.76kB/s    0:00:00 (xfr#106, to-chk=52188/204630)
net-analyzer/netperf/files/netperf-2.7.0-space.patch
            455 100%    0.79kB/s    0:00:00 (xfr#107, to-chk=52187/204630)
net-im/telegram-desktop-bin/ChangeLog
          1.52K 100%    2.71kB/s    0:00:00 (xfr#108, to-chk=48381/204630)
net-im/telegram-desktop-bin/Manifest
          5.24K 100%    8.75kB/s    0:00:00 (xfr#109, to-chk=48380/204630)
net-im/telegram-desktop-bin/telegram-desktop-bin-0.10.1.ebuild
          1.28K 100%    2.14kB/s    0:00:00 (xfr#110, to-chk=48377/204630)
net-libs/gnutls/Manifest
         13.95K 100%   23.22kB/s    0:00:00 (xfr#111, to-chk=47502/204630)
net-libs/gnutls/gnutls-3.5.3.ebuild
          3.77K 100%    6.26kB/s    0:00:00 (xfr#112, to-chk=47493/204630)
net-libs/nodejs/Manifest
         11.48K 100%   19.03kB/s    0:00:00 (xfr#113, to-chk=46341/204630)
net-libs/nodejs/nodejs-6.3.1.ebuild
          5.94K 100%    9.81kB/s    0:00:00 (xfr#114, to-chk=46327/204630)
net-mail/postfix-logwatch/ChangeLog
          2.38K 100%    3.94kB/s    0:00:00 (xfr#115, to-chk=45231/204630)
net-mail/postfix-logwatch/Manifest
          1.84K 100%    3.04kB/s    0:00:00 (xfr#116, to-chk=45229/204630)
net-mail/postfix-logwatch/metadata.xml
            304 100%    0.49kB/s    0:00:00 (xfr#117, to-chk=45228/204630)
net-misc/tor/ChangeLog
          8.25K 100%   13.58kB/s    0:00:00 (xfr#118, to-chk=41339/204630)
net-misc/tor/Manifest
          5.83K 100%    9.12kB/s    0:00:00 (xfr#119, to-chk=41337/204630)
net-misc/tor/tor-0.2.9.1_alpha.ebuild
          2.20K 100%    3.44kB/s    0:00:00 (xfr#120, to-chk=41333/204630)
profiles/use.local.desc
        676.28K 100%  386.67kB/s    0:00:01 (xfr#121, to-chk=37727/204630)
profiles/desc/nginx_modules_http.desc
          6.03K 100%    8.52kB/s    0:00:00 (xfr#122, to-chk=36516/204630)
profiles/desc/nginx_modules_stream.desc
          1.35K 100%    1.91kB/s    0:00:00 (xfr#123, to-chk=36514/204630)
profiles/updates/3Q-2016
            656 100%    0.90kB/s    0:00:00 (xfr#124, to-chk=35204/204630)
sci-mathematics/octave/ChangeLog
          7.25K 100%   10.16kB/s    0:00:00 (xfr#125, to-chk=28099/204630)
sci-mathematics/octave/Manifest
         12.00K 100%   16.69kB/s    0:00:00 (xfr#126, to-chk=28097/204630)
sci-mathematics/octave/octave-3.6.4-r1.ebuild
          3.40K 100%    4.72kB/s    0:00:00 (xfr#127, to-chk=28095/204630)
sci-mathematics/octave/octave-3.6.4.ebuild
          3.33K 100%    4.63kB/s    0:00:00 (xfr#128, to-chk=28094/204630)
sci-mathematics/octave/octave-3.8.2-r1.ebuild
          4.18K 100%    5.69kB/s    0:00:00 (xfr#129, to-chk=28093/204630)
sci-mathematics/octave/octave-4.0.0-r1.ebuild
          4.87K 100%    6.60kB/s    0:00:00 (xfr#130, to-chk=28092/204630)
sci-mathematics/octave/octave-4.0.0.ebuild
          4.55K 100%    6.17kB/s    0:00:00 (xfr#131, to-chk=28091/204630)
sci-mathematics/octave/octave-4.0.1-r1.ebuild
          4.70K 100%    6.23kB/s    0:00:00 (xfr#132, to-chk=28090/204630)
sci-mathematics/octave/octave-4.0.1.ebuild
          4.55K 100%    6.03kB/s    0:00:00 (xfr#133, to-chk=28089/204630)
sci-mathematics/octave/octave-4.0.2-r2.ebuild
          4.70K 100%    6.23kB/s    0:00:00 (xfr#134, to-chk=28088/204630)
sys-apps/diffutils/ChangeLog
          3.45K 100%    4.53kB/s    0:00:00 (xfr#135, to-chk=23588/204630)
sys-apps/diffutils/Manifest
          2.57K 100%    3.38kB/s    0:00:00 (xfr#136, to-chk=23586/204630)
sys-apps/diffutils/diffutils-3.4.ebuild
          1.25K 100%    1.64kB/s    0:00:00 (xfr#137, to-chk=23584/204630)
sys-kernel/rt-sources/ChangeLog
         11.16K 100%   14.57kB/s    0:00:00 (xfr#138, to-chk=15392/204630)
sys-kernel/rt-sources/Manifest
         17.80K 100%   22.64kB/s    0:00:00 (xfr#139, to-chk=15390/204630)
sys-kernel/rt-sources/rt-sources-3.14.65_p68.ebuild
          1.26K 100%    1.60kB/s    0:00:00 (xfr#140, to-chk=15388/204630)
sys-kernel/rt-sources/rt-sources-3.14.72_p75.ebuild
          1.26K 100%    1.58kB/s    0:00:00 (xfr#141, to-chk=15387/204630)
sys-kernel/rt-sources/rt-sources-3.18.29_p30.ebuild
          1.26K 100%    1.58kB/s    0:00:00 (xfr#142, to-chk=15386/204630)
sys-kernel/rt-sources/rt-sources-3.18.36_p37.ebuild
          1.26K 100%    1.58kB/s    0:00:00 (xfr#143, to-chk=15385/204630)
sys-kernel/rt-sources/rt-sources-4.1.20_p23.ebuild
          1.26K 100%    1.58kB/s    0:00:00 (xfr#144, to-chk=15384/204630)
sys-kernel/rt-sources/rt-sources-4.1.27_p30.ebuild
          1.26K 100%    1.58kB/s    0:00:00 (xfr#145, to-chk=15383/204630)
sys-kernel/rt-sources/rt-sources-4.4.12_p19.ebuild
          1.26K 100%    1.58kB/s    0:00:00 (xfr#146, to-chk=15382/204630)
sys-kernel/rt-sources/rt-sources-4.4.9_p17.ebuild
          1.26K 100%    1.57kB/s    0:00:00 (xfr#147, to-chk=15381/204630)
sys-kernel/rt-sources/rt-sources-4.6.1_p3.ebuild
          1.26K 100%    1.57kB/s    0:00:00 (xfr#148, to-chk=15380/204630)
sys-kernel/rt-sources/rt-sources-4.6.2_p5.ebuild
          1.26K 100%    1.57kB/s    0:00:00 (xfr#149, to-chk=15379/204630)
sys-process/cronie/ChangeLog
          4.35K 100%    5.39kB/s    0:00:00 (xfr#150, to-chk=13836/204630)
sys-process/cronie/Manifest
          4.76K 100%    5.90kB/s    0:00:00 (xfr#151, to-chk=13834/204630)
sys-process/cronie/cronie-1.5.1.ebuild
          2.08K 100%    2.57kB/s    0:00:00 (xfr#152, to-chk=13831/204630)
www-servers/nginx/ChangeLog
         14.01K 100%   17.17kB/s    0:00:00 (xfr#153, to-chk=9470/204630)
www-servers/nginx/Manifest
         14.70K 100%   17.60kB/s    0:00:00 (xfr#154, to-chk=9468/204630)
www-servers/nginx/nginx-1.11.3.ebuild
         28.14K 100%   32.64kB/s    0:00:00 (xfr#155, to-chk=9463/204630)
www-servers/nginx/files/nginx-1.11.3-fix-build-without-stream_ssl_module.patch
            873 100%    0.99kB/s    0:00:00 (xfr#156, to-chk=9460/204630)

Number of files: 204,630 (reg: 177,264, dir: 27,366)
Number of created files: 51 (reg: 51)
Number of deleted files: 41 (reg: 39, dir: 2)
Number of regular files transferred: 156
Total file size: 391.96M bytes
Total transferred file size: 1.16M bytes
Literal data: 1.16M bytes
Matched data: 0 bytes
File list size: 4.68M
File list generation time: 5.786 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 3.08K
Total bytes received: 5.84M

sent 3.08K bytes  received 5.84M bytes  520.34K bytes/sec
total size is 391.96M  speedup is 67.07
=== Sync completed for gentoo
q: Updating ebuild cache in /usr/portage ...
q: Finished 38041 entries in 0.101520 seconds
>>> Syncing repository 'mv' into '/usr/portage/local/mv'...
>>> Starting layman sync for mv...
 * Running Git... # ( cd /usr/portage/local/mv  && /usr/bin/git pull )
Already up-to-date.
 *
 * Succeeded:
 * ------
 * Successfully synchronized overlay "mv".
 *
>>> layman sync succeeded: mv
>>> laymansync sez... "Hasta la sync ya, baby!"
=== Sync completed for mv
q: Updating ebuild cache in /usr/portage/local/mv ...
q: Finished 104 entries in 0.001474 seconds

Performing Global Updates
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
  s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
  p='update /etc/portage/package.*'
/usr/portage/profiles/updates/3Q-2016.............


gentoo portage # cd
gentoo ~ # /usr/bin/squashmount -f --lsof=0 --lsof-ro=0 stop -vvv

 * squashmount: reading config file /etc/squashmount.pl
 * [db]:      umounting...
/usr/bin/lsof -- /var/db
/bin/umount -- /var/db
 * [db]:      cleaning workdir...
 * [db]:      cleaning /var/db.mount/workdir
/usr/bin/lsof -- /var/db.mount/readonly
/bin/umount -- /var/db.mount/readonly
 * [db]:      cleaning changes...
 * [db]:      cleaning /var/db.mount/changes
 * [db]:      forgetting settings
 * [portage]: squashing (this may take a while)
/usr/bin/mksquashfs /usr/portage /tmp/EKxy53e79x -noappend -quiet -comp lz4 -Xhc
[===============================================================================================================/] 179526/179526 100%
 * [portage]: umounting...
/usr/bin/lsof -- /usr/portage
/bin/umount -- /usr/portage
 * [portage]: cleaning workdir...
 * [portage]: cleaning /usr/portage.mount/workdir
/usr/bin/lsof -- /usr/portage.mount/readonly
/bin/umount -- /usr/portage.mount/readonly
 * [portage]: tempfile (/tmp/EKxy53e79x) -> /usr/portage.mount/db.sfs
 * [portage]: cleaning changes...
 * [portage]: cleaning /usr/portage.mount/changes
 * [portage]: forgetting settings
 * [portage]: trying to remove directory /run/squashmount
 * [portage]: trying to remove directory /run
 * [portage]: did not remove directory
              Device or resource busy

Step 4:
Systemd service test:
gentoo ~ # ls /usr/portage
gentoo ~ # systemctl start squashmount
gentoo ~ # systemctl status squashmount
● squashmount.service - mount/umount all squashmount configured mount points
   Loaded: loaded (/usr/lib/systemd/system/squashmount.service; disabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/squashmount.service.d
           └─timeout.conf
   Active: active (exited) since Ma 2016-08-09 14:29:21 EEST; 5s ago
  Process: 27655 ExecStart=/usr/bin/squashmount start (code=exited, status=0/SUCCESS)
 Main PID: 27655 (code=exited, status=0/SUCCESS)

aug 09 14:29:21 gentoo systemd[1]: Starting mount/umount all squashmount configured mount points...
aug 09 14:29:21 gentoo squashmount[27655]:  * [db]:      mounting...
aug 09 14:29:21 gentoo squashmount[27655]:  * [portage]: mounting...
aug 09 14:29:21 gentoo systemd[1]: Started mount/umount all squashmount configured mount points.
gentoo ~ # mount
/dev/sda6 on / type ext4 (rw,noatime,nodiratime,discard,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=15925932k,nr_inodes=3981483,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
tmpfs on /var/tmp type tmpfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda2 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-2,shortname=mixed,errors=remount-ro)
/dev/sdb2 on /mnt/date type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb1 on /mnt/linux type ext4 (rw,noatime,nodiratime,data=ordered)
/dev/zram0 on /var/tmp type ext4 (rw,relatime,block_validity,discard,delalloc,barrier,user_xattr,acl)
tmpfs on /run/user/120 type tmpfs (rw,nosuid,nodev,relatime,size=3185456k,mode=700,uid=120,gid=998)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=3185456k,mode=700,uid=1000,gid=1000)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
/var/db.mount/db.sfs on /var/db.mount/readonly type squashfs (ro,noatime)
overlay on /var/db type overlay (rw,noatime,lowerdir=/var/db.mount/readonly,upperdir=/var/db.mount/changes,workdir=/var/db.mount/workdir)
/usr/portage.mount/db.sfs on /usr/portage.mount/readonly type squashfs (ro,noatime)
overlay on /usr/portage type overlay (rw,noatime,lowerdir=/usr/portage.mount/readonly,upperdir=/usr/portage.mount/changes,workdir=/usr/portage.mount/workdir)


I do not understand what the error is: overlay does not like to be bind mounted elsewhere, rbind is required ? I can make future tests, but I need some guidance/directions as my skills in this area are pretty much like try & error only.

Admin edit: Removed large chunks of "=" characters which forced an abnormally wide post layout. --pjp
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Tue Aug 09, 2016 12:45 pm    Post subject: Reply with quote

costel78 wrote:
I do not understand what the error is: overlay does not like to be bind mounted elsewhere, rbind is required

bind and rbind should not make any difference.
But it might very well be that lack of binding possibility is yet another bug in overlay.
In my opinion, aufs is much better than overlay, but unfortunately, only the latter made it into upstream kernel; similar situation as with ZFS and btrfs.
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Wed Aug 10, 2016 10:27 am    Post subject: Reply with quote

I made some test with manual bind mount. It seems that parent directory (/srv/copy) have to be owned by portage, at least. Is possible to add new file, to delete, but there are still problems at rename, but, interesting, not always. At the same time, no problem with aufs (manually patched kernel).

Thank you very much for your support!
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Wed Aug 10, 2016 10:55 am    Post subject: Reply with quote

costel78 wrote:
there are still problems at rename

I rechecked now with kernel-4.6.5, and it seems that the rename problem which I had reported has been solved. I am sure that this was not easy to solve, because the cause was somehow conceptual, and my guess is that to solve it, the code needs a way to "track" renames which apparently did not happen at all, before. There might now still be some cases which are not tracked correctly...
Back to top
View user's profile Send private message
shrike
Apprentice
Apprentice


Joined: 20 Feb 2004
Posts: 187
Location: Closer to home

PostPosted: Thu Apr 05, 2018 10:32 pm    Post subject: Reply with quote

I have been experimenting with squashmount for a few days. Most recently I used a snippet from the squashmount man page but there is a parsing error:

Code:
# squashmount list
 * squashmount: fatal: failed to parse /etc/squashmount.pl:
                       Bad name after sfs' at /etc/squashmount.pl line 31.


Code:
 $ cat /etc/squashmount.pl
$lazy = $lsof = $lsof_ro = $squashfuse_ll = 1; # default
    $killpower = '/etc/killpower'; # ignore /etc/nosquash /etc/nut/killpower
    $locking = 1; # lock always, even for status and print-* commands
    $modprobe_loop = 1; # Keep default: modprobe loop
    $mksquash_verbose = 'qn-'; # quicker if we know mksquash -quiet works
    $processors = ''; # unnecessary; this is the default
    $mem = ''; # unnecessary; this is the default
    $resquash_on_start = ''; # unnecessary; this is the default
    $rm_rundir = 0; # keep /run/squashmount
    $rm_dir = $rm_workdir = $rm_changes = $rm_readonly = 0; # keep dirs
    @umount = ('-i'); # default to UMOUNT => [ '-i' ], ignoring --umount
    @umount_ro = (); # ignore option --umount-ro
    $obsolete_overlayfs = undef; # no fallback: require >=kernel-3.15
    @order = qw(overlay? overlayfs?);
    # The main task is to set @mounts. Use one of
    # @mounts = ( { ... }, { ...} );
    # push(@mounts, { ... }, { ... });
    # (The latter can be used successively to append mount-points...)
    @mounts = ( {


            # squashmount plays nicely with the portage's
            # sync-type = squashdelta
            # However, this requires another setup - see example
            configuration.
            # The following example is only useful for a "traditional"
            # sync-type (like rsync, webrsync or also git).
            TAG => 'portage', # TAG => 'gentoo' should be reserved for
            # /etc/portage/repo.postsync.d/10-squashmount-gentoo
            DIR => '/usr/portage,
            FILE => '/usr/portage.mount/portage.sfs',                          (Line 31)
            CHANGES => '/usr/portage.mount/changes',
            WORKDIR => '/usr/portage.mount/workdir',
            READONLY => '/usr/portage.mount/readonly',
            MKSQUASHFS => [ # Do not recompress git-compressed data
            # See https://github.com/plougher/squashfs-tools/issues/24
            '-action', 'uncompressed@subpathname(*/.git/objects/pack)' ],
            THRESHOLD => '40m', # resquash on umount if 40 MB changed, or
            # if local/* (with * not .git, profiles, metadata) changed:
            FILL => qr{^local/(?!(\.git|profiles|metadata)(/|$))}n,
            # The |profiles|metadata might be too much. Instead, you can be
            # be more explicit about the changes you do not care about, e.g.:
            # DIFF => qr{^local(/profiles(/use\.local\.desc)?)?$}n,

    });


Comparing this 'portage' mount with others from the man page example I see punctuation differences for TAG, DIR, and FILE. Bit rot?? Snippet incomplete?

Where am I going wrong?

Thanks,

Shrike
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 9 of 10

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum