Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
libvirt
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Libvirt Packaging Team
libvirt
Commits
f59b09cc
Commit
f59b09cc
authored
12 years ago
by
Guido Günther
Browse files
Options
Downloads
Patches
Plain Diff
Only add libvirt-qemu user to libvirt-qemu group once
when the group gets created
parent
ab5c1091
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/libvirt-bin.postinst
+5
-5
5 additions, 5 deletions
debian/libvirt-bin.postinst
with
5 additions
and
5 deletions
debian/libvirt-bin.postinst
+
5
−
5
View file @
f59b09cc
...
...
@@ -23,13 +23,10 @@ add_users_groups()
addgroup
--system
libvirt
fi
# user and group libvirt runs qemu/kvm instances with
if
!
getent group kvm
>
/dev/null
;
then
addgroup
--quiet
--system
kvm
fi
if
!
getent group libvirt-qemu
>
/dev/null
;
then
addgroup
--quiet
--system
libvirt-qemu
fi
# user and group libvirt runs qemu/kvm instances with
if
!
getent passwd libvirt-qemu
>
/dev/null
;
then
adduser
--quiet
\
--system
\
...
...
@@ -42,7 +39,10 @@ add_users_groups()
-gecos
"Libvirt Qemu"
\
libvirt-qemu
fi
adduser libvirt-qemu libvirt-qemu
if
!
getent group libvirt-qemu
>
/dev/null
;
then
addgroup
--quiet
--system
libvirt-qemu
adduser libvirt-qemu libvirt-qemu
fi
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment