Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616466 - net-misc/dropbox - Main process exited, code=exited, status=217/USER
Summary: net-misc/dropbox - Main process exited, code=exited, status=217/USER
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-24 11:37 UTC by christjan
Modified: 2017-05-09 07:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description christjan 2017-04-24 11:37:43 UTC
systemd service file uses %I instead of %i.
So unit file fails to start with users with dashes in its name.

https://bugs.freedesktop.org/show_bug.cgi?id=71578
Comment 1 Jason Zaman gentoo-dev 2017-04-30 17:50:19 UTC
I dont use systemd, do I just need to do this: ?

diff --git a/net-misc/dropbox/files/dropbox_at.service b/net-misc/dropbox/files/dropbox_at.service
index 1cea617..b46a850 100644
--- a/net-misc/dropbox/files/dropbox_at.service
+++ b/net-misc/dropbox/files/dropbox_at.service
@@ -7,7 +7,7 @@ ExecStart=/opt/dropbox/dropboxd
 ExecReload=/bin/kill -HUP $MAINPID
 KillMode=process
 Restart=always
-User=%I
+User=%i
 
 [Install]
 WantedBy=multi-user.target
Comment 2 Jason Zaman gentoo-dev 2017-05-09 07:49:21 UTC
fixed this in 26.3.21, thanks