Skip to contentSkip to conversation

MAKEDEV patch

DISCUSSION Tommy McCabe 3 participants 3 messages Jun 11, 2004 – Jun 28, 2004

lore
Share & tools
lore
#0 lore raw

This patch uses sudo to do the mknods in MAKEDEV.

--- ./elkscurr/elkscmd/rootfs_template/dev/MAKEDEV

2004-06-11 16:01:53.000000000 -0400
+++ ./elks/elkscmd/rootfs_template/dev/MAKEDEV
2004-06-11 15:54:50.000000000 -0400

@@ -13,7 +13,7 @@
# Refer to the MAKESET command, also in this
directory, for usage details.

LINK=ln
-MKDEV=mknod
+MKDEV=sudo -u root mknod
MKSET=./MAKESET

######################################################################################

__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/

#1 lore raw

Hi, Tommy,

Quoted 12 lines · Tommy McCabe

This patch uses sudo to do the mknods in MAKEDEV.

--- ./elkscurr/elkscmd/rootfs_template/dev/MAKEDEV

2004-06-11 16:01:53.000000000 -0400
+++ ./elks/elkscmd/rootfs_template/dev/MAKEDEV
2004-06-11 15:54:50.000000000 -0400
(quoted diff) +0 -0
@@ -13,7 +13,7 @@
 # Refer to the MAKESET command, also in this

directory, for usage details.

LINK=ln

Review

Quoted 3 lines
(quoted diff) +1 -1
-MKDEV=mknod
+MKDEV=sudo -u root mknod
 MKSET=./MAKESET

I think that making everybody use sudo to build the disk images *and* breaking the MAKEDEV script (that is supposed to run inside elks, too), is not a good thing.

We should instruct the users to build the disk images as root (or better:
find a way to build the disk images without the need of root privileges, some day), but not inserting 'sudo' everywhere on the buildsystem. We can have users that:

- Don't like sudo
- Don't use sudo, and don't want to configure it
- Don't know how to configure sudo
- Use sudo, and have a small password timeout, and don't wat to be asked for the password many times during the disk images building

If you want to use sudo to build the disk images, please use 'sudo make <sometarget>', it is easier and simpler.

--
Eduardo

#2 lore raw
In reply to Tommy McCabe

Greetings,

Quoted 2 lines · Tommy McCabe

This patch uses sudo to do the mknods in MAKEDEV.

I'm affraid Eduardo's mail regarding this patch and the use of sudo itself on the build system is right. I do realize the fact that we need to be able to build elks stuff without a privileged user, but we will have to work this in the future.

Anyways sorry. Patch Rejected.

Mike

Quoted 27 lines

--- ./elkscurr/elkscmd/rootfs_template/dev/MAKEDEV

2004-06-11 16:01:53.000000000 -0400
+++ ./elks/elkscmd/rootfs_template/dev/MAKEDEV
2004-06-11 15:54:50.000000000 -0400
(quoted diff) +0 -0
@@ -13,7 +13,7 @@
 # Refer to the MAKESET command, also in this

directory, for usage details.

LINK=ln

(quoted diff) +1 -1
-MKDEV=mknod
+MKDEV=sudo -u root mknod
 MKSET=./MAKESET
 
 ######################################################################################

__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 6 lines
--------------------miguel bolanos, systems administrator, linuxlabs
... ........ ..... ....                 230 peachtree st nw ste 2701
the original linux labs                          atlanta.ga.us 30303
       -since 1995                          http://www.linuxlabs.com
                                office 404.577.7747 fax 404.577.7743
--------------------------------------------------------------------