Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Search
  • Search

Search found 389 matches

Go to advanced search

Advanced search
Search found 389 matches
  • Page 1 of 16
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 16
  • Next
by Guinpen
Fri Nov 13, 2009 11:25 am
Forum: Other Things Gentoo
Topic: cdrecord and suid
Replies: 11
Views: 6880

Anyone?
  • Jump to post
by Guinpen
Tue Oct 27, 2009 6:07 pm
Forum: Other Things Gentoo
Topic: cdrecord and suid
Replies: 11
Views: 6880

Oh, don't get me wrong. Cdrecord works perfectly (it did NOT work on k3b 1.0 alpha2, but it did work after an upgrade to alpha3, without touching cdrecord).

This whole thread exists so that I can find out the answer of the fundamental UNIX question of why sudo makes a difference on a suid binary ...
  • Jump to post
by Guinpen
Tue Oct 27, 2009 4:15 pm
Forum: Other Things Gentoo
Topic: cdrecord and suid
Replies: 11
Views: 6880

cdrtools bundle a code that's checking if the binary is suid or not, and if it's not, you won't be able to see the device list properly.

The binary is suid. My question is the difference between running:
1) the suid binary as user (directly)
2) the suid binary with sudo

I believe there should be ...
  • Jump to post
by Guinpen
Tue Oct 27, 2009 1:05 pm
Forum: Other Things Gentoo
Topic: cdrecord and suid
Replies: 11
Views: 6880

As far as I know, cdrkit is a a fork created for licensing reasons, which is technically inferior and not maintained much. Most distributions use cdrtools, so I'm willing to trust that better.

In any case, my questions still stands. What is the technical difference between running something that is ...
  • Jump to post
by Guinpen
Tue Oct 20, 2009 9:39 am
Forum: Other Things Gentoo
Topic: [SOLVED] OpenRC 0.5.1 does not start my network correctly
Replies: 30
Views: 22554

I see. BTW, what is meaning of the second line and why is it there?
  • Jump to post
by Guinpen
Mon Oct 19, 2009 11:42 pm
Forum: Other Things Gentoo
Topic: [SOLVED] OpenRC 0.5.1 does not start my network correctly
Replies: 30
Views: 22554

Thanks for your help. And troubleshooting is part of what makes Gentoo fun :)
  • Jump to post
by Guinpen
Mon Oct 19, 2009 11:23 pm
Forum: Other Things Gentoo
Topic: [SOLVED] OpenRC 0.5.1 does not start my network correctly
Replies: 30
Views: 22554

A static IP is easy, since you don't have to wait for anything. If I were to set my IP as static, things would work, but that's not the point.

Anyway, I'm rather please to say that... I GOT IT!!!

All I had to do on top of what I posted above was disable the network service (rc-update del network ...
  • Jump to post
by Guinpen
Mon Oct 19, 2009 10:07 pm
Forum: Other Things Gentoo
Topic: [SOLVED] OpenRC 0.5.1 does not start my network correctly
Replies: 30
Views: 22554

Some additional info:

I reemerged iproute2 and got /sbin/ip back, so now I can have a look at the kernel routing table (ip route):

192.168.0.0/16 dev eth0 proto kernel scope link src 192.168.0.2 metric 202
unreachable 127.0.0.0/8 scope host
127.0.0.0/8 via 127.0.0.1 dev lo scope link
Not only is ...
  • Jump to post
by Guinpen
Mon Oct 19, 2009 9:59 pm
Forum: Other Things Gentoo
Topic: [SOLVED] OpenRC 0.5.1 does not start my network correctly
Replies: 30
Views: 22554

OK, I have almost fixed this.

So, I upgraded to dhcpcd-5.1.2 and openrc-0.5.2. The former has exactly what I need: an option to wait before backgrounding. Just add:
waitip to /etc/dhcpcd.conf and dhcpcd will fully acquire an address before it backgrounds, pausing the boot process for a moment, as ...
  • Jump to post
by Guinpen
Mon Oct 19, 2009 5:37 am
Forum: Other Things Gentoo
Topic: [SOLVED] OpenRC 0.5.1 does not start my network correctly
Replies: 30
Views: 22554

Iif your IP is static, do you use DHCP to get it?
  • Jump to post
by Guinpen
Sun Oct 18, 2009 11:03 pm
Forum: Other Things Gentoo
Topic: cdrecord and suid
Replies: 11
Views: 6880

Anyone?
  • Jump to post
by Guinpen
Sun Oct 18, 2009 11:02 pm
Forum: Other Things Gentoo
Topic: [SOLVED] OpenRC 0.5.1 does not start my network correctly
Replies: 30
Views: 22554

That's good, but I would like to resolve this without writing any scripts. Even if I did put some time into wrting a script, everyone else with a similar problem would have to do it as well. I appreciate your efforts, but this is not an acceptable solution.

Now, I noticed that dhcp-5.1.2 has been ...
  • Jump to post
by Guinpen
Thu Oct 15, 2009 10:47 pm
Forum: Other Things Gentoo
Topic: [SOLVED] OpenRC 0.5.1 does not start my network correctly
Replies: 30
Views: 22554

First of all, thank you for all your help!

They are in the pure-funtoo overlay.
OK, so assuming I get them, what should I do with them?

I had this problem long before openrc-0.5.x, the simple solution is to have an init script which tests for that using a loop and sleep. then let those services ...
  • Jump to post
by Guinpen
Thu Oct 15, 2009 10:42 pm
Forum: Other Things Gentoo
Topic: cdrecord and suid
Replies: 11
Views: 6880

cdrecord and suid

Hi,

When running cdrecord as a user, I get:
$ cdrecord /dev/sr0
cdrecord: No write mode specified.
cdrecord: Assuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
Cdrecord-ProDVD-ProBD-Clone 2 ...
  • Jump to post
by Guinpen
Thu Oct 15, 2009 8:24 pm
Forum: Other Things Gentoo
Topic: [SOLVED] OpenRC 0.5.1 does not start my network correctly
Replies: 30
Views: 22554

Mike Hunt wrote:Do you have sys-apps/funtoo-netscripts in portage ?
No.
  • Jump to post
by Guinpen
Thu Oct 15, 2009 8:22 pm
Forum: Other Things Gentoo
Topic: [SOLVED] OpenRC 0.5.1 does not start my network correctly
Replies: 30
Views: 22554

I tried these 2 lines in /etc/conf.d/network, and I installed openresolv, which I didn't have before. No change.

Also note that I have now installed 0.5.1-r1, which forces "oldnet", and I have restored /etc/init.d/net.lo, /etc/init.d/net.eth0 (both started at boot), and /etc/conf.d/net.

As I said ...
  • Jump to post
by Guinpen
Thu Oct 15, 2009 4:48 pm
Forum: Other Things Gentoo
Topic: [SOLVED] OpenRC 0.5.1 does not start my network correctly
Replies: 30
Views: 22554

Which has maybe overwritten the example configuration.
Well, I just appended the two lines above to the example configuration, but everything in there was commented out anyway. The example configuration contains some other cases (static IPs, bridges, VLANs, wireless), none of which I need.

Why ...
  • Jump to post
by Guinpen
Wed Oct 14, 2009 9:51 pm
Forum: Other Things Gentoo
Topic: [SOLVED] OpenRC 0.5.1 does not start my network correctly
Replies: 30
Views: 22554

In the other thread you claim to see dhcpcd negotiate a lease. I don't. It just flies past that and claims success for the network service.
audiodef wrote:What "ip" command are you referring to? ifconfig? dhcpcd?
ip as in "ip route" to show what routes the kernel is using for IP packets.
  • Jump to post
by Guinpen
Wed Oct 14, 2009 8:12 pm
Forum: Other Things Gentoo
Topic: OpenRC support thread, 2d Edition
Replies: 241
Views: 328646

Hi,

Rather than hijacking the thread, I would like to point you to my OpenRC problem: https://forums.gentoo.org/viewtopic-p-6012266.html

Thanks!
  • Jump to post
by Guinpen
Wed Oct 14, 2009 7:55 pm
Forum: Other Things Gentoo
Topic: [SOLVED] OpenRC 0.5.1 does not start my network correctly
Replies: 30
Views: 22554

[SOLVED] OpenRC 0.5.1 does not start my network correctly

EDIT: Here is the solution to get DHCP to work properly with OpenRC 0.5 and DHCP 5. I assume your network interface is eth0.

1) Emerge openrc-0.5.2 and dhcpcd-5.1.2. You do not need openresolv.
2) Do not run the "network" service in any runlevel, but do run "net.lo", "net.eth0", and "dhcpcd" in ...
  • Jump to post
by Guinpen
Tue Aug 18, 2009 9:22 pm
Forum: Other Things Gentoo
Topic: [SOLVED] Different umask for a certain user - how?
Replies: 7
Views: 4261

That's what I was looking for! But this line has the bug that providing any options to the su command ignores the dash, since according to TFM it has to be the last option. The perfect solution is:

Code: Select all

alias su='su -l'
Thanks!
  • Jump to post
by Guinpen
Sat Aug 01, 2009 11:14 am
Forum: Other Things Gentoo
Topic: [SOLVED] Different umask for a certain user - how?
Replies: 7
Views: 4261

The following line fixed sudo's umask:

Code: Select all

Defaults !set_logname, syslog=auth, umask=022, umask_override
This is almost what I want. The only thing left is su. When I su from my user to get root, the umask does not change.
  • Jump to post
by Guinpen
Thu Jul 30, 2009 2:07 pm
Forum: Other Things Gentoo
Topic: [SOLVED] Different umask for a certain user - how?
Replies: 7
Views: 4261

Anyone?
  • Jump to post
by Guinpen
Thu Jul 09, 2009 9:28 pm
Forum: Other Things Gentoo
Topic: [SOLVED] Different umask for a certain user - how?
Replies: 7
Views: 4261

Unfortunately, if I log in as the user with 077, and run something as root ("sudo bash"), root now inherits the umask. Is there a way to guarantee that the right umask is used in all circumstances?
  • Jump to post
by Guinpen
Thu Jul 09, 2009 8:21 am
Forum: Other Things Gentoo
Topic: [SOLVED] Different umask for a certain user - how?
Replies: 7
Views: 4261

[SOLVED] Different umask for a certain user - how?

Hello,

I would like to keep the default global umask, but modify it for a given user, no matter how that user logs in (console, X terminal, ssh). How would I do that?

Thanks!
  • Jump to post

Search found 389 matches
  • Page 1 of 16
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 16
  • Next

Go to advanced search

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy