[GH-ISSUE #2348] Dolphin SMB integration does not function if "protocol" filter is enabled #1567

Closed
opened 2026-05-05 08:13:41 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @Ryujinra on GitHub (Jan 19, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2348

Recently, (I do not know precisely which commit), dolphin SMB integration has stopped working.

The error in dolphin is "the protocol has died unexpectedly". This is a symptom of the error in kio or samba which is "Could not determine network interfaces, you must use a interfaces config line". Adding an explicit interface in samba.conf does not fix the issue.

I've traced it back to the "protocol = unix" line in the dolphin profile. "protocol = unix,netlink" gives a different error about being unable to identify the workgroup.

"ignore protocol" fixes the issue.

Thanks.

Originally created by @Ryujinra on GitHub (Jan 19, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2348 Recently, (I do not know precisely which commit), dolphin SMB integration has stopped working. The error in dolphin is "the protocol has died unexpectedly". This is a symptom of the error in kio or samba which is "Could not determine network interfaces, you must use a interfaces config line". Adding an explicit interface in samba.conf does not fix the issue. I've traced it back to the "protocol = unix" line in the dolphin profile. "protocol = unix,netlink" gives a different error about being unable to identify the workgroup. "ignore protocol" fixes the issue. Thanks.
gitea-mirror 2026-05-05 08:13:41 -06:00
Author
Owner

@smitsohu commented on GitHub (Jan 19, 2019):

Thanks for reporting the issue.

Can you try protocol unix,inet,inet6,netlink? If this works, could you please confirm that all of them are required?

<!-- gh-comment-id:455796841 --> @smitsohu commented on GitHub (Jan 19, 2019): Thanks for reporting the issue. Can you try `protocol unix,inet,inet6,netlink`? If this works, could you please confirm that all of them are required?
Author
Owner

@Ryujinra commented on GitHub (Jan 20, 2019):

Needs at least "protocol unix,inet,netlink" to work.

Interestingly, I get the "protocol died unexpectedly" error if I try to open certain files through dolphin with, for example, GwenView. Commenting out "protocol = unix" in gwenview.profile fixes it. I expect that any program with a restrictive protocol filter will have similar problems over SMB, so this might not be a dolphin-exclusive issue.

<!-- gh-comment-id:455826386 --> @Ryujinra commented on GitHub (Jan 20, 2019): Needs at least "protocol unix,inet,netlink" to work. Interestingly, I get the "protocol died unexpectedly" error if I try to open certain files through dolphin with, for example, GwenView. Commenting out "protocol = unix" in gwenview.profile fixes it. I expect that any program with a restrictive protocol filter will have similar problems over SMB, so this might not be a dolphin-exclusive issue.
Author
Owner

@smitsohu commented on GitHub (Jan 20, 2019):

You are right, all kio dependent apps are affected.

If you add rmenv KDE_FORK_SLAVES to /etc/firejail/globals.local, it should bring back the old behaviour. But I think the recommended way is rather to adjust the protocol lines to your needs.

Maybe we can relax the default Dolphin profile in this regard.

<!-- gh-comment-id:455876405 --> @smitsohu commented on GitHub (Jan 20, 2019): You are right, all kio dependent apps are affected. If you add `rmenv KDE_FORK_SLAVES` to /etc/firejail/globals.local, it should bring back the old behaviour. But I think the recommended way is rather to adjust the protocol lines to your needs. Maybe we can relax the default Dolphin profile in this regard.
Author
Owner

@rusty-snake commented on GitHub (Sep 10, 2019):

I'm closing here due to inactivity, please fell free to reopen if you have more questions.

<!-- gh-comment-id:529930371 --> @rusty-snake commented on GitHub (Sep 10, 2019): I'm closing here due to inactivity, please fell free to reopen if you have more questions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1567
No description provided.