niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » FreeBSD » mail-lists » Architecture
Installing XFree86 package via sysinstall: need X wrapper or not?
Post new topic   Reply to topic Page 1 of 3 [31 Posts] View previous topic :: View next topic
Goto page:  1, 2, 3 Next
Author Message
David O'Brien
*nix forums beginner


Joined: 21 Jun 2002
Posts: 1

PostPosted: Fri Jun 21, 2002 6:45 pm    Post subject: Re: Installing XFree86 package via sysinstall: need X wrapper or not? Reply with quote

On Fri, Jun 21, 2002 at 01:58:06PM +0900, Makoto Matsushita wrote:
Quote:
We can fix this by RUN_DEPENDS lines of ports/x11/XFree86-4/Makefile.
However, it makes another problem that "hey, XFree86-4 ports install X
wrapper which I don't used, no thankyou."

So? Take any of the large packages these days and it installs a lot of
stuff I don't need or want.


Quote:
IMHO this problem can be treated as "problem while installing XFree86
via sysinstall," here is a patch to teach sysinstall to install the X
wrapper package after XFree86 package is installed.

Any comments and objections are welcome. If there is no objection,
I'll commit it later (maybe next week or so).

This is wrong. XFree86-4 should include the wrapper. Do you know why it
doesn't?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Will Andrews
*nix forums beginner


Joined: 04 Jun 2002
Posts: 21

PostPosted: Fri Jun 21, 2002 8:32 pm    Post subject: Re: Installing XFree86 package via sysinstall: need X wrapper or not? Reply with quote

On Fri, Jun 21, 2002 at 01:45:20PM -0700, David O'Brien wrote:
Quote:
IMHO this problem can be treated as "problem while installing XFree86
via sysinstall," here is a patch to teach sysinstall to install the X
wrapper package after XFree86 package is installed.

Any comments and objections are welcome. If there is no objection,
I'll commit it later (maybe next week or so).

This is wrong. XFree86-4 should include the wrapper. Do you know why it
doesn't?

There is no reason why it doesn't.

Regards,
--
wca

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Makoto Matsushita
*nix forums beginner


Joined: 21 Mar 2002
Posts: 9

PostPosted: Sat Jun 22, 2002 2:32 am    Post subject: Re: Installing XFree86 package via sysinstall: need X wrapper or not? Reply with quote

obrien> This is wrong. XFree86-4 should include the wrapper. Do you
obrien> know why it doesn't?

I don't know. I'll put wrapper into XFree86-4 if I'm the maintainer.

***

But I can suppose that why wrapper is not installed by default; when
you're going to update XFree86-4-Server,

- You can't simply delete old XFree86-4-Server, since wrapper
depends on this.

- You can force to install new XFree86-4-Server. But you must
re-install wrapper also, since ${X11BASE}/bin/X is already
replaced.

It would be OK for wrapper users, but maybe it would not be OK for
other majority users who use xdm or its friends.

-- -
Makoto `MAR' Matsushita

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Dag-Erling Smorgrav
*nix forums Guru Wannabe


Joined: 23 Mar 2002
Posts: 110

PostPosted: Sat Jun 22, 2002 7:35 am    Post subject: Re: Installing XFree86 package via sysinstall: need X wrapper or not? Reply with quote

Will Andrews <will@csociety.org> writes:
Quote:
On Fri, Jun 21, 2002 at 01:45:20PM -0700, David O'Brien wrote:
This is wrong. XFree86-4 should include the wrapper. Do you know why it
doesn't?
There is no reason why it doesn't.

Yes, there is: it's a setuid binary. It shouldn't be installed unless
it's needed.

DES
--
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Will Andrews
*nix forums beginner


Joined: 04 Jun 2002
Posts: 21

PostPosted: Sat Jun 22, 2002 6:05 pm    Post subject: Re: Installing XFree86 package via sysinstall: need X wrapper or not? Reply with quote

On Sat, Jun 22, 2002 at 11:35:52AM +0200, Dag-Erling Smorgrav wrote:
Quote:
Yes, there is: it's a setuid binary. It shouldn't be installed unless
it's needed.

I don't think sacrificing POLA for security is going to help
anything in *this* particular case.

Regards,
--
wca

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Alfred Perlstein
*nix forums addict


Joined: 19 Mar 2002
Posts: 67

PostPosted: Sat Jun 22, 2002 6:42 pm    Post subject: Re: Installing XFree86 package via sysinstall: need X wrapper or not? Reply with quote

* Will Andrews <will@csociety.org> [020622 13:06] wrote:
Quote:
On Sat, Jun 22, 2002 at 11:35:52AM +0200, Dag-Erling Smorgrav wrote:
Yes, there is: it's a setuid binary. It shouldn't be installed unless
it's needed.

I don't think sacrificing POLA for security is going to help
anything in *this* particular case.

Not having 'startx' or having a 'startx' that doesn't work is
really a bad idea. It _will_ annoy users.

--
-Alfred Perlstein [alfred@freebsd.org]

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Dag-Erling Smorgrav
*nix forums Guru Wannabe


Joined: 23 Mar 2002
Posts: 110

PostPosted: Sat Jun 22, 2002 11:55 pm    Post subject: Re: Installing XFree86 package via sysinstall: need X wrapper or not? Reply with quote

Alfred Perlstein <bright@mu.org> writes:
Quote:
Not having 'startx' or having a 'startx' that doesn't work is
really a bad idea. It _will_ annoy users.

Only users who haven't yet entered the 90s and discovered xdm.

DES
--
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Doug Barton
*nix forums addict


Joined: 24 Apr 2002
Posts: 91

PostPosted: Sun Jun 23, 2002 12:12 am    Post subject: Re: Installing XFree86 package via sysinstall: need X wrapper or not? Reply with quote

Dag-Erling Smorgrav wrote:
Quote:

Alfred Perlstein <bright@mu.org> writes:
Not having 'startx' or having a 'startx' that doesn't work is
really a bad idea. It _will_ annoy users.

Only users who haven't yet entered the 90s and discovered xdm.

Or users for whom xdm isn't possible because the pam libraries in
-current are buggered.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
M. Warner Losh
*nix forums Guru


Joined: 22 Mar 2002
Posts: 365

PostPosted: Sun Jun 23, 2002 4:51 am    Post subject: Re: Installing XFree86 package via sysinstall: need X wrapper or not? Reply with quote

In message: <xzpheju21z0.fsf@flood.ping.uio.no>
Dag-Erling Smorgrav <des@ofug.org> writes:
: Alfred Perlstein <bright@mu.org> writes:
: > Not having 'startx' or having a 'startx' that doesn't work is
: > really a bad idea. It _will_ annoy users.
:
: Only users who haven't yet entered the 90s and discovered xdm.

I think this attitude is not helpful. xdm broke badly on the last set
up upgrades I did to X. startx is the only thing that still works for
me.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Dag-Erling Smorgrav
*nix forums Guru Wannabe


Joined: 23 Mar 2002
Posts: 110

PostPosted: Sun Jun 23, 2002 11:05 am    Post subject: Re: Installing XFree86 package via sysinstall: need X wrapper or not? Reply with quote

Doug Barton <DougB@FreeBSD.org> writes:
Quote:
Or users for whom xdm isn't possible because the pam libraries in
-current are buggered.

I can't recall receiving a bug report from you.

DES
--
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Dag-Erling Smorgrav
*nix forums Guru Wannabe


Joined: 23 Mar 2002
Posts: 110

PostPosted: Sun Jun 23, 2002 11:08 am    Post subject: Re: Installing XFree86 package via sysinstall: need X wrapper or not? Reply with quote

"M. Warner Losh" <imp@village.org> writes:
Quote:
Dag-Erling Smorgrav <des@ofug.org> writes:
Only users who haven't yet entered the 90s and discovered xdm.
I think this attitude is not helpful. xdm broke badly on the last set
up upgrades I did to X. startx is the only thing that still works for
me.

I don't think your attitude is helpful either. You should be trying
to figure out (or helping someone try to figure out) what's wrong with
xdm, rather than whining about it.

Maybe *this* is what's really wrong with FreeBSD: people seem more
comfortable whining about bugs and building up grudges towards those
they think are responsible for them, than trying to actually fix them.

DES
--
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Makoto Matsushita
*nix forums beginner


Joined: 21 Mar 2002
Posts: 9

PostPosted: Sun Jun 23, 2002 1:26 pm    Post subject: Re: Installing XFree86 package via sysinstall: need X wrapper or not? Reply with quote

des> Yes, there is: it's a setuid binary. It shouldn't be installed
des> unless it's needed.

The X wrapper should be installed for startx users, and we can't
deduce who want to use it.

Let me clarify the point again:

Background:
1) In XFree86 3.x, the non-root users of startx(1) kick X
server without any setups, since X server is a setuid binary.
2) In XFree86 4.x, the non-root users of startx(1) cannot kick
X server, since X server is no longer setuid binary.

Note that most of users doesn't know X server has setuid
bit or not.

Current situations:
3) The startx users think that XFree86 4.2 is broken, X server
can't start. FreeBSD bundles XFree86 4.2. As a result,
they says "Latest FreeBSD's X server is broken."

How to solve:
4a) Write documents, to explain that "startx users should
install X wrapper separately, since sysinstall doesn't
automatically install the wrapper."
4b) Install X wrapper after XFree86 installation is finished.
4c) Add X wrapper itself into XFree86 meta-port.
4d) Do nothing.

Current situation is 4d), I propose 4b) in the last email, and some
others suggests 4c).

How do you think about this, des? I don't want to talk about xdm/pam
breakage or something like that; I want to talk about (backward
compatibility?) issues for startx users.

-- -
Makoto `MAR' Matsushita

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Dag-Erling Smorgrav
*nix forums Guru Wannabe


Joined: 23 Mar 2002
Posts: 110

PostPosted: Sun Jun 23, 2002 2:13 pm    Post subject: Re: Installing XFree86 package via sysinstall: need X wrapper or not? Reply with quote

"M. Warner Losh" <imp@village.org> writes:
Quote:
Maybe. I wasn't blaming you for it, as I have no clue what the
problem was. I'm pretty sure it isn't PAM since it broke when I
upgraded X, not when I did an installworld.

It could still be PAM, as your old xdm was probably linked against
Linux-PAM while your new xdm is linked against OpenPAM.

Any authentication-related problem you may encounter is probably
linked, directly or indirectly, to something I'm working on or have
worked on in the past six months. I can't fix bugs I don't know
about, though, and I don't read minds, so please report them when you
find them.

DES
--
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
M. Warner Losh
*nix forums Guru


Joined: 22 Mar 2002
Posts: 365

PostPosted: Sun Jun 23, 2002 3:54 pm    Post subject: Re: Installing XFree86 package via sysinstall: need X wrapper or not? Reply with quote

In message: <xzp1yay16sp.fsf@flood.ping.uio.no>
Dag-Erling Smorgrav <des@ofug.org> writes:
: "M. Warner Losh" <imp@village.org> writes:
: > Dag-Erling Smorgrav <des@ofug.org> writes:
: > > Only users who haven't yet entered the 90s and discovered xdm.
: > I think this attitude is not helpful. xdm broke badly on the last set
: > up upgrades I did to X. startx is the only thing that still works for
: > me.
:
: I don't think your attitude is helpful either. You should be trying
: to figure out (or helping someone try to figure out) what's wrong with
: xdm, rather than whining about it.

Given the number of bugs that I have on my plate for PCCARD, and the
hellish schedule at work, I desided to live with it rather than spend
more time on it. It isn't whinging. I have a limited amount of time.

I also am doing sufficient driver work that booting to X is a pain and
starting it by hand is useful, so I've not been motivated to figure it
out from that angle either.

: Maybe *this* is what's really wrong with FreeBSD: people seem more
: comfortable whining about bugs and building up grudges towards those
: they think are responsible for them, than trying to actually fix them.

Maybe. I wasn't blaming you for it, as I have no clue what the
problem was. I'm pretty sure it isn't PAM since it broke when I
upgraded X, not when I did an installworld. Now that the crunch time
is over, I may find some time to deal. Maybe you are a hearing insult
and derision where none was really meant.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Doug Barton
*nix forums addict


Joined: 24 Apr 2002
Posts: 91

PostPosted: Sun Jun 23, 2002 5:24 pm    Post subject: Re: Installing XFree86 package via sysinstall: need X wrapper or not? Reply with quote

Dag-Erling Smorgrav wrote:
Quote:

Doug Barton <DougB@FreeBSD.org> writes:
Or users for whom xdm isn't possible because the pam libraries in
-current are buggered.

I can't recall receiving a bug report from you.

Then you have a really bad memory. Smile You're one of the ones that told
me that it was "necessary" to break binay compat with 4.x for <some
silly reason> so I was SOL with the X 4.2 I downloaded from Xfree's web
site. Now, recompiling isn't even an option because X won't compile on
-current... yippee!

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 3 [31 Posts] Goto page:  1, 2, 3 Next
View previous topic :: View next topic
The time now is Thu Jan 08, 2009 5:37 am | All times are GMT
navigation Forum index » *nix » BSD » FreeBSD » mail-lists » Architecture
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Installing things Shane Debian 4 Fri Jul 21, 2006 6:00 am
No new posts installing solaris 10 on a v880 bl8n8r Solaris 3 Wed Jul 19, 2006 6:18 pm
No new posts installing depots in single-user mode Zak. HP-UX 2 Wed Jul 19, 2006 4:06 pm
No new posts Installing Solaris 8 - which CDs BertieBigBollox@gmail.com Solaris 3 Wed Jul 19, 2006 1:52 pm
No new posts large enterprise accounting package available? Tshepang Lekhonkhobe Debian 2 Wed Jul 19, 2006 1:30 pm

Credit Card Advice | Dubai Property | Jaeger Lecoultre | Buy Used Cell Phone | Low Interest Credit Card
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1972s ][ Queries: 16 (0.0704s) ][ GZIP on - Debug on ]