On Tue, Aug 20, 2019 at 12:54:07AM +0100, Ken Moffat via blfs-dev wrote:
> On Tue, Aug 20, 2019 at 12:49:48AM +0100, Ken Moffat via blfs-dev wrote:
> > So it appears that I have two problems with elogind:
> > 
> > I. Somethng apparently specific to me (perhaps running the build as
> >    root) where despite NOT having the setuid install enabled, it
> >    still installed as mode 4755.  To be investigated later.
> > 

Indeed, it is building as root which causes suid.  I've just run, as
root,

./configure --prefix=/opt/X11  --with-xkb-output=/var/lib/xkb
--enable-glamor  --enable-suid-wrapper  --disable-systemd-logind &&
make -j8 && make install

which gave me

-rwsr-xr-x 1 root root 18120152 Aug 20 00:57 Xorg
-rwsr-xr-x 1 root root    29432 Aug 20 00:57 Xorg.wrap

Repeated, using
./configure --prefix=/opt/X11  --with-xkb-output=/var/lib/xkb \
  --enable-glamor --disable-install-setuid  --enable-suid-wrapper \
  --disable-systemd-logind

and I got the result I had originally wanted:

-rwxr-xr-x 1 root root 18120168 Aug 20 01:01 Xorg
-rwsr-xr-x 1 root root    29432 Aug 20 01:01 Xorg.wrap

Unfortunately, since I don't seem to be able to to run it without
setuid, I'm not a lot further forward.

ĸen
-- 
Adopted by dwarfs, brought up by dwarfs.  To dwarfs I'm a dwarf, sir.
I can do the rite of k'zakra, I know the secrets of h'ragna, I can
ha'lk my g'rakha correctly ... I am a dwarf
           Captain Carrot Ironfoundersson (in The Fifth Elephant)
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to