-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Backup issue with Python package (is this spksrc related?) #14
Comments
It seem Network Backup is trying to backup SPKs. Is this a new behaviour with 1944? |
It seems they added it in 1944. I used to have the Python and SabNZBd On Mon, Nov 7, 2011 at 9:53 AM, Antoine Bertin <
|
Weird. The package is correctly installed so the bug comes with DSM 1944 IMO. Did you send a support request to Synology? Maybe they can give us some extra piece of information about that. |
It fails on the first package and does not continue any further, not even On Mon, Nov 7, 2011 at 10:43 AM, Antoine Bertin <
|
Well, 3rd party apps are supported in DSM through the use of SPKs. If a normal/conform SPK makes Synology features fail, it's also Synology's problem. Here you can fill a support form: http://www.synology.com/support/support_form.php?lang=enu |
OK, I will fill in support form and let you know. I thought it might be
On Mon, Nov 7, 2011 at 11:19 AM, Antoine Bertin <
|
I try to reproduce this issue on my side, and here are my findings:
So I think it is related to the way the users are created. These users are created using the adduser command (from busybox), but in the user range, not the system range (uid > 1000). This seems to trouble the DSM software: on the next reboot, these users are create in the DSM layer (they appear in the DSM interface, but they shouldn't as they are service users). I'll try to investigate more on this and keep you posted. |
The best would be to create system users as it is done on standard Linux OS. From man adduser:
Maybe that could be useful Edit: Except I don't know if that feature is available with busybox' version of adduser... |
busybox's adduser have a -S switch which does pretty the same. The issue here is for existing installations, were the user id will change, and this might lead to permissions issues, and a whole bunch of questions like were is the XXX user gone, I don't see it in the DSM interface any more, how can I be sure it doesn't create a security hole in my system as I can't see it, and so on. For me, these are the main issues in changing the way these system users: migration of current installation and communication with users. |
So the question is, what to do at uninstallation time to clean up files created by the user we're about to delete. Maybe a piece of answer in man userdel
Delete related files. That seem the best way to do it. Another solution might be to create a "clean up" SPK that will scan the system for orphelon files (in data partition only, ie |
Are we sure the problem is the way users are created? The backup was On Mon, Nov 7, 2011 at 3:40 PM, Antoine Bertin <
|
IMO we share responsibilities with Synology:
|
I have submitted issue to Synology, in case more info is needed. |
Response from Synology: Dear Matej, Thank you for your message. We do not support the problem that caused by third party package. As you've mentioned that the backup works when you uninstall the package. We do not responsible for any third party package. If you have further questions or suggestions, please feel free to contact us again. Best regards, |
When it's time to help community, Synology is often missing, I asked for up-to-date documentation of their guide when they released 3.2, two months ago. Still nothing done. |
Guys, any news on this issue? Or workaround? Like manually creating users or so... |
Seems uninstalling all packages and reinstalling everithing is a workaround |
Hm I can try it. What happens with the databases and settings? Also, should
|
All gone. Plus it may not be recommended because there is no user clean-up package yet so you'll still have some files that belongs to a user that no longer exists. The best is to wait for now I think. |
No risk of leftover files. |
And what about downloaded files with SABnzbd? |
So, I've uninstalled all packages and network backup was working. I manually deleted users (sickbeard etc). After installing Python package, the backup stopped working again. |
Check in |
Is this happening only with python SPK ? |
i checked passwd for extra users, none present. On Sat, Nov 26, 2011 at 6:29 PM, Antoine Bertin <
|
Try http://syno.diaoul.fr/SPKs/umurmur/ |
I've tried your package, it is working. Also, when I removed all packages,
|
Just a quick one - the issue is still present in 3.2-1955 releaesed on 30-nov. |
Reply from Synology (after investigation remotely on my system):
So nothing solved :( |
If we cannot create system users this is gonna be a real problem for us. Wait and see... |
Might be solved using I do that in nasforum branch, needs testing but I think this is the most we can do here. |
Can someone verify if this is the fix? Or is this fixed in DSM 4.0? |
I will check on my branch but I don't know for superzebulon's. My uids are in the system range now, I think this might solve the issue. |
…update-fdk-aac Edit patch for fdk-aac: Invert inline and void for compatibility with gcc 3.3.4
Hi
since the update to DSM 3.2-1944, I am not able to perform network backup to rsync server. It fails when backing up apps:
Nov 4 21:25:43 PkgMan.cgi: pkgtool.cpp:2198 No script for Python26
Nov 4 21:25:50 synonetbkp: sysbkp_user_export.c:94 fail to write user data
Nov 4 21:25:50 synonetbkp: SYNOSysbkpExport:Fail to export user_desc
Nov 4 21:25:50 synonetbkp: backup_app_apply.c:87 Failed to export application [1], bkptype=[0], szAppPath=[/volume1/@tmp/@app],
synoerr=[0x5500]
Nov 4 21:25:50 synonetbkp: synonetbkp.c:1991 SYNOBackupAppApply() failed!! ulExtension=[1], mode=[MODE_BACKUP], bkptype=
[BACKUP_TYPE_NETBKP], synoerr=[0x5500]
I am not sure whether this is Python package problem (from http://synopkg.superzebulon.org/spkrepo/packages) or something else... More users report this problem, see http://synoblog.superzebulon.org/2011/10/some-news/#comment-8874)
Cheers!
The text was updated successfully, but these errors were encountered: