Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 49 lines (40 sloc) 2.449 kb
UPGRADING
Generic Upgrade Instructions
----------------------------
Do the following when upgrading to any version, then look below for instructions to upgrade past specific versions.
- Update the Greyhole binary: /usr/bin/greyhole
- Execute any specific instructions from the next sections.
- Restart the Greyhole service
Note: If you use SVN code instead of packaged versions, you'll want to update includes/common.php and includes/sql.php too.
Upgrade to 0.9.0
----------------
- Update the Samba VFS module
# For Samba 3.4: #
if [ -x /usr/lib64/samba/vfs/ ]; then cp samba-module/bin/greyhole-x86_64.so /usr/lib64/samba/vfs/greyhole.so; else cp samba-module/bin/greyhole-i386.so /usr/lib/samba/vfs/greyhole.so; fi
# For Samba 3.5: #
if [ -x /usr/lib64/samba/vfs/ ]; then cp samba-module/bin/3.5/greyhole-x86_64.so /usr/lib64/samba/vfs/greyhole.so; else cp samba-module/bin/3.5/greyhole-i386.so /usr/lib/samba/vfs/greyhole.so; fi
Upgrade to 0.8.4
----------------
- Wait for Greyhole to be idle (Sleeping... in /var/log/greyhole.log)
- Remove samba_log_file from /etc/greyhole.conf; this option is not used
anymore. Keeping it there will force the Greyhole daemon to run in
compatibility mode, which will slow it down.
Upgrade to 0.8.3
----------------
- If you use the init.d script:
install -m 0755 -D -p initd_script.sh /etc/init.d/greyhole
Upgrade to 0.8.0
----------------
- Remove the Greyhole-related post and pre-rotate scripts from /etc/logrotate.d/syslog.
- Edit /etc/greyhole.conf: remove the section about 'samba_log_file'; this is now deprecated.
- mkdir -p /var/spool/greyhole
- chmod 777 /var/spool/greyhole
- Update the Samba VFS module
# For Samba 3.4: #
if [ -x /usr/lib64/samba/vfs/ ]; then cp samba-module/bin/greyhole-x86_64.so /usr/lib64/samba/vfs/greyhole.so; else cp samba-module/bin/greyhole-i386.so /usr/lib/samba/vfs/greyhole.so; fi
# For Samba 3.5: #
if [ -x /usr/lib64/samba/vfs/ ]; then cp samba-module/bin/3.5/greyhole-x86_64.so /usr/lib64/samba/vfs/greyhole.so; else cp samba-module/bin/3.5/greyhole-i386.so /usr/lib/samba/vfs/greyhole.so; fi
- Recommended cron entries have changed; they are now split in cron.daily, cron.weekly and cron.d
install -m 0644 -D -p greyhole.cron.d /etc/cron.d/greyhole
install -m 0755 -D -p greyhole.cron.weekly /etc/cron.weekly/greyhole
install -m 0755 -D -p greyhole.cron.daily /etc/cron.daily/greyhole
Jump to Line
Something went wrong with that request. Please try again.