This repository has been archived by the owner on Mar 22, 2021. It is now read-only.
forked from gboudreau/Greyhole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUPGRADING
executable file
·48 lines (40 loc) · 2.39 KB
/
UPGRADING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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