11 | | In snapshot run, as of Natty, a patch to sudo causes it to no longer run initgroups(3), and thus it doesn't pick up the group changes when we add users to the admin group, etc. Therefore, we manually add a line to sudoers inside the chroot. We should write our own wrapper which calls initgroups(3) and then exec's whatever we want. The only reason we use sudo inside snapshot-run's schroot invocation is because it runs initgroups(3) for us. |
| 11 | In snapshot-run, as of Natty, a patch to sudo causes it to no longer run initgroups(3), and thus it doesn't pick up the group changes when we add users to the admin group, etc. Therefore, we manually add a line to sudoers inside the chroot. We should write our own wrapper which calls initgroups(3) and then exec's whatever we want. The only reason we use sudo inside snapshot-run's schroot invocation is because it runs initgroups(3) for us. |