'Martin L.' ma.l@gmx.org [unison-users]
2017-02-02 16:20:30 UTC
Dear Unison community,
when I put an inline-comment in a line, defining a "path" to
synchronise in a unison profile as follows:
path = uni # foobar
this path gets totally ignored without any sign or warnings. As I didn't
fine anything about prohibited inline commenting, so I report it here.
The profile looks as follows:
root = /home/ml/
root = ssh://***@HOST:PORT//users/XXXXXX/unixhome/
path = uni # foobar
path = .plan
times = true
group = false
owner = false
prefer = newer
log = true
sortnewfirst = false
addversionno = true
Unison gets called to synchronise two hosts, which are the following
ones. Please find below the output of unison-gtk -debug all (with
blackened vulnerable data)
--- Host 1 ---
$ unison-gtk -version
unison version 2.40.102
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.7 (jessie)
Release: 8.7
Codename: jessie
$ uname -a
Linux XXX 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64
GNU/Linux
--- Host 2 ---
$ unison-gtk -version
unison version 2.40.102
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.6 (jessie)
Release: 8.6
Codename: jessie
$ uname -a
Linux YYY 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19)
x86_64 GNU/Linux
$ unison-gtk -debug all
(process:17288): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
[startup] Preferences:
ui = graphic
host =
server = false
prefsdocs = false
doc =
version = false
silent = false
dumbtty = false
testserver = false
rest = data_unixhome
showprev = false
selftest = false
confirmmerge = false
retry = 0
repeat =
contactquietly = false
key =
label =
expert = false
height = 15
auto = false
maxthreads = 0
prefer = newer
force =
sortnewfirst = false
sortbysize = false
keeptempfilesaftermerge = false
diff = diff -u CURRENT2 CURRENT1
backupdir =
maxbackups = 2
backups = false
backupsuffix =
backupprefix = .bak.$VERSION.
backuploc = central
copymax = 1
copyquoterem = default
copythreshold = -1
copyprogrest = rsync --partial --append-verify --compress
copyprog = rsync --partial --inplace --compress
rsync = true
fastcheck = default
ignorelocks = false
dumparchives = false
ignorearchives = false
showarchive = false
rootsName =
fat = false
allHostsAreRunningWindows = false
someHostIsRunningWindows = false
ignore = Path {XXXXXXXXXX}
ignore = Path {.screenrc}
ignore = Path {.bash_aliases}
ignore = Regex .*~$
ignore = Regex .*\.swp$
confirmbigdel = true
batch = false
path = uni # foobar
path = .plan
root = ssh://***@HOST:PORT/DIR2/
root = /home/ml/
killserver = false
halfduplex = false
stream = true
addversionno = true
servercmd =
sshargs =
rshargs =
rshcmd = rsh
sshcmd = ssh
xferbycopying = true
sshversion =
ignoreinodenumbers = false
links-aux = true
links = default
times = true
group = false
owner = false
numericids = false
dontchmod = false
perms = 1023
rsrc-aux = false
rsrc = default
maxerrors = 1
unicodeCS = false
unicodeEnc = false
unicode = default
someHostIsInsensitive = false
ignorecase = default
timers = false
terse = false
logfile = /home/ml/unison.log
log = true
debugtimes = false
debug = all
addprefsto =
[remote] Shell connection: ssh (ssh, -l, USER, -p, PORT, HOST,
-e, none, unison-2.40, -server) [globals] Checking path 'uni #
foobar' for expansions
[globals] Checking path '.plan' for expansions Connected
[//USER/DIR2 -> //HOST//home/ml]
[startup] Roots:
/home/ml
ssh://***@HOST:PORT/DIR
i.e.
/home/ml
ssh://***@HOST:PORT/DIR
i.e. (in canonical order)
/home/ml
//USER/DIR
[props] Setting permission mask to 1777 (1777 and 7777)
[stasher] initBackupsLocal
[stasher] d = /
[stasher] Prefix and suffix regexps for backup filenames have been updated
[server: stasher] initBackupsLocal
[server: stasher] d = /
[server: stasher] Prefix and suffix regexps for backup filenames have been updated
<>Starting new major GC cycle
!<>$[update] Loading archive from /home/ml/.unison/ar4fd7aa8e0e2f14c640da4f0e231c044b
Growing heap to 30504k bytes
Growing page table to 4096 entries
Growing page table to 8192 entries
Growing page table to 16384 entries
[server: update] Loading archive from /users/XXXXXXX/.unison/ar5e5ce79b3e5d9a0587bacb04f9144692
<>$Starting new major GC cycle
[server: update] Setting archive for //XXXXXXX//users/XXXXXXX/unixhome
Compacting heap...
done.
[update] Setting archive for //solaris//home/ml
[update] findOnRoot //XXXXXXX//users/XXXXXXX/unixhome
[update] findOnRoot /home/ml
[update] findLocal /home/ml
[fpcache] opening cache file /home/ml/.unison/fp4fd7aa8e0e2f14c640da4f0e231c044b for input
[fpcache] opening cache file /home/ml/.unison/fp4fd7aa8e0e2f14c640da4f0e231c044b for output
[pred] ignore '.plan' = false
[update] buildUpdate: /home/ml/.plan
[update] checkContentsChange: archStamp is inode (3146463) / info.inode (3146463) / times: 1486048168.000000 = 1486048168.000000... true / lengths: 47 - 47
[xferhint] insertEntry: fspath=/home/ml, path=.plan, fp=(a357571af8b1b06f7268b31de9cf939e,)
[pred] ignore 'uni # foobar' = false
[update] buildUpdate: /home/ml/uni\t\t# foobar
[update] buildUpdate -> Absent and no archive
[server: update] findLocal /users/XXXXXXX/unixhome
[server: fpcache] opening cache file /users/XXXXXXX/.unison/fp5e5ce79b3e5d9a0587bacb04f9144692 for input
[server: fpcache] opening cache file /users/XXXXXXX/.unison/fp5e5ce79b3e5d9a0587bacb04f9144692 for output
[server: pred] ignore '.plan' = false
[server: update] buildUpdate: /users/XXXXXXX/unixhome/.plan
[server: update] checkContentsChange: archStamp is inode (49704) / info.inode (49704) / times: 1486048168.000000 = 1486048168.000000... true / lengths: 47 - 47
[server: xferhint] insertEntry: fspath=/users/XXXXXXX/unixhome, path=.plan, fp=(a357571af8b1b06f7268b31de9cf939e,)
[server: pred] ignore 'uni # foobar' = false
[server: update] buildUpdate: /users/XXXXXXX/unixhome/uni\t\t# foobar
[server: update] buildUpdate -> Absent and no archive
[update] Setting archive for //solaris//home/ml
[server: update] Setting archive for //XXXXXXX//users/XXXXXXX/unixhome
[recon] reconcileAll
[recon] reconcile: 0 results
[update] Marking 0 paths equal
[ui] reset current to None
<>Starting new major GC cycle
!
when I put an inline-comment in a line, defining a "path" to
synchronise in a unison profile as follows:
path = uni # foobar
this path gets totally ignored without any sign or warnings. As I didn't
fine anything about prohibited inline commenting, so I report it here.
The profile looks as follows:
root = /home/ml/
root = ssh://***@HOST:PORT//users/XXXXXX/unixhome/
path = uni # foobar
path = .plan
times = true
group = false
owner = false
prefer = newer
log = true
sortnewfirst = false
addversionno = true
Unison gets called to synchronise two hosts, which are the following
ones. Please find below the output of unison-gtk -debug all (with
blackened vulnerable data)
--- Host 1 ---
$ unison-gtk -version
unison version 2.40.102
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.7 (jessie)
Release: 8.7
Codename: jessie
$ uname -a
Linux XXX 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64
GNU/Linux
--- Host 2 ---
$ unison-gtk -version
unison version 2.40.102
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.6 (jessie)
Release: 8.6
Codename: jessie
$ uname -a
Linux YYY 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19)
x86_64 GNU/Linux
$ unison-gtk -debug all
(process:17288): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
[startup] Preferences:
ui = graphic
host =
server = false
prefsdocs = false
doc =
version = false
silent = false
dumbtty = false
testserver = false
rest = data_unixhome
showprev = false
selftest = false
confirmmerge = false
retry = 0
repeat =
contactquietly = false
key =
label =
expert = false
height = 15
auto = false
maxthreads = 0
prefer = newer
force =
sortnewfirst = false
sortbysize = false
keeptempfilesaftermerge = false
diff = diff -u CURRENT2 CURRENT1
backupdir =
maxbackups = 2
backups = false
backupsuffix =
backupprefix = .bak.$VERSION.
backuploc = central
copymax = 1
copyquoterem = default
copythreshold = -1
copyprogrest = rsync --partial --append-verify --compress
copyprog = rsync --partial --inplace --compress
rsync = true
fastcheck = default
ignorelocks = false
dumparchives = false
ignorearchives = false
showarchive = false
rootsName =
fat = false
allHostsAreRunningWindows = false
someHostIsRunningWindows = false
ignore = Path {XXXXXXXXXX}
ignore = Path {.screenrc}
ignore = Path {.bash_aliases}
ignore = Regex .*~$
ignore = Regex .*\.swp$
confirmbigdel = true
batch = false
path = uni # foobar
path = .plan
root = ssh://***@HOST:PORT/DIR2/
root = /home/ml/
killserver = false
halfduplex = false
stream = true
addversionno = true
servercmd =
sshargs =
rshargs =
rshcmd = rsh
sshcmd = ssh
xferbycopying = true
sshversion =
ignoreinodenumbers = false
links-aux = true
links = default
times = true
group = false
owner = false
numericids = false
dontchmod = false
perms = 1023
rsrc-aux = false
rsrc = default
maxerrors = 1
unicodeCS = false
unicodeEnc = false
unicode = default
someHostIsInsensitive = false
ignorecase = default
timers = false
terse = false
logfile = /home/ml/unison.log
log = true
debugtimes = false
debug = all
addprefsto =
[remote] Shell connection: ssh (ssh, -l, USER, -p, PORT, HOST,
-e, none, unison-2.40, -server) [globals] Checking path 'uni #
foobar' for expansions
[globals] Checking path '.plan' for expansions Connected
[//USER/DIR2 -> //HOST//home/ml]
[startup] Roots:
/home/ml
ssh://***@HOST:PORT/DIR
i.e.
/home/ml
ssh://***@HOST:PORT/DIR
i.e. (in canonical order)
/home/ml
//USER/DIR
[props] Setting permission mask to 1777 (1777 and 7777)
[stasher] initBackupsLocal
[stasher] d = /
[stasher] Prefix and suffix regexps for backup filenames have been updated
[server: stasher] initBackupsLocal
[server: stasher] d = /
[server: stasher] Prefix and suffix regexps for backup filenames have been updated
<>Starting new major GC cycle
!<>$[update] Loading archive from /home/ml/.unison/ar4fd7aa8e0e2f14c640da4f0e231c044b
Growing heap to 30504k bytes
Growing page table to 4096 entries
Growing page table to 8192 entries
Growing page table to 16384 entries
[server: update] Loading archive from /users/XXXXXXX/.unison/ar5e5ce79b3e5d9a0587bacb04f9144692
<>$Starting new major GC cycle
[server: update] Setting archive for //XXXXXXX//users/XXXXXXX/unixhome
Compacting heap...
done.
[update] Setting archive for //solaris//home/ml
[update] findOnRoot //XXXXXXX//users/XXXXXXX/unixhome
[update] findOnRoot /home/ml
[update] findLocal /home/ml
[fpcache] opening cache file /home/ml/.unison/fp4fd7aa8e0e2f14c640da4f0e231c044b for input
[fpcache] opening cache file /home/ml/.unison/fp4fd7aa8e0e2f14c640da4f0e231c044b for output
[pred] ignore '.plan' = false
[update] buildUpdate: /home/ml/.plan
[update] checkContentsChange: archStamp is inode (3146463) / info.inode (3146463) / times: 1486048168.000000 = 1486048168.000000... true / lengths: 47 - 47
[xferhint] insertEntry: fspath=/home/ml, path=.plan, fp=(a357571af8b1b06f7268b31de9cf939e,)
[pred] ignore 'uni # foobar' = false
[update] buildUpdate: /home/ml/uni\t\t# foobar
[update] buildUpdate -> Absent and no archive
[server: update] findLocal /users/XXXXXXX/unixhome
[server: fpcache] opening cache file /users/XXXXXXX/.unison/fp5e5ce79b3e5d9a0587bacb04f9144692 for input
[server: fpcache] opening cache file /users/XXXXXXX/.unison/fp5e5ce79b3e5d9a0587bacb04f9144692 for output
[server: pred] ignore '.plan' = false
[server: update] buildUpdate: /users/XXXXXXX/unixhome/.plan
[server: update] checkContentsChange: archStamp is inode (49704) / info.inode (49704) / times: 1486048168.000000 = 1486048168.000000... true / lengths: 47 - 47
[server: xferhint] insertEntry: fspath=/users/XXXXXXX/unixhome, path=.plan, fp=(a357571af8b1b06f7268b31de9cf939e,)
[server: pred] ignore 'uni # foobar' = false
[server: update] buildUpdate: /users/XXXXXXX/unixhome/uni\t\t# foobar
[server: update] buildUpdate -> Absent and no archive
[update] Setting archive for //solaris//home/ml
[server: update] Setting archive for //XXXXXXX//users/XXXXXXX/unixhome
[recon] reconcileAll
[recon] reconcile: 0 results
[update] Marking 0 paths equal
[ui] reset current to None
<>Starting new major GC cycle
!
--
() ascii ribbon campaign - against html e-mail
/\ - against proprietary attachments
() ascii ribbon campaign - against html e-mail
/\ - against proprietary attachments