missing piece in man rsync_selinux if your rsync path is hosted with nfs or autofs

man rsync_selinux mention that

chcon -t public_content_t /var/rsync

but this is not enough if you rsync module is hosted with autofs, you also have to

setsebool -P rsync_export_all_ro=1

otherwise you will get the error

rsync -avn ip::module

@ERROR: chroot failed
rsync error: error starting client-server protocol (code 5) at main.c(1296) [receiver=2.6.8]

cat /var/log/rsync.log

2009/01/11 16:21:24 [25856] rsync: chroot /path failed: Permission denied (13)

Install gentoo stage3 to SL3620-2S-LB2

My stardom SL3620-2S-LB2 now have gentoo-2008.0 stage3 chrooting.


emerge –sync

it suggests

emerge portage

then it shows below. Will come back later to check what it means

* Messages for package sys-apps/portage-

* In portage-2.1.6, the default behavior has changed for `emerge world`
* and `emerge system` commands. These commands will reinstall all
* packages from the given set unless an option such as –noreplace,
* –update, or –newuse is specified.
* For help with using portage please consult the Gentoo Handbook
* at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3
* GNU info directory index is up-to-date.
* IMPORTANT: 1 config files in ‘/etc’ need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.

upgrade Synology 101g+ with 106e firmware

Follow this link

It works.

DiskStation> cat /var/synoupdate.log
2009/01/04 18:03:00 Start of the update…
2009/01/04 18:03:00 Upgrade from version to version
2009/01/04 18:03:57 Congratulation!! The update has been completed!!

DiskStation> cat /proc/version
Linux version 2.4.22-uc0 (root@image) (gcc version 3.3.4) #728 Mon Nov 10 18:15:32 CST 2008

DiskStation> cat /var/run/dmesg.boot
Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
Linux version 2.4.22-uc0 (root@image) (gcc version 3.3.4) #728 Mon Nov 10 18:15:32 CST 2008
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,115200 root=/dev/hda1 rw ip=off initrd=0x00800000,4M hda=bswap
ide_setup: hda=bswap
OpenPIC Version 1.2 (1 CPUs and 138 IRQ sources) at fc040000
Decrementer frequency = 132.658098 MHz

use cksum -o3 VERSION to generate and modify the checksum inside to get the firmware accepted.