[spin-kickstarts: 1/2] design-suite: drop shotwell in favour of gnome-photos
by Luya Tshimbalanga
commit 415a8c2df3130e5ebd9f190d64637b5bb91f3a7c
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Tue Dec 1 12:19:18 2015 -0800
design-suite: drop shotwell in favour of gnome-photos
fedora-live-design_suite.ks | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/fedora-live-design_suite.ks b/fedora-live-design_suite.ks
index 050236e..8fd7afc 100644
--- a/fedora-live-design_suite.ks
+++ b/fedora-live-design_suite.ks
@@ -34,6 +34,7 @@ gimp-high-pass-filter
gimp-normalmap
gimp-resynthesizer
gimp-separate+
+gnome-photos
gpick
GraphicsMagick
gmic-gimp
@@ -83,7 +84,7 @@ f23-backgrounds-extras-gnome
-gnome-boxes
-gthumb
-eog
--gnome-photos
+-shotwell
-rdesktop
%end
@@ -92,7 +93,7 @@ f23-backgrounds-extras-gnome
#Override the favorite desktop application in Dash
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
[org.gnome.shell]
-favorite-apps=['firefox.desktop', 'shotwell.desktop', 'gimp.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
+favorite-apps=['firefox.desktop', 'gnome-photos.desktop', 'gimp.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
FOE
# Add link to lists of tutorials
8 years, 4 months
[spin-kickstarts] #59: edora-cloud-base-vagrant image has incorrect sudo privs
by fedora-badges
#59: edora-cloud-base-vagrant image has incorrect sudo privs
-----------------------------+---------------------
Reporter: semyers | Owner: kanarip
Type: defect | Status: new
Priority: major | Milestone:
Component: kickstart pool | Keywords: vagrant
Blocked By: | Blocking:
-----------------------------+---------------------
= bug description =
The fedora-cloud-base-vagrant image does not have the vagrant-recommended
sudo privileges.
The vagrant user is granted "ALL=NOPASSWD: ALL", but should be granted
"vagrant ALL=(ALL) NOPASSWD: ALL"
= bug analysis =
In [https://git.fedorahosted.org/cgit/spin-kickstarts.git/tree/fedora-
cloud-base-vagrant.ks?id=6b42371f723437214404c37366e7784004e12dc3#n45 the
current state], the vagrant user cannot act as other users with sudo.
Given passwordless sudo, the vagrant user easily has the ability to gain
this functionality (this is my current workaround), so it should probably
be the default anyway.
Without the "(ALL)" in the sudoers line:
{{{
[vagrant@dev ~]$ sudo -u nobody ls /
[sudo] password for vagrant:
Sorry, user vagrant is not allowed to execute '/bin/ls /' as nobody on
dev.
}}}
With the "(ALL)" in the sudoers line:
{{{
[vagrant@dev ~]$ sudo -u nobody ls /
bin boot dev etc home lib lib64 lost+found media mnt opt proc
root run sbin srv sys tmp usr vagrant var
}}}
= fix recommendation =
In the fedora-cloud-base-vagrant kickstart, replace
{{{
echo 'vagrant ALL=NOPASSWD: ALL' > /etc/sudoers.d/vagrant-nopasswd
}}}
with
{{{
echo 'vagrant ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/vagrant-nopasswd
}}}
As described in the vagrant docs, under "Password-less sudo":
https://docs.vagrantup.com/v2/boxes/base.html
--
Ticket URL: <https://fedorahosted.org/spin-kickstarts/ticket/59>
spin-kickstarts <https://fedorahosted.org/spin-kickstarts/>
Kickstarts that the Spin SIG reviews, tests, maintains and releases (as a package).
8 years, 4 months