-
Notifications
You must be signed in to change notification settings - Fork 662
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
Fix daemon missing group #513
Conversation
Codecov Report
@@ Coverage Diff @@
## master #513 +/- ##
==========================================
- Coverage 66.45% 66.32% -0.13%
==========================================
Files 146 146
Lines 5676 5687 +11
==========================================
Hits 3772 3772
- Misses 1904 1915 +11
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #513 +/- ##
==========================================
- Coverage 66.45% 66.29% -0.17%
==========================================
Files 146 146
Lines 5679 5693 +14
==========================================
Hits 3774 3774
- Misses 1905 1919 +14
Continue to review full report at Codecov.
|
This should give me a better error now, no?
|
Not if multipassd is not running, which seems to be your case based on the |
Fall back to 'root' if those groups don't exist on the host instead of throwing an exception. Fixes #456
This will detect if the user has proper permission to access the Unix domain socket file. Fixes #460
Co-Authored-By: townsend2010 <[email protected]>
Co-Authored-By: townsend2010 <[email protected]>
Co-Authored-By: townsend2010 <[email protected]>
2624d7f
to
1eddc05
Compare
Co-Authored-By: townsend2010 <[email protected]>
include/multipass/cli/command.h
Outdated
return on_failure(status); | ||
else | ||
{ | ||
fmt::print("{}\n", context.peer()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debug leftover?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops:) Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors delegate+
Please drop the debug leftover and you can land.
bors delegate+ bors? |
ac82958
to
8c00a1d
Compare
bors r=Saviq |
513: Fix daemon missing group r=Saviq a=townsend2010 I combined a few fixes in this as separate commits since they all went hand in hand and solve a couple of issues together. Fixes #456, fixes #460 Co-authored-by: Chris Townsend <[email protected]> Co-authored-by: Michał Sawicz <[email protected]>
Build failed |
Ok, try again... bors r=Saviq |
513: Fix daemon missing group r=Saviq a=townsend2010 I combined a few fixes in this as separate commits since they all went hand in hand and solve a couple of issues together. Fixes #456, fixes #460 Co-authored-by: Chris Townsend <[email protected]> Co-authored-by: Michał Sawicz <[email protected]>
Build failed |
One more time... bors r=Saviq |
513: Fix daemon missing group r=Saviq a=townsend2010 I combined a few fixes in this as separate commits since they all went hand in hand and solve a couple of issues together. Fixes #456, fixes #460 Co-authored-by: Chris Townsend <[email protected]> Co-authored-by: Michał Sawicz <[email protected]>
Build failed |
551: Release 2018.12.1 r=townsend2010 a=Saviq ### Highlights - On Linux, suspending/resuming the instance to/from disk is now supported. (#374) - Better handling of delayed shutdown including posting `wall` messages to logged in users and allowing log ins to the instance unless 1 minute or less remains until shutdown. (#461, #50) - On Linux, all CPU flags should be passed into the running instance on newly created instances. (#516) - Fixed some races around mount handling. (#514, #520) ### Bugs fixed: - make the recover command idempotent (#528) - explicitly stop mounts when deleting an instance to avoid a race (#520) - be smarter about what group owns the multipass socket (#513, #523) - pass through all CPU flags when launching QEMU or libvirt instances (#516) - use `info` log level for metrics issues (#515) - fix potential race when starting a mount (#514) - use `wall` shutdown messages for users logged into VM when delayed shutdown is initiated (#501) - fix crash if exception during daemon start up (#487) - refactor CLI code (#468) - add default uid/gid mapping (#331) - fix file metadata passthrough - display uid/gid maps in info command (#439) - add support for the suspend command (#374) - shell to machine in delayed stop state (#461) - improve uid/gid validation (#479) - avoid leaking the libvirt bridge (#327, #413) - add a restart command (#217) - upgrade 3rd-party versions (#471) Co-authored-by: bors[bot] <bors[bot]@users.noreply.github.com>
I combined a few fixes in this as separate commits since they all went hand in hand and solve a couple of issues together.
Fixes #456, fixes #460