Re: /proc on /proc ?

2024-10-17 Thread Andy Smith
ear the end trying to `umount` the > `/tmp/SoMeThInG/proc` mount that it had created. `findmnt` showed me > that it was mounted on itself, as was `/proc`! > > I got it unmounted with `--lazy`. > > I'm guessing that the Xen script was merely copying what it saw; the quest

/proc on /proc ?

2024-10-16 Thread Mike
I was running `xen-create-image` when it failed near the end trying to `umount` the `/tmp/SoMeThInG/proc` mount that it had created. `findmnt` showed me that it was mounted on itself, as was `/proc`! I got it unmounted with `--lazy`. I'm guessing that the Xen script was merely copying wh

Re: sudo echo 1 > /proc/sys/net/ipv4/ip_forward [was: How to run automatically a script as soon root login]

2024-05-14 Thread tomas
On Tue, May 14, 2024 at 04:54:26PM +0800, Bret Busby wrote: > > Wasn't sudo echo the name of a pop group? > > :) If it wasn't it should've been one. Cheers -- t signature.asc Description: PGP signature

Re: sudo echo 1 > /proc/sys/net/ipv4/ip_forward [was: How to run automatically a script as soon root login]

2024-05-14 Thread Bret Busby
Wasn't sudo echo the name of a pop group? :) Bret Busby Armadale Western Australia (UTC+0800) .

Re: sudo echo 1 > /proc/sys/net/ipv4/ip_forward [was: How to run automatically a script as soon root login]

2024-05-13 Thread tomas
On Mon, May 13, 2024 at 08:37:16PM +0200, Erwan David wrote: > Le 13/05/2024 à 19:45, Stefan Monnier a écrit : [...] > > % sudo zsh -l > > # echo 1 > /proc/sys/net/ipv4/ip_forward > > # ^D > > logout > > % > > > > 🙂 &

Re: sudo echo 1 > /proc/sys/net/ipv4/ip_forward [was: How to run automatically a script as soon root login]

2024-05-13 Thread Erwan David
Le 13/05/2024 à 19:45, Stefan Monnier a écrit : $ su - Password: # echo 1 > /proc/sys/net/ipv4/ip_forward # ^D logout $ I don't need no stinkin' sudo :-) And if you only have `sudo`, but not the root password, of course: % sudo zsh -l # echo 1 > /proc/sys/net

Re: sudo echo 1 > /proc/sys/net/ipv4/ip_forward [was: How to run automatically a script as soon root login]

2024-05-13 Thread tomas
On Mon, May 13, 2024 at 01:45:40PM -0400, Stefan Monnier wrote: > > $ su - > > Password: > > # echo 1 > /proc/sys/net/ipv4/ip_forward > > # ^D > > logout > > $ > > > > I don't need no stinkin' sudo :-) > > And if you only have `

Re: sudo echo 1 > /proc/sys/net/ipv4/ip_forward [was: How to run automatically a script as soon root login]

2024-05-13 Thread Stefan Monnier
> $ su - > Password: > # echo 1 > /proc/sys/net/ipv4/ip_forward > # ^D > logout > $ > > I don't need no stinkin' sudo :-) And if you only have `sudo`, but not the root password, of course: % sudo zsh -l # echo 1 > /proc/sys/net/ipv4/

Re: sudo echo 1 > /proc/sys/net/ipv4/ip_forward [was: How to run automatically a script as soon root login]

2024-05-13 Thread Christian Groessler
On 5/13/24 18:52, to...@tuxteam.de wrote: Now share your ideas :-) $ su - Password: # echo 1 > /proc/sys/net/ipv4/ip_forward # ^D logout $ I don't need no stinkin' sudo :-) regards, chris

sudo echo 1 > /proc/sys/net/ipv4/ip_forward [was: How to run automatically a script as soon root login]

2024-05-13 Thread tomas
Since this happens so often, I'm trying to offer a recap. As others have noted, the above sudo echo 1 > /proc/sys/net/ipv4/ip_forward won't work, since it runs echo under sudo, but the file opening (that pesky ">") happens in your shell, which is probably running unp

Re: Description of "files" under /proc

2019-01-10 Thread Richard Owlett
On 01/10/2019 06:07 AM, Reco wrote: Hi. On Thu, Jan 10, 2019 at 05:54:45AM -0600, Richard Owlett wrote: Is there somewhere that catalogs the function of the various "files" under that directory? What are the functions of the sub-directories with a numeric name? Choose an

Re: Description of "files" under /proc

2019-01-10 Thread Reco
Hi. On Thu, Jan 10, 2019 at 05:54:45AM -0600, Richard Owlett wrote: > Is there somewhere that catalogs the function of the various "files" under > that directory? What are the functions of the sub-directories with a numeric > name? Choose any: proc(5). filesystems/p

Description of "files" under /proc

2019-01-10 Thread Richard Owlett
In another forum there was a discussion comparing execution times of some different programs accomplishing the same task. The programs were being run on different machines. As part of the discussion the use of "grep MHz /proc/cpuinfo" was suggested. That prompted me to investigate

Re: Question about /proc/loadavg

2018-08-02 Thread Martin Drescher
Hi Andy, Am 02.08.2018 um 13:01 schrieb Andy Smith: > Hi Martin, > > On Tue, Jul 31, 2018 at 09:31:42AM +0200, Martin Drescher wrote: [...] >> 4.9. It is not a real problem, that Debian is running well. > > It is likely that the kernel's idea of what is a "runnable" process > has changed since t

Re: Question about /proc/loadavg

2018-08-02 Thread Andy Smith
where migrated to a Debian 9 with a kernel version 4.9, also all > patches applied. What I see is a tremendous difference in > /proc/loadavg. It is like 3 ~ 4 in kernel 2.6 and like 15 ~ 20 in > 4.9. It is not a real problem, that Debian is running well. It is likely that the kernel

Re: Question about /proc/loadavg

2018-07-31 Thread Martin Drescher
[...] > Hi Martin, > > can you show real data from /proc/loadavg output? Which column do you > compare? I' talking about the 1/5/15 minute numbers. > I wouldn't worry about difference in /proc/loadavg because everything is > different between RHEL/CentOS 6 and Debia

Re: Question about /proc/loadavg

2018-07-31 Thread Georgi Naplatanov
On 07/31/2018 10:31 AM, Martin Drescher wrote: > Hi ML members, > > I have a question about how the numbers compute which I get from > /proc/loadavg. > I'm running a bunch of HTTP servers, most of them running a RHEL 6, which is > a kernel version 2.6. All patches applie

Question about /proc/loadavg

2018-07-31 Thread Martin Drescher
Hi ML members, I have a question about how the numbers compute which I get from /proc/loadavg. I'm running a bunch of HTTP servers, most of them running a RHEL 6, which is a kernel version 2.6. All patches applied, so that Meltdown and Spectre stuff should be included. Some of the servers

Re: '/proc/sys/kernel/core_pattern': Permission denied

2017-10-05 Thread Sven Joachim
t;core" as root (no sudo). > > root:~# sysctl -w kernel.core_pattern=core > sysctl: permission denied on key 'kernel.core_pattern' > > > root:~# echo "core" > /proc/sys/kernel/core_pattern > bash: /proc/sys/kernel/core_pattern: Permission denied > > root:~#

'/proc/sys/kernel/core_pattern': Permission denied

2017-10-04 Thread Uwe Mintermann
rnel.core_pattern' root:~# echo "core" > /proc/sys/kernel/core_pattern bash: /proc/sys/kernel/core_pattern: Permission denied root:~# rm /proc/sys/kernel/core_pattern rm: cannot remove '/proc/sys/kernel/core_pattern': Permission denied Whats wrong? I have no acc

Re: lynis & adding hidepid to /proc?

2017-09-30 Thread Dan Ritter
On Sat, Sep 30, 2017 at 04:53:23PM -, miz...@elude.in wrote: > selinux & grc do that automatically. > lynis give 'suggestion' & tweaking without know what you do , break the > security/anonymity/privacy. Lynis is a security auditing tool. Are you complaining about Debian's default policy, or a

lynis & adding hidepid to /proc?

2017-09-30 Thread mizett
selinux & grc do that automatically. lynis give 'suggestion' & tweaking without know what you do , break the security/anonymity/privacy.

Re: System hardening: adding hidepid to /proc?

2017-09-30 Thread Reco
Hi. On Thu, Sep 28, 2017 at 10:22:10AM +0200, Brent Clark wrote: > Good day Guys > > I came across this document: > > https://linux-audit.com/linux-system-hardening-adding-hidepid-to-proc/ > > The idea is to increase security by hiding the display of running &

System hardening: adding hidepid to /proc?

2017-09-28 Thread Brent Clark
Good day Guys I came across this document: https://linux-audit.com/linux-system-hardening-adding-hidepid-to-proc/ The idea is to increase security by hiding the display of running processes, and their arguments, which belong to other users. This helps avoid problems if users enter passwords on

Question on /proc/acpi/wakeup

2017-02-13 Thread solitone
Wakeup capable devices are listed in /proc/acpi/wakeup. For example, in my sytem I've got: ~ solitone@alan:~$ cat /proc/acpi/wakeup Device S-state Status Sysfs node PEG0 S3*disabled ECS4*disabled platform:PNP0C09:00

Re: empty /proc

2016-04-30 Thread Sven Joachim
On 2016-04-30 10:06 -0400, Haines Brown wrote: > I did a cross install of Jessie from Wheezy. What does "cross install" mean? > When the system is booted, > there is a symlink from /etc/mtab to /proc/mounts, but /proc is empty or > not mounted. This has some conseque

empty /proc

2016-04-30 Thread Haines Brown
I did a cross install of Jessie from Wheezy. When the system is booted, there is a symlink from /etc/mtab to /proc/mounts, but /proc is empty or not mounted. This has some consequences. I mount proc: # mount /proc Now mount displays what is mounted, and proc is mounted. mount: /proc: mount

Re: Fixing /proc/mtab

2013-03-08 Thread David
On 08/03/2013, David wrote: > On 08/03/2013, Maroš Žilka wrote: >> >> when we list mounts with mount it shows is it but when we want to >> umount it says path (dir) not found or doesnt exist. > > I would try, instead of mount, run > cat /proc/mounts > to s

Re: Fixing /proc/mtab

2013-03-08 Thread Darac Marjal
ays path (dir) not found or doesnt exist. > > we tried to recreate test and then mount/umount it but that just > created new entry and after umounting original mount was still listed > by mount. > > If I am right mount reads info from /etc/mtab which is linked to /proc/mtab &g

Re: Fixing /proc/mtab

2013-03-08 Thread David
On 08/03/2013, Maroš Žilka wrote: > > when we list mounts with mount it shows is it but when we want to > umount it says path (dir) not found or doesnt exist. I would try, instead of mount, run cat /proc/mounts to see what is mounted. Then umount anything you see there that is relat

Re: Fixing /proc/mtab

2013-03-08 Thread David Sastre Medina
to recreate test and then mount/umount it but that just > created new entry and after umounting original mount was still listed > by mount. > If I am right mount reads info from /etc/mtab which is linked to /proc/mtab > is there any way to flush/clear/update /proc/mtab ? Its important to

Fixing /proc/mtab

2013-03-08 Thread Maroš Žilka
If I am right mount reads info from /etc/mtab which is linked to /proc/mtab is there any way to flush/clear/update /proc/mtab ? Its important to keep server running... Sorry for long post and thanks for any ideas :) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subje

Re: OT: What is the meaning of /proc/$PID/fd/* files?

2013-02-19 Thread Jochen Spieker
Matej Kosik: > > I am trying to figure out the meaning of: > > /proc/$PID/fd/* > > files. These files represent the open files of a process. On recent systems you can even see the associated "real" files, if any: # ls -l /proc/6373/fd total 0 lr-x-- 1

Re: OT: What is the meaning of /proc/$PID/fd/* files?

2013-02-19 Thread Joao Luis Meloni Assirati
> I am trying to figure out the meaning of: > > /proc/$PID/fd/* > > files. These are links that point to the open files of the process whose pid is $PID. Fd stands for "file descriptors", which is an integer that identifies any program input or output in UNIX-like

OT: What is the meaning of /proc/$PID/fd/* files?

2013-02-19 Thread Matej Kosik
Hello, I am trying to figure out the meaning of: /proc/$PID/fd/* files. As: - their name suggests - as most of the descriptions on the web around indicate - and consistently with wishful thinking I thought that writing to /proc/$PID/0 would mean that designated process will receive

nfs shares have trailing slash in /proc/mounts

2012-04-23 Thread laurent+debian
Hi, I've also been hit by this bug. (using wheezy as well) >From what I've seen, it only adds a trailing slash when mounting with the nfsvers=3 (or =2) option. If you can confirm this behavior then I see no reason not to call it a bug ! :-) -- Laurent -- To UNSUBSCRIBE, email to debian-user

nfs shares have trailing slash in /proc/mounts

2012-04-16 Thread Chris Hiestand
I just upgraded from Squeeze to Wheezy and noticed that now NFS exports have an extra trailing slash in /proc/mounts (aka /etc/mtab, aka /proc/self/mounts). > server:/vol/export1/ on /server/mountpath type nfs (rw,nosuid,nodev,noatime…) But the trailing slash is not originated in /etc/fs

Re: Fetching path from ps-or-proc.

2012-04-16 Thread Camaleón
On Mon, 16 Apr 2012 01:47:12 +0700, Sthu Deus wrote: (...) > My questions are: > > . why only one char. is represented w/ '?' - and not all of them? It can be a single accented "á" (or another special character) which fails to render properly. > . I use utf-8 env. how I can fetch the path usin

Fetching path from ps-or-proc.

2012-04-15 Thread Sthu Deus
Good time of the day. Please help me to fix my problem. I will start w/ its description. I need to fetch a file path. I can do so by: . ps -AHf | grep [...] (as it is visible from command parameters) . cat /proc/n/cmdline (same command arguments) Problem is that as the path contains UTF-8

Re: cannot access `./proc/6535/task/6535/fd/4

2011-12-24 Thread Bob Proulx
lina wrote: > du: cannot access `./proc/6535/task/6535/fd/4': No such file or directory > du: cannot access `./proc/6535/task/6535/fdinfo/4': No such file or directory > du: cannot access `./proc/6535/fd/4': No such file or directory > du: cannot access `./proc/6535

Re: cannot access `./proc/6535/task/6535/fd/4

2011-12-24 Thread lina
On Sun, Dec 25, 2011 at 1:00 AM, Vincent Lefevre wrote: > On 2011-12-25 00:44:51 +0800, lina wrote: >> On Sun, Dec 25, 2011 at 12:42 AM, lina wrote: >> > du: cannot access `./proc/6535/task/6535/fd/4': No such file or directory >> > du: cannot access `./proc/6

Re: cannot access `./proc/6535/task/6535/fd/4

2011-12-24 Thread Vincent Lefevre
On 2011-12-25 00:44:51 +0800, lina wrote: > On Sun, Dec 25, 2011 at 12:42 AM, lina wrote: > > du: cannot access `./proc/6535/task/6535/fd/4': No such file or directory > > du: cannot access `./proc/6535/task/6535/fdinfo/4': No such file or > > directory > >

Re: cannot access `./proc/6535/task/6535/fd/4

2011-12-24 Thread Vincent Lefevre
On 2011-12-25 00:42:25 +0800, lina wrote: > du: cannot access `./proc/6535/task/6535/fd/4': No such file or directory > du: cannot access `./proc/6535/task/6535/fdinfo/4': No such file or directory > du: cannot access `./proc/6535/fd/4': No such file or directory > du:

Re: cannot access `./proc/6535/task/6535/fd/4

2011-12-24 Thread lina
On Sun, Dec 25, 2011 at 12:42 AM, lina wrote: > du: cannot access `./proc/6535/task/6535/fd/4': No such file or directory > du: cannot access `./proc/6535/task/6535/fdinfo/4': No such file or directory > du: cannot access `./proc/6535/fd/4': No such file or directory >

cannot access `./proc/6535/task/6535/fd/4

2011-12-24 Thread lina
du: cannot access `./proc/6535/task/6535/fd/4': No such file or directory du: cannot access `./proc/6535/task/6535/fdinfo/4': No such file or directory du: cannot access `./proc/6535/fd/4': No such file or directory du: cannot access `./proc/6535/fdinfo/4': No such file or dire

Re: /proc/acpi/video

2011-10-30 Thread Camaleón
On Sun, 30 Oct 2011 17:38:41 +0200, Volkan YAZICI wrote: > On Sat, 29 Oct 2011 20:31:03 + (UTC), Camaleón writes: >> What's the output of "ls -l /sys/class/backlight"? >> >> If I follow the instructions of the section named "The /sys/class/ >> backlight interface" I can indeed see and set the

Re: /proc/acpi/video

2011-10-30 Thread Volkan YAZICI
On Sat, 29 Oct 2011 20:31:03 + (UTC), Camaleón writes: > What's the output of "ls -l /sys/class/backlight"? > > If I follow the instructions of the section named "The /sys/class/ > backlight interface" I can indeed see and set the backlight values as > stated. For instance, to put the backligh

Re: /proc/acpi/video

2011-10-29 Thread Camaleón
On Sat, 29 Oct 2011 21:43:23 +0300, Volkan YAZICI wrote: > On Sat, 29 Oct 2011 15:01:12 + (UTC), Camaleón writes: >> I'm running a Debian stock kernel (3.0.0-1) and neither have that entry >> under "/proc/acpi" but can control the brigthness of my netbook eit

Re: /proc/acpi/video

2011-10-29 Thread Volkan YAZICI
On Sat, 29 Oct 2011 15:01:12 + (UTC), Camaleón writes: > I'm running a Debian stock kernel (3.0.0-1) and neither have that entry > under "/proc/acpi" but can control the brigthness of my netbook either > from GNOME or using the hotkeys. > > Maybe this Ubuntu

Re: /proc/acpi/video

2011-10-29 Thread Camaleón
On Sat, 29 Oct 2011 14:19:43 +0300, Volkan YAZICI wrote: > I'm using a custom built vanilla Linux kernel of version 3.0.0. Despite > I loaded every available ACPI related module, I still cannot see any > "video" folder under /proc/acpi directory, hence I cannot alter d

/proc/acpi/video

2011-10-29 Thread Volkan YAZICI
Hello, I'm using a custom built vanilla Linux kernel of version 3.0.0. Despite I loaded every available ACPI related module, I still cannot see any "video" folder under /proc/acpi directory, hence I cannot alter display brigthness, etc. Any ideas? What might I be missing?

[Proc] wierd behavior of /proc

2011-10-12 Thread Jeremy MAURO
Hi everyone, Quick question for all of you: Here is the weird behavior: -- [root@]:~ # ls -al /proc/2574* ls: cannot access /proc/2574*: No such file or directory [root@]:~ # ls -ald /proc/25740 dr-xr-xr-x 7 mysql mysql 0 Oct 12 10:40 /proc/25740 [root@]:~ # cd /proc/25740 [root

Re: PCI-MSI-edge in /proc/interrupts

2011-08-08 Thread Henrique de Moraes Holschuh
On Mon, 08 Aug 2011, Camaleón wrote: > On Mon, 08 Aug 2011 17:57:49 +0900, J.Hwan Kim wrote: > > When I read /proc/interrupts, it displays interrupt type of my ethernet > > card with "PCI-MSI-edge". > > Mmm, I get two modes for each of my ethernet devices: >

Re: PCI-MSI-edge in /proc/interrupts

2011-08-08 Thread Henrique de Moraes Holschuh
On Mon, 08 Aug 2011, J.Hwan Kim wrote: > ethernet card with "PCI-MSI-edge". > Does it mean MSI-X interrupt or MSI interrupt? It could be either. Use lspci -vvv as root to check whether MSI or MSI-X is active on the device. -- "One disk to rule them all, One disk to find them. One disk to brin

Re: PCI-MSI-edge in /proc/interrupts

2011-08-08 Thread Camaleón
On Mon, 08 Aug 2011 17:57:49 +0900, J.Hwan Kim wrote: > When I read /proc/interrupts, it displays interrupt type of my ethernet > card with "PCI-MSI-edge". Mmm, I get two modes for each of my ethernet devices: sm01@stt008:~$ grep -i eth /proc/interrupts 20: 1

PCI-MSI-edge in /proc/interrupts

2011-08-08 Thread J.Hwan Kim
Hi, everyone When I read /proc/interrupts, it displays interrupt type of my ethernet card with "PCI-MSI-edge". Does it mean MSI-X interrupt or MSI interrupt? I set to my ethernet driver operates with MSI-X interrupt. Thanks in advance. Best Regards, J.Hwan Kim -- To UNSUBSCRIBE

Re: Strange behaviour of files in /proc Explanation??

2011-01-29 Thread Camaleón
On Thu, 27 Jan 2011 17:43:37 +, Lisi wrote: > On my main desktop running Lenny and KDE 3.5.10, I can open files in > /proc with cat, vi or OOo. I can open them neither with KWord nor with > KWrite, neither of which can even see them. > > Can anyone explain this?? Hum... may

Re: Strange behaviour of files in /proc Explanation??

2011-01-27 Thread Lisi
unning Lenny and KDE 3.5.10, I can open files in > > > > /proc with cat, vi or OOo. I can open them neither with KWord nor > > > > with KWrite, neither of which can even see them. > > > > > > > > Can anyone explain this?? > > > > >

Re: Strange behaviour of files in /proc Explanation??

2011-01-27 Thread Dr. Ed Morbius
on 00:56 Fri 28 Jan, Lisi (lisi.re...@gmail.com) wrote: > On Thursday 27 January 2011 19:41:06 Dr. Ed Morbius wrote: > > on 17:43 Thu 27 Jan, Lisi (lisi.re...@gmail.com) wrote: > > > On my main desktop running Lenny and KDE 3.5.10, I can open files in > > > /proc with

Re: Strange behaviour of files in /proc Explanation??

2011-01-27 Thread Lisi
On Thursday 27 January 2011 19:41:06 Dr. Ed Morbius wrote: > on 17:43 Thu 27 Jan, Lisi (lisi.re...@gmail.com) wrote: > > On my main desktop running Lenny and KDE 3.5.10, I can open files in > > /proc with cat, vi or OOo. I can open them neither with KWord nor with > > KWrite,

Re: Strange behaviour of files in /proc Explanation??

2011-01-27 Thread Dr. Ed Morbius
on 17:43 Thu 27 Jan, Lisi (lisi.re...@gmail.com) wrote: > On my main desktop running Lenny and KDE 3.5.10, I can open files in /proc > with cat, vi or OOo. I can open them neither with KWord nor with KWrite, > neither of which can even see them. > > Can anyone explain this?? Th

Strange behaviour of files in /proc Explanation??

2011-01-27 Thread Lisi
On my main desktop running Lenny and KDE 3.5.10, I can open files in /proc with cat, vi or OOo. I can open them neither with KWord nor with KWrite, neither of which can even see them. Can anyone explain this?? Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a

'Mounting local filesystems... failed.' when /etc/mtab is a symlink to /proc/mounts.

2010-07-12 Thread higeon
Hi,all I want make a readonly ROOT following the guide http://wiki.debian.org/ReadonlyRoot /etc/mtab is a symlink to /proc/mounts. and the udev-mtab is disabled. But I got the error when boot: 'Mounting local filesystems... failed.' Where is the problem? Thank you! OS: debian 5.04 lenny x86

Re: what populates /proc/acpi/fan?

2010-03-31 Thread Sjoerd Hardeman
Camaleón schreef: On Tue, 30 Mar 2010 15:04:08 -0400, kamaraju kusumanchi wrote: On a Dell Precision T7400 machine running Debian Lenny (stable) with 2.6.26-2-amd64 kernel, I find that /proc/acpi/fan directory is empty. Is there any package to install, module to load to populate this directory

Re: what populates /proc/acpi/fan?

2010-03-31 Thread Camaleón
On Tue, 30 Mar 2010 15:04:08 -0400, kamaraju kusumanchi wrote: > On a Dell Precision T7400 machine running Debian Lenny (stable) with > 2.6.26-2-amd64 kernel, I find that /proc/acpi/fan directory is empty. Is > there any package to install, module to load to populate this directory?

Re: what populates /proc/acpi/fan?

2010-03-30 Thread Ron Johnson
On 2010-03-30 14:04, kamaraju kusumanchi wrote: On a Dell Precision T7400 machine running Debian Lenny (stable) with 2.6.26-2-amd64 kernel, I find that /proc/acpi/fan directory is empty. Is there any package to install, module to load to populate this directory? [snip] However, if I reboot

what populates /proc/acpi/fan?

2010-03-30 Thread kamaraju kusumanchi
On a Dell Precision T7400 machine running Debian Lenny (stable) with 2.6.26-2-amd64 kernel, I find that /proc/acpi/fan directory is empty. Is there any package to install, module to load to populate this directory? The actual problem is like this: Initially when the machine is rebooted it is

Re: Permission denied when tweaking various /proc knobs (Lenny)

2009-12-08 Thread Brian Ryans
Thanks, I wasn't paying attention to the 'bash' part, only to the 'permission denied' part. :> PEBKAC on my part. -- _ ASCII Ribbon Campaign Against ( ) Brian Ryans HTML E-mail and V-cards Xbrianlry...@gmail.com www.asciiribbon.org

Re: Permission denied when tweaking various /proc knobs (Lenny)

2009-12-08 Thread Sven Joachim
On 2009-12-06 06:22 +0100, Brian Ryans wrote: > I am attempting to adjust brightness via '/proc/acpi/ibm/brightness', > but I get permission denied if I do it via sudo -- I have to su to root > in order to do the adjustments. Log at [1]. > > [1] > bry...@esterhazy:~$ s

Re: Permission denied when tweaking various /proc knobs (Lenny)

2009-12-08 Thread Sascha Silbe
On Sat, Dec 05, 2009 at 11:22:37PM -0600, Brian Ryans wrote: bry...@esterhazy:~$ sudo echo up > /proc/acpi/ibm/brightness bash: /proc/acpi/ibm/brightness: Permission denied The redirection is set up by the current shell, i.e. with non-elevated privileges. Try this instead: sudo sh -c &#

Permission denied when tweaking various /proc knobs (Lenny)

2009-12-08 Thread Brian Ryans
I am attempting to adjust brightness via '/proc/acpi/ibm/brightness', but I get permission denied if I do it via sudo -- I have to su to root in order to do the adjustments. Log at [1]. [1] bry...@esterhazy:~$ sudo echo up > /proc/acpi/ibm/brightness bash: /proc/acpi/ibm/brightnes

Re: /proc can be navigated to as ordinary user -- not as root!?

2009-10-28 Thread Aioanei Rares
can easily navigate into / proc (both with Nautilus and Gnome-Commander). When I try to run these browsers with gksu or su, however, they never let me into /proc -- if I try to enter there, they just stop responding. Ideas, anyone

Re: /proc can be navigated to as ordinary user -- not as root!?

2009-10-28 Thread Klistvud
nning a fully updated Lenny with Gnome) I can easily navigate > > into / > > > proc (both with Nautilus and Gnome-Commander). When I try to run > > these > > > browsers with gksu or su, however, they never let me into /proc > -- > > if I > > > try to

Re: /proc can be navigated to as ordinary user -- not as root!?

2009-10-28 Thread Klistvud
Dne, 28. 10. 2009 15:12:42 je Aioanei Rares napisal(a): > Klistvud wrote: > > Howdy, fellow Debianites, > > > > I have bumped into a most peculiar situation lately. On my laptop > > (running a fully updated Lenny with Gnome) I can easily navigate > into / > >

Re: /proc can be navigated to as ordinary user -- not as root!?

2009-10-28 Thread Aioanei Rares
Klistvud wrote: Howdy, fellow Debianites, I have bumped into a most peculiar situation lately. On my laptop (running a fully updated Lenny with Gnome) I can easily navigate into / proc (both with Nautilus and Gnome-Commander). When I try to run these browsers with gksu or su, however, they

Can't modify /proc/acpi/thermal_zone/TZ1/trip_points

2009-10-28 Thread Klistvud
Howdie, fellow Debianites! A recent thread here about an overheating notebook gave me the idea to try and slightly adjust the thermal trip points on my notebook; however, the trick of simply echoing a string to /proc/acpi/ thermal_zone/TZ1/trip_points, as suggested by many internet howtos from

/proc can be navigated to as ordinary user -- not as root!?

2009-10-28 Thread Klistvud
Howdy, fellow Debianites, I have bumped into a most peculiar situation lately. On my laptop (running a fully updated Lenny with Gnome) I can easily navigate into / proc (both with Nautilus and Gnome-Commander). When I try to run these browsers with gksu or su, however, they never let me into

Re: cp(1) fails to copy file from /proc

2009-04-15 Thread Sven Joachim
On 2009-04-15 18:07 +0200, Jukka Salmi wrote: > I'm not sure wheter this is a bug or a feature... However, I just noticed > that cp(1) fails to copy /proc/cpuinfo to the file system (tested on i686 and > x86_64 lenny systems): > > $ wc -l /proc/cpuinfo 200 /proc/cpuinfo >

cp(1) fails to copy file from /proc

2009-04-15 Thread Jukka Salmi
Hello, I'm not sure wheter this is a bug or a feature... However, I just noticed that cp(1) fails to copy /proc/cpuinfo to the file system (tested on i686 and x86_64 lenny systems): $ wc -l /proc/cpuinfo 200 /proc/cpuinfo $ cp /proc/cpuinfo /tmp $ echo $? 0 $ wc -l /tmp/cpuinfo 125 /tmp/cp

fancontrol - empty /proc/acpi/fan

2009-02-23 Thread Svend Runge Nielsen
am found the sensors nicely and 'pwmconfig' seemed to control the fans ok. Everything looked fine, but fancontrol didn't work (and still doesn't). Then I found that /proc/acpi/fan/ was empty (modules 'thermal' and 'fan' were loaded). Any suggestions? - I su

Re: programs using the /proc interface are broken.

2008-08-20 Thread Chris Bannister
On Tue, Aug 19, 2008 at 11:29:02AM +0200, Sven Joachim wrote: > On 2008-08-19 10:39 +0200, Chris Bannister wrote: > > > Hi, > > > > It looks like any programs using the /proc interface are now broken, at > > least with the later kernels. > > No, only those

Re: programs using the /proc interface are broken.

2008-08-19 Thread Hugo Vanwoerkom
Sven Joachim wrote: On 2008-08-19 10:39 +0200, Chris Bannister wrote: Hi, It looks like any programs using the /proc interface are now broken, at least with the later kernels. No, only those that read /proc/acpi/battery. That directory does not exist in current Debian kernels because of

Re: programs using the /proc interface are broken.

2008-08-19 Thread Ron Johnson
On 08/19/08 04:29, Sven Joachim wrote: On 2008-08-19 10:39 +0200, Chris Bannister wrote: Hi, It looks like any programs using the /proc interface are now broken, at least with the later kernels. No, only those that read /proc/acpi/battery. That directory does not exist in current Debian

Re: programs using the /proc interface are broken.

2008-08-19 Thread Sven Joachim
On 2008-08-19 10:39 +0200, Chris Bannister wrote: > Hi, > > It looks like any programs using the /proc interface are now broken, at > least with the later kernels. No, only those that read /proc/acpi/battery. That directory does not exist in current Debian kernels because of

programs using the /proc interface are broken.

2008-08-19 Thread Chris Bannister
Hi, It looks like any programs using the /proc interface are now broken, at least with the later kernels. [EMAIL PROTECTED]:~# uname -a Linux box 2.6.25-2-686 #1 SMP Fri Jul 18 17:46:56 UTC 2008 i686 GNU/Linux Compare: [EMAIL PROTECTED]:~# acpi -b Battery 0: Charging, 100%, until charged

Debian Live / lh_build error mounting /proc

2007-12-23 Thread Matthew K Poer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When attempting to run sudo lh_config && lh_build I am eventually given error messages saying something about not being able to mount /proc: P: Begin caching chroot stage... P: Begin mounting /proc... E: lh_chroot_proc missing There is a

Re: How can I know whether is Intel Core 2 CPU with EM64T extension? cat /proc/cpuinfo don't show this

2007-12-23 Thread Manuel CISSE
Hi, On Sun, 2007-12-23 at 11:21 +, Paul Csanyi wrote: > > How can I know whether is Intel Core 2 CPU with EM64T extension? > > Well this was a stupid question, sorry! > > The answer can be find with Google, and yes, > Intel Core 2 CPU is with EM64T extension. /proc

Re: How can I know whether is Intel Core 2 CPU with EM64T extension? cat /proc/cpuinfo don't show this

2007-12-23 Thread Paul Csanyi
Sun, 23 Dec 2007 11:33:43 +0100 keltezéssel Paul Csanyi azt írta: > Hello! > > I red on the web page http://www.debian.org/ports/amd64/ that: > "The port consists of a kernel for all AMD 64bit CPUs > with AMD64 extension and all Intel CPUs with EM64T > extension, .." > > Before I go to download

Re: How can I know whether is Intel Core 2 CPU with EM64T extension? cat /proc/cpuinfo don't show this

2007-12-23 Thread Micha
uot;The port consists of a kernel for all AMD 64bit CPUs > with AMD64 extension and all Intel CPUs with EM64T > extension, .." > > Before I go to download and install amd64 Debian distribution, > I whish to know that my Intel(R) Core(TM)2 CPU is with > EM64T e

How can I know whether is Intel Core 2 CPU with EM64T extension? cat /proc/cpuinfo don't show this

2007-12-23 Thread Paul Csanyi
Core(TM)2 CPU is with EM64T extension. cat /proc/cpuinfo don't show this feature: > processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz stepping: 6 cpu MHz

Re: export config in proc for the debian kernels

2007-10-14 Thread Florian Kulzer
On Sun, Oct 14, 2007 at 21:11:24 +0530, Bhasker C V wrote: > Hi all, > > I was thinking why not the kernel which is packaged with the debian > can export /proc/config.gz so that the config can be used to setup > new kernels by the newbies and learners ? The configs for all

export config in proc for the debian kernels

2007-10-14 Thread Bhasker C V
Hi all, I was thinking why not the kernel which is packaged with the debian can export /proc/config.gz so that the config can be used to setup new kernels by the newbies and learners ? -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, N

Re: /proc/net info ?

2007-09-30 Thread Predrag Gavrilovic
According to http://lartc.org/ chapter 13 you can find more info in Documentation/filesystems/proc.txt of linux kernel documentation, and they also mention http://ipsysctl-tutorial.frozentux.net/ 2007/9/28, chloe K <[EMAIL PROTECTED]>: > Hi all > > How can I find out all info

Re: /proc/net info ?

2007-09-28 Thread Wayne Topa
chloe K([EMAIL PROTECTED]) is reported to have said: > Hi all > > How can I find out all info about /proc/net ? > > eg: rt_cache and softnet_stat are for what purpose > > Thank you > > - > Be smarter than spam. See ho

/proc/net info ?

2007-09-28 Thread chloe K
Hi all How can I find out all info about /proc/net ? eg: rt_cache and softnet_stat are for what purpose Thank you - Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail

/proc/scsi is missing

2007-06-28 Thread Bill
Hi folks, I'm trying to set up usb devices on 2.6.21.5 but for some reason /proc/scsi is missing. I've enabled -scsi device support, -legacy /proc/scsi support, -scsi disk support, and scsi generic support in the kernel. There is no scsi controller in hw but scsi is needed for usb. I

Reading /proc/kmsg as a Unprivileged User

2007-05-01 Thread Matt Miller
This is my problem: [EMAIL PROTECTED]:~$ ls -l /proc/kmsg -r-r-- 1 root root 0 2007-05-01 07:38 /proc/kmsg [EMAIL PROTECTED]:~$ cat /proc/kmsg cat: /proc/kmsg: Operation not permitted In other words, now matter how I try to set permissions on /proc/kmsg, I can't read from it unless I&#

Re: Etch 32-bit system w/ AMD64 proc.

2007-05-01 Thread [EMAIL PROTECTED]
. If you use > the -k7 kernel it will build, but you lose some of the special features > of the processor, not sure which but you can compare the output of 'cat > /proc/cpuinfo' on both kernels and google for any differences. > > I compile my own kernel and select the K

Re: Etch 32-bit system w/ AMD64 proc.

2007-05-01 Thread Wackojacko
of the special features of the processor, not sure which but you can compare the output of 'cat /proc/cpuinfo' on both kernels and google for any differences. I compile my own kernel and select the K8 processor type, but this does not change the architecture of the kernel so the module buil

Re: Etch 32-bit system w/ AMD64 proc.

2007-05-01 Thread [EMAIL PROTECTED]
On Sun, 29 Apr 2007 04:58:17 -0700 "Michael M." <[EMAIL PROTECTED]> wrote: > On Fri, 2007-04-27 at 12:40 -0700, Bill Thompson wrote: > > On Fri, 27 Apr 2007 21:13:23 +0200 > > Andreas Janssen <[EMAIL PROTECTED]> wrote: > > > > > Etch/i386 also comes with an AMD64 kernel package. It should run fin

  1   2   3   4   >