New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on dropbox-lnx.x86_64-62.3.93 #4

Closed
lachesis opened this Issue Nov 7, 2018 · 8 comments

Comments

3 participants
@lachesis
Copy link

lachesis commented Nov 7, 2018

Just as I say, this version of Dropbox seems to see through the smoke-screen of latest master.

"So your file continue to sync, sign in to your Dropbox account and move Dropbox to a supported file system."

$ LD_PRELOAD=/usr/local/lib/libdropbox_fs_fix.so ./detect-ext4.o
success: It appears like we're on ext4.
$ ./detect-ext4.o
failure: Different filesystem type dete
![2018-11-07-104738_530x97_scrot](https://user-images.githubusercontent.com/347481/48153297-bc6dcc80-e27a-11e8-9a08-2ebcc0f49640.png)
cted.
$ LD_PRELOAD=/usr/local/lib/libdropbox_fs_fix.so $HOME/.dropbox-dist/dropboxd
<dropbox early boot logging spew, nothing useful or different from normal run>
@lachesis

This comment has been minimized.

Copy link

lachesis commented Nov 7, 2018

2018-11-07-104738_530x97_scrot

@sanmai

This comment has been minimized.

Copy link
Contributor

sanmai commented Nov 7, 2018

I can confirm this issue.

@dark

This comment has been minimized.

Copy link
Owner

dark commented Nov 8, 2018

Dropbox did not update to that version for me yet - I am still at dropbox-lnx.x86_64-61.4.95. I suppose the rollout is gradual.

@lachesis

This comment has been minimized.

Copy link

lachesis commented Nov 8, 2018

You can grab any version of dropbox by URL hacking the download links. My version can be fetched at:
https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-62.3.93.tar.gz

@lachesis

This comment has been minimized.

Copy link

lachesis commented Nov 8, 2018

I am not sure if this is the problem, but it looks like this version of Dropbox reads from /etc/mtab:

openat(AT_FDCWD, "/etc/mtab", O_RDONLY|O_CLOEXEC) = 89
fstat(89, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(89, "proc /proc proc rw,nosuid,nodev,"..., 1024) = 1024
read(89, "noexec,relatime,perf_event 0 0\nc"..., 1024) = 1024
read(89, "ze=2M 0 0\ndebugfs /sys/kernel/de"..., 1024) = 701
read(89, "", 1024)                      = 0
close(89)                               = 0
@dark

This comment has been minimized.

Copy link
Owner

dark commented Nov 9, 2018

Sorta. It looks like the FS listing is derived from /proc/filesystems instead.
Pushing a fix now.

For the record, it looks like chmod -R a-w "${HOME}/.dropbox-dist/" was enough to prevent the client from updating to the newest version.

@dark dark closed this in 462171e Nov 9, 2018

@lachesis

This comment has been minimized.

Copy link

lachesis commented Nov 9, 2018

Blocking auto-update will work for a while, but Dropbox now does forced rolling deprecation, so eventually your version of the client will be blocked and your sync will break. If you run headless and don't watch for this, you may not notice and might lose files you think are synced. Not that I have any experience with that or anything... :)

@lachesis

This comment has been minimized.

Copy link

lachesis commented Nov 9, 2018

Can confirm that the new patch seems to work for me, at least for now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment