Re: GSoC: LiveCD

2008-06-02 Thread Louisa Luciani
Louisa Luciani wrote:
 The GSoC is now upon us and so it is time to hear what you guys would
 like to see on the new and improved:
 DragonFly The X Edition Live-CD
 ;)
 
 Since I do not want to start an unmanageable discussion, I'd like to
 receive your replies privately so that I can return with the compiled
 results, and the discussion can continue from there. Everyone's input is
 valuable, so please, the more mail the better.
 Basically, I have four questions:
 
 1. What tools do you, as a developer want available?
 
 2. What programs do you, as a casual/power user want available?
 
 3. What DragonFly specific features are worth including?
 fairq, vkernels, hammer preview, +more ?
 
 4. Any other random ideas or opinions concerning Live-CDs?
 

You can now find all the suggestions I have received so far here:
http://wiki.dragonflybsd.org/index.cgi/LiveDVDGSoC
feel free to add stuff under 'suggestions'.

Perhaps we can begin by discussing the desktop environment/window
manager (Everyone who has emailed me so far has a different opinion on
this). e.g. What are your experiences? Do we want more qt or gtk programs?

-- 
Louisa Luciani
www.lolaluci.se/[EMAIL PROTECTED]


Re: OT: setrlimit equivalent to prevent unlink or truncate

2008-06-02 Thread Oliver Fromme
Johannes Hofmann wrote:
  Yes, the latter. In a program I want to exec another binary with
  limited privileges.

The traditional UNIX way is to exec that other binary as
an unprivileged user, e.g. nobody.  The problem is that
you must be root to call setuid() in the first place.
You can use sudo(8) or super(1) for that purpose.

Of course the problem could be solved in a much better
way with mandatory access control (MAC), which requires
appropriate support from the OS.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd


Re: GSoC: LiveCD

2008-06-02 Thread VOROSKOI Andras
On Mon, Jun 02, 2008 at 12:34:11PM +0200, Louisa Luciani wrote:
 Perhaps we can begin by discussing the desktop environment/window
 manager (Everyone who has emailed me so far has a different opinion on
 this). e.g. What are your experiences? Do we want more qt or gtk programs?

I think using qt/kde would be easier. As the size does not count to much
on a DVD using 100+ gnome apps would be a bit harder. So I would start
with KDE if I were you.
xfce4 is also a good one imo and should be also faster than kde, but
i've never tried kde4.
And the most important is ratpoison of course :)

-- 
voroskoi


Re: GSoC: LiveCD

2008-06-02 Thread Robert Luciani
 I think using qt/kde would be easier. As the size does not count to much
 on a DVD using 100+ gnome apps would be a bit harder. So I would start
 with KDE if I were you.
 xfce4 is also a good one imo and should be also faster than kde, but
 i've never tried kde4.
 And the most important is ratpoison of course :)
 

I think using Gnome would be better than KDE.

Firstly, all popular apps use gtk+ like: Firefox, Thunderbird,
OpenOffice, Pidgin, Xchat, Wireshark, gvim, Ekiga, F-Spot, Gimp, and
much more.

Secondly, (if we had a compatible HAL) gnome has a lot nicer services
like NetworkManager, gvfs (volume-manager), power-manager,
bluetooth-manager and more.

Lastly, KDE is oftentimes quite ugly and has way too many buttons.

In so far as simple window-managers are concerned, there are are newer
cooler ones that good 'ol blackbox and ratpoison, such as:
wm/awesome (lightweight) and wip/e17 (almost lightweight).

My vote is on one big one: meta-pkgs/gnome
and one small one: wm/awesome

-- 
Robert Luciani
Chalmers University of Technology, SWE
Department of Computer Science and Engineering
http://www.rluciani.com/[EMAIL PROTECTED]


Re: GSoC: LiveCD

2008-06-02 Thread Sepherosa Ziehau
On Mon, Jun 2, 2008 at 10:13 PM, Robert Luciani [EMAIL PROTECTED] wrote:
 I think using qt/kde would be easier. As the size does not count to much
 on a DVD using 100+ gnome apps would be a bit harder. So I would start
 with KDE if I were you.
 xfce4 is also a good one imo and should be also faster than kde, but
 i've never tried kde4.
 And the most important is ratpoison of course :)


 I think using Gnome would be better than KDE.

 Firstly, all popular apps use gtk+ like: Firefox, Thunderbird,
 OpenOffice, Pidgin, Xchat, Wireshark, gvim, Ekiga, F-Spot, Gimp, and
 much more.

 Secondly, (if we had a compatible HAL) gnome has a lot nicer services
 like NetworkManager, gvfs (volume-manager), power-manager,
 bluetooth-manager and more.

 Lastly, KDE is oftentimes quite ugly and has way too many buttons.

 In so far as simple window-managers are concerned, there are are newer
 cooler ones that good 'ol blackbox and ratpoison, such as:
 wm/awesome (lightweight) and wip/e17 (almost lightweight).

 My vote is on one big one: meta-pkgs/gnome
 and one small one: wm/awesome

Oh, is awesome smaller than wmii3?

Best Regards,
sephe

-- 
Live Free or Die


Re: GSoC: LiveCD

2008-06-02 Thread VOROSKOI Andras
On Mon, Jun 02, 2008 at 04:13:11PM +0200, Robert Luciani wrote:
 I think using Gnome would be better than KDE.
 
 Firstly, all popular apps use gtk+ like: Firefox, Thunderbird,
 OpenOffice, Pidgin, Xchat, Wireshark, gvim, Ekiga, F-Spot, Gimp, and
 much more.

Well, these depends on gtk+2, not gnome. It's quite obvious that you can
not live without gtk. I mean I can hardly imagine any desktop machine
without gtk.

 Secondly, (if we had a compatible HAL) gnome has a lot nicer services
 like NetworkManager, gvfs (volume-manager), power-manager,
 bluetooth-manager and more.

OK, I'm not too familiar with these.

 Lastly, KDE is oftentimes quite ugly and has way too many buttons.

I could argue on that, but as I prefer the lightweight things it does
not really affects me.
Anyway choose the one you use more often, so you will know how things
should work and probably also how to fix the bugs popping up.

 In so far as simple window-managers are concerned, there are are newer
 cooler ones that good 'ol blackbox and ratpoison, such as:
 wm/awesome (lightweight) and wip/e17 (almost lightweight).

Awesome is good with a proper config file. I only tried once.

As for e17: I would not use it. I'm the e17 maintainer in frugalware and
e17 is alpha, maximum beta. So it's just not ready. And there are not
much apps written for EFL, so it just does not worth the work. Just my
0.02.

 My vote is on one big one: meta-pkgs/gnome
 and one small one: wm/awesome

Well, it's your call. Whatever you choose is good for me.

-- 
voroskoi


Re: lseek(2) problems

2008-06-02 Thread Matthew Dillon
:...
:chose to require that errno be set to [EINVAL] when the resulting file
:offset would be negative for a regular file, block special file, or
:directory.
:
:You can download the testcase if you want, but I also attach a simple
:testcase. Let me know what do you think about it.
:
:-- 
:voroskoi

This looks really easy to fix.  I'll do it right now.

-Matt


Re: GSoC: LiveCD

2008-06-02 Thread Justin C. Sherrill
On Mon, June 2, 2008 6:34 am, Louisa Luciani wrote:

 Perhaps we can begin by discussing the desktop environment/window
 manager (Everyone who has emailed me so far has a different opinion on
 this). e.g. What are your experiences? Do we want more qt or gtk programs?

I don't want to drown the user in choices; the whole reason for a Live
disk like this is to let the user get started doing stuff, and not have to
take time picking window managers and other programs.

Any window manger will work, as long as it remains the same.  Knowing what
the interface will look like is very valuable when troubleshooting or
writing documentation; nobody wants to have to rewrite instructions three
times for every window manager that might be running.

My concern (and this is possible with any WM) is that it recognizably
looks like a DragonFly system.  There should be some obviously available
READMEs on the desktop; links to the website, a desktop background pulled
from the ones we have saved in cvs:/site/save - etc.



Re: GSoC: LiveCD

2008-06-02 Thread Matthew Dillon

:I don't want to drown the user in choices; the whole reason for a Live
:disk like this is to let the user get started doing stuff, and not have to
:take time picking window managers and other programs.
:
:Any window manger will work, as long as it remains the same.  Knowing what
:the interface will look like is very valuable when troubleshooting or
:writing documentation; nobody wants to have to rewrite instructions three
:times for every window manager that might be running.
:
:My concern (and this is possible with any WM) is that it recognizably
:looks like a DragonFly system.  There should be some obviously available
:READMEs on the desktop; links to the website, a desktop background pulled
:from the ones we have saved in cvs:/site/save - etc.

Yes, this is my general feeling too.  I am not going to advocate one
particular window manager over another.  In fact I would go as far
as to say that the one doing the grind is the one doing the chosing,
there, and I'll be happy with whatever is chosen :-).

-Matt
Matthew Dillon 
[EMAIL PROTECTED]


Re: GSoC: LiveCD

2008-06-02 Thread Petr Janda
I think guys, we should use KDE 4.x for the GUI on the livecd. 

Petr

On Tue, 3 Jun 2008 12:45:31 am VOROSKOI Andras wrote:
 On Mon, Jun 02, 2008 at 04:13:11PM +0200, Robert Luciani wrote:
  I think using Gnome would be better than KDE.
 
  Firstly, all popular apps use gtk+ like: Firefox, Thunderbird,
  OpenOffice, Pidgin, Xchat, Wireshark, gvim, Ekiga, F-Spot, Gimp, and
  much more.

 Well, these depends on gtk+2, not gnome. It's quite obvious that you can
 not live without gtk. I mean I can hardly imagine any desktop machine
 without gtk.

  Secondly, (if we had a compatible HAL) gnome has a lot nicer services
  like NetworkManager, gvfs (volume-manager), power-manager,
  bluetooth-manager and more.

 OK, I'm not too familiar with these.

  Lastly, KDE is oftentimes quite ugly and has way too many buttons.

 I could argue on that, but as I prefer the lightweight things it does
 not really affects me.
 Anyway choose the one you use more often, so you will know how things
 should work and probably also how to fix the bugs popping up.

  In so far as simple window-managers are concerned, there are are newer
  cooler ones that good 'ol blackbox and ratpoison, such as:
  wm/awesome (lightweight) and wip/e17 (almost lightweight).

 Awesome is good with a proper config file. I only tried once.

 As for e17: I would not use it. I'm the e17 maintainer in frugalware and
 e17 is alpha, maximum beta. So it's just not ready. And there are not
 much apps written for EFL, so it just does not worth the work. Just my
 0.02.

  My vote is on one big one: meta-pkgs/gnome
  and one small one: wm/awesome

 Well, it's your call. Whatever you choose is good for me.


Re: GSoC: LiveCD

2008-06-02 Thread Karthik Subramanian
On Tue, Jun 3, 2008 at 5:49 AM, Petr Janda [EMAIL PROTECTED] wrote:
 I think guys, we should use KDE 4.x for the GUI on the livecd.

 Petr

+1 for KDE 4.x

K.


Re: GSoC: LiveCD

2008-06-02 Thread Hasso Tepper
Karthik Subramanian wrote:
 On Tue, Jun 3, 2008 at 5:49 AM, Petr Janda 
[EMAIL PROTECTED] wrote:
  I think guys, we should use KDE 4.x for the GUI on the livecd.
 
  Petr

 +1 for KDE 4.x

KDE committer hat on
Wow! I see a lot of resources coming to make KDE 4 work on DragonFly ...
FYI, even Qt 4.4 doesn't work correctly yet on DragonFly. 
/all hats off

Seriously, this discussion is irrelevant to the project IMHO. LiveCD/DVD 
project should create infrastructure for building CD and DVD images with 
whatever packages I, as iso builder, would like to see on it.


just my 2c,

-- 
Hasso Tepper