Re: Yum is updating /etc/shadow?

2012-01-12 Thread Ed Greshko
On 01/12/2012 01:56 PM, g wrote:
 On 01/12/2012 02:40 AM, Ed Greshko wrote:
 

 I saw the same message just now  But no /etc/shadow.rpmnew was
 created and the /etc/shadow file was not touched.
 -=-

 where you updating same package?

 could be you two have found a bug with yum/rpm.


As indicated by the OP, the package being updated was setup. 

Based on what Frank has just stated, I think he concurs.

I'll probably just file this as interesting.

-- 
A common mistake that people make when trying to design something
completely foolproof was to underestimate the ingenuity of complete
fools. -- Douglas Adams in Mostly Harmless



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Yum is updating /etc/shadow?

2012-01-12 Thread Marko Vojinovic
On Thursday 12 January 2012 05:53:42 g wrote:
 if you compare /etc/shadow to /etc/shadow.rpmnew when it is there,
 you will see that yum/rpm has added a program's name to /etc/shadow
 when yum/rpm adds a new program that needs to be assigned an id.
 
 this also happens to /etc/group, /etc/gshadow, and /etc/passwd.
 
 why /etc/shadow.rpmnew was removed is hard to answer.

AFAIK, yum/rpm can use the usual method of getting an id for a new program 
(calling useradd or similar), which doesn't involve creating a shadow.rpmnew 
file.

Besides, this would be understandable if there actually were any new programs 
to be assigned an id during an update. But in this case there weren't any, and 
additionally the timestamp on /etc/shadow has not changed since I last created 
a user, so nothing was actually modified.

I am just baffled by the existence of the warning about /etc/shadow.rpmnew, 
which also turns out to not exist at all.

It's not a big deal after the fact, but it just triggered the
this-shouldn't-happen alarm in my head when I saw the warning. Hence the 
question... :-)

Best, :-)
Marko






-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Setting SAMBA's file attribute on Selinux.

2012-01-12 Thread Michael Schwendt
On Wed, 11 Jan 2012 22:19:52 -0500, LGDF (Lucélio) wrote:

 Trying to set extended attributes(samba_share_t ) to shared files on
 SAMBA for selinux to work, I decided to use
 policycoreutils-gui-2.1.4-3.fc16.x86_64 but:
 
 ==
 [Lucelio@MAQ01 ~]$ sudo yum install policycoreutils-gui-2.1.4-3.fc16.x86_64

Normally, you would omit the version-release.arch and run just:

  sudo yum install policycoreutils-gui

 Error: Pacote: policycoreutils-gui-2.1.4-3.fc16.x86_64 (fedora)
Requer: policycoreutils-python = 2.1.4-3.fc16
Instalados: policycoreutils-python-2.1.4-13.fc16.x86_64
 (@updates)
policycoreutils-python = 2.1.4-13.fc16
Disponível: policycoreutils-python-2.1.4-3.fc16.x86_64 (fedora)
policycoreutils-python = 2.1.4-3.fc16
  Você pode tentar usar o parâmetro --skip-broken para contornar o problema
  Você pode tentar executar: rpm -Va --nofiles --nodigest
 [Lucelio@MAQ01 ~]$
 ==
 --skip-broken and rpm didn't work.
 
 Ps. How to select 2.1.4-3fc16 insted of installed 2.1.4-13.fc16?

That's a strange question, because obviously you would need to downgrade
other packages (dependencies!) then.

Install the latest available package:

  sudo yum install policycoreutils-gui

And if that doesn't work, file a bug report.

# sudo yum list policycoreutils-gui
Loaded plugins: langpacks, presto, refresh-packagekit
Available Packages
policycoreutils-gui.x86_64 2.1.4-13.fc16 updates
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Yum is updating /etc/shadow?

2012-01-12 Thread Panu Matilainen

On 01/12/2012 10:28 AM, Marko Vojinovic wrote:

On Thursday 12 January 2012 05:53:42 g wrote:

if you compare /etc/shadow to /etc/shadow.rpmnew when it is there,
you will see that yum/rpm has added a program's name to /etc/shadow
when yum/rpm adds a new program that needs to be assigned an id.

this also happens to /etc/group, /etc/gshadow, and /etc/passwd.

why /etc/shadow.rpmnew was removed is hard to answer.


AFAIK, yum/rpm can use the usual method of getting an id for a new program
(calling useradd or similar), which doesn't involve creating a shadow.rpmnew
file.

Besides, this would be understandable if there actually were any new programs
to be assigned an id during an update. But in this case there weren't any, and
additionally the timestamp on /etc/shadow has not changed since I last created
a user, so nothing was actually modified.

I am just baffled by the existence of the warning about /etc/shadow.rpmnew,
which also turns out to not exist at all.

It's not a big deal after the fact, but it just triggered the
this-shouldn't-happen alarm in my head when I saw the warning. Hence the
question... :-)


Here's what happens to the .rpmnew files from setup:

[pmatilai@localhost ~]$ rpm -q --scripts setup | head -4
postinstall scriptlet (using lua):
for i, name in ipairs({passwd, shadow, group, gshadow}) do
 os.remove(/etc/..name...rpmnew)
end

Been there for some time now too:

* Thu Feb 26 2009 Ondrej Vasik ova...@redhat.com 2.8.1-1
[...]
- added postun section for cleaning of dangerous .rpmnew
  files after updates

- Panu -






Best, :-)
Marko








--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: no internet connection with Fedora16

2012-01-12 Thread Tim
On Wed, 2012-01-11 at 10:13 -0430, Patrick O'Callaghan wrote:
 Note that you also need to configure NM to manage your interface,
 otherwise NM will report it as offline even when it's online

Don't you mean deliberately configure network manager to be NOT managing
an interface that it doesn't actually manage?

If it's currently configured, even if not used, to say that network
manager handles eth0, for example, then if network manager hasn't
brought up eth0, network manager will say that eth0 is down, no matter
what the real status of eth0 is (as network manager's statuses are
notifications of what *it* has done, rather than what the interface's
real status is), and regardless of whether network manager is suppose to
be running or not.

On the other hand, if network manager is configured to not manage eth0,
then any query about its status shouldn't return an answer.

At least, that's been my prior experience with avoiding network manager
on one machine.

-- 
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Printer detection in Fedora

2012-01-12 Thread Tim Waugh
On Fri, 2011-12-16 at 22:09 -0500, fred smith wrote:
 here's the result of lpinfo -l -v on linux mint 12. I see it actually
 identified several ways to access the brother printer. It doesn't,
 however, seem to have figured out that the printer also supports ipp
 (unless maybe I don't know how to interpret this info...), which is the
 way I usually configure it when doing a manual config:

In fact it has identified IPP, using DNS-SD as the discovery mechanism.

Here's the JetDirect interface, discovered using DNS-SD:

   Device: uri = 
 dnssd://Brother%20HL-2070N%20series._pdl-datastream._tcp.local/
   class = network
   info = Brother HL-2070N series
   make-and-model = Brother HL-2070N series
   device-id = MFG:Brother;MDL:HL-2070N series;
   location = 

Here's the LPD interface, discovered using DNS-SD:

   Device: uri = dnssd://Brother%20HL-2070N%20series._printer._tcp.local/
   class = network
   info = Brother HL-2070N series
   make-and-model = Brother HL-2070N series
   device-id = MFG:Brother;MDL:HL-2070N series;
   location = 

This is the IPP interface, discovered using DNS-SD:

   Device: uri = dnssd://Brother%20HL-2070N%20series._ipp._tcp.local/
   class = network
   info = Brother HL-2070N series
   make-and-model = Brother HL-2070N series
   device-id = MFG:Brother;MDL:HL-2070N series;
   location = 

This is the LPD interface, discovered from an SNMP response I would
guess (judging from the fact that it comes with a Device ID and
make-and-model info -- and that the hostname looks weird):

   Device: uri = lpd://BRN_8A1FC9/BINARY_P1
   class = network
   info = Brother HL-2070N series
   make-and-model = Brother HP LaserJet 4050 Series
   device-id = MANUFACTURER:Brother;COMMAND 
 SET:PJL,MLC,PCL,PCLXL;MODEL:HP LaserJet 4050 Series;CLASS:PRINTER;COMMENT:The 
 model name HP LaserJet 4050 Series is used only for compatibility information 
 for HP printer
   location = 

If this discovery is not working for you in Fedora, it is likely that
the default firewall is the reason.  In order to receive DNS-SD
responses you must explicitly enable them using system-config-firewall.
Also: make sure you have the avahi service installed and running.

For SNMP broadcast query responses there is unfortunately no way to
configure the firewall in order to allow these, short of disabling it.

Tim.
*/



signature.asc
Description: This is a digitally signed message part
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Purpose of /etc/passwd- and /etc/shadow- ?

2012-01-12 Thread Dr. Michael J. Chudobiak

On 01/12/2012 12:05 AM, Joachim Backes wrote:

Hi all,

adding a new user with useradd ... will create two additional files
never removed:

/etc/passwd- and /etc/shadow-

Question: are these files only created for backup purposes, or is there
another reason for this?


/etc/passwd is world-readable, and contains the basic account info (id, 
real name, home folder).


/etc/shadow is root-only-readable, and contains the password info.

They are separate to improve security.

They are not backups. Those are the main files for local authentication.

- Mike
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Purpose of /etc/passwd- and /etc/shadow- ?

2012-01-12 Thread Lewis Handy

 adding a new user with useradd ... will create two additional files
 never removed:

 /etc/passwd- and /etc/shadow-

 Question: are these files only created for backup purposes, or is there
 another reason for this?


 Looking at a system I have recently added users to the /ect/passwd- and
/etc/shadow- files are as they were prior to adding the users, so I would
assume that they are created as a backup of the original state before the
useradd procedure is actually committed.

Hopefully someone with better knowledge than me will be able to confirm
this.


Lewis
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Purpose of /etc/passwd- and /etc/shadow- ?

2012-01-12 Thread Reindl Harald


Am 12.01.2012 12:52, schrieb Dr. Michael J. Chudobiak:
 On 01/12/2012 12:05 AM, Joachim Backes wrote:
 Hi all,

 adding a new user with useradd ... will create two additional files
 never removed:

 /etc/passwd- and /etc/shadow-

 Question: are these files only created for backup purposes, or is there
 another reason for this?
 
 /etc/passwd is world-readable, and contains the basic account info (id, real 
 name, home folder).
 
 /etc/shadow is root-only-readable, and contains the password info.
 
 They are separate to improve security.
 They are not backups. Those are the main files for local authentication.

he was speaking about /etc/shadow- and NOT /etc/shadow
and yes i am sure they are backups



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Moodle on Fedora 16

2012-01-12 Thread Ester Muñoz Aparicio

Hello list members!

I'm having a hard time trying to make moodle work on my Fedora 16.

Few days ago I got the greatest news: one of my clients is moving to 
Moodle and that means a lot of work for this year. The Moodle server 
will be in their headquarters and someone will take care of it, so no 
problem there. But I have to move 80 and something courses from another 
CMS to Moodle, and the production server will not be available in a 
while...


I want to setup a local development server to start migrating the 
courses, and also to maintain them and move ready copies of the courses 
to production.


Yesterday I installed moodle from the repositories, together with a 
bunch of dependencies, http and php + php modules.


Then I fought against moodle for the rest of the day as it appears that 
it did not allow me to use any directory to be its data directory. I 
finally solved that this morning with some SElinux magic after few hours 
of reading.


I pointed the browser to localhost/moodle and tada! welcome page. Click 
next. Error, cannot continue, php-zip is missing. I yum search for it, 
and it is not on any repository. I confirmed it does not exist in any 
repo, so well, here I am now.


Questions:
- How can I install php-zip?
I am comfortable on Linux, been using Fedora since it exists, on 3 
different computers at home. I have made my share of administering them 
and they all work so far :-) although I have never installed anything 
from source.
So, what would be the easiest way to install php-zip? Can I get 
somewhere the srpm and build it? Or do I really have to uninstall php 
and install from scratch with enable zip? This last bit scares me.


- Is it possible somehow to make moodle accept as data folder one folder 
in /home? I couldn't make it work. At the moment it resides in 
/var/www/moodledata, but I'd like to move it under /home as this 
partition is much bigger.


I'm sure more things will come up, I'd appreciate any and all the help 
you could offer.


Cheers,
Ester
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


More on date/time format problems

2012-01-12 Thread Robert Moskowitz

WRT my system's date/time display on the top panel changing to 24hr format.

I just finally realized that when I lock my system, the date/time on the 
top panel is in the 24hr format and when I unlock it it switches back to 
the selected AP/PM format.  So what is PROBABLY happening is one time I 
unlock, it does not switch back.


I cannot find any place to set the date/time format for a locked 
system.  When I lock my system (via user panel option of ctl-alt-l) my 
screen goes black (it is still 'on' until screen saver timer turns it 
'off', you can see this with the lights off in the room) it displays a 
top panel with only the date/time and user name.


So is this a bug with the locked panel NOT using the same format as the 
unlocked panel?  Obviously there is an intermitent problem of the system 
loosing track of things.  And as I think back, once it gets confused, 
locking then unlocking does not reset it.  Only the alt-F2r has so far 
reset the date/time format.



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Moodle on Fedora 16

2012-01-12 Thread Remi
 Error, cannot continue, php-zip is missing. I yum search for
 it,
 and it is not on any repository. I confirmed it does not exist in any
 repo, so well, here I am now.

zip extension have been removed from fedora php packages because of an 
Guidelines violation (about bundled Libraries), and exception was denied for 
this package.

2 quite simple solutions
- pecl install zip (well, will requires a lots -devel stuff)
- use remi repo (backport from fedora with zip extension enabled)

I understand this are not real good solution...

I still think exception should be reconsidered.

Remi.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Reading Linux files from Windows?

2012-01-12 Thread Timothy Murphy
I have a dual boot system on my laptop -
Fedora-16 and Windows XP.

I'm wondering if there is any Windows application that allows one
to read and write files on a Fedora partition?
(As of course one can do in the opposite direction.)

Before advising me to wash my mouth out with soap and water,
allow me to explain the reason for my query.

I recently acquired a Samsung Smart TV (model D5520).
This has a facility for looking at photos on a PC using Picasa.
I tried briefly using Picasa under Wine,
but this seemed to fail at both ends (Linux and TV).

So it seems the easiest solution would be to call on
my rarely used Windows system.
I could of course move the pictures to the Windows partition,
but I wondered if there was an alternative solution 
along the lines I have described?



-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Reading Linux files from Windows?

2012-01-12 Thread Lewis Handy


 I'm wondering if there is any Windows application that allows one
 to read and write files on a Fedora partition?
 (As of course one can do in the opposite direction.)


ext2ifs http://www.fs-driver.org/ is what I use on any dual boot systems
I have
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Reading Linux files from Windows?

2012-01-12 Thread Joachim Backes
On 01/12/2012 02:32 PM, Lewis Handy wrote:
 
 I'm wondering if there is any Windows application that allows one
 to read and write files on a Fedora partition?
 (As of course one can do in the opposite direction.)
 
 
 ext2ifs http://www.fs-driver.org/ is what I use on any dual boot
 systems I have

http://www.fs-driver.org/


-- 
Joachim Backes joachim.bac...@rhrk.uni-kl.de

http://www.rhrk.uni-kl.de/~backes



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fedora 16 instabilities

2012-01-12 Thread Rares Aioanei

On 01/11/2012 10:00 PM, David A. De Graaf wrote:

Here's why Fedora 16 isn't ready for prime time.
Many of these have been BZ'd, without effect.

- I won't even discuss the gnome3 controversy.  I've used xfce for
   many years and am very happy with it.

Good for you.

- The worst aspect of Fedora 16 is it has made computing a stochastic
   process.  Instead of the rock-solid behaviour of previous releases,
   Fedora 16 behaves randomly.

- On two laptops with encrypted disks, when booting, one asks for the
   passphrase once; the other twice.  The second request can only be
   seen if rhgb is removed from the kernel boot line, and you watch the
   systemd spewage carefully.

- The command 'reboot' typed in an X terminal emulator, sometimes
   works; but often hangs the machine, requiring pressing reset.

What are your system specs? If you wanna criticize, do it in a
constructive manner so people can fix issues.

- Shutdown takes much too long, and often fails completely, like
   reboot.  This is quite annoying, especially with laptops.

- The 'df' command has been rendered nearly useless due to the
   voluminous extraneous output.

df | grep sda :)

- The mount command, which was once useful, isn't any more.  It's
   simply unreadable.

See above.

- The systemd system has replaced the simple and easily understood
   sysv init system with a jumbled mess.  The output during boot is
   scrambled and the terminology is grossly verbose and confusing.
   It may be a tiny bit quicker to boot on a multicore machine, but the
   loss of comprehensibility and reliability is much too high a price.

- The systemd alternative to editing /etc/inittab with runlevel = 3
   is grotesque.

- /var/log/boot.log is empty, sometimes.  When it is written, it
   contains no dates.

- If 'startxfce4' is used at a console prompt to start an xfce session,
   root windows have $DISPLAY undefined, and cannot run privileged
   programs.  Critical tabs in various windows (shutdown, nm-applet
   editing, etc.) are greyed out.  A workaround is to create $HOME/.xinitrc
   with this cryptic line:
 ck-launch-session dbus-launch --sh-syntax --exit-with-session startxfce4
   and then use 'startx', as if starting gnome.   :-(

- grub2 fails to correctly initialize /boot/grub2/grub.cnf when older
   kernel objects are present in /boot, and alternate root partitions
   exist.

- grub2 sometimes sets the default kernel to an older one; sometimes
   to the newest one.

- Changing UID's to start at 1000 instead of 500 is just annoying.

- The latest kernel, 3.1.7-1.fc16.x86_64, causes skype to crash
   unless it is run with strace, in which case it fails to fail.
   Go figure!

- With earlier kernels, skype was merely unreliable, sometimes with no
   microphone, sometimes no sound, sometimes no video.  The popup that
   announces an incoming call fails to appear - sometimes.  Despite its
   non-open status, skype is a critical utility.  Some way must be found
   to support it so it is reliable.  Making changes to the kernel that
   destroy it is not acceptable.

It is acceptable, because skype is closed source.

- Some programs fail at random, unpredictible and unrepeatable times.
   Qtstalker occasionally simply stops working.  It's window can be
   deleted, but a zombie remains.

- Systemd doesn't know how to tell time.  During boot, time is off by
   4 hours, then is fixed when ntp gets going.  Perhaps as a result,
   sometimes, not always, X starts with a screensaver.  It's random!

Check your date/time settings and your BIOS settings as well.

- The cups print system can no longer print full Legal size pages.
   The print space is shifted upward and truncated.

- The /etc/rc.d/rc.local file has been deleted.  It can be recreated,
   but you must know to start it with   #!/bin/sh   and make it
   executable.  Why not simply retain a properly constructed dummy?

- gkrellm -s remotesys   often quits without reason.  Then, sometimes,
   it cannot be restarted without rebooting  remotesys.
   More randomness.

- When xfce is restarted, the session manager restarts gkrellm windows
   with the bottom section truncated - sometimes.  Another randomness.
   The full length can be restored by manually running the
   Configuration popup and changing some item, then changing it back.

- The session manager for xfce seems unable to restart roxterm
   windows, but can handle xterm's fine.  Why?

- On one laptop the NumLock will sometimes turn itself on.  This can
   be annoying if a password must be typed.

NumLock or CapsLock?

- On one machine, the password had be typed quickly in a console.  The
   root password was too hard to type to meet that requirement.
   However, if it was entered by cut-and-paste, it was OK.
   In X, there was no problem.


?

- On one machine (of seven) the CD drawer pops open at random times.

- An older nvidia NV18 GeForce4 MX 440 card requires the earlier
   version of the nvidia driver - which is no longer 

Re: Moodle on Fedora 16

2012-01-12 Thread Ester Muñoz Aparicio

El 12/01/12 15:02, Remi escribió:

Error, cannot continue, php-zip is missing. I yum search for
it,
and it is not on any repository. I confirmed it does not exist in any
repo, so well, here I am now.


zip extension have been removed from fedora php packages because of an 
Guidelines violation (about bundled Libraries), and exception was denied for 
this package.

Yes, I read about it this morning... both in fedora related and moodle 
related forums / sites.



2 quite simple solutions
- pecl install zip (well, will requires a lots -devel stuff)
- use remi repo (backport from fedora with zip extension enabled)


Remi! Fantastic! I checked your repo as well BUT looking for php-zip and 
it isn't there, so I just went on looking for it.




I understand this are not real good solution...


Now after reading your message, I updated the php I had with the one in 
your repo, also all the other php related things, and it works!


Thank you again for your time, you saved my day

And now, into the other question - using a subfolder in /home as the 
data folder for moodle I'll try to read some more, I think it has 
something to do with http not being allowed to show user directories, 
but we'll see.


Ester
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fedora 16 instabilities

2012-01-12 Thread Alan Cox
  - The worst aspect of Fedora 16 is it has made computing a stochastic
 process.  Instead of the rock-solid behaviour of previous releases,
 Fedora 16 behaves randomly.

On the specific boxes you have (not a statistically valid sample).
On my boxes for example 16 is way better than 15 (which was utter trash)

  - The command 'reboot' typed in an X terminal emulator, sometimes
 works; but often hangs the machine, requiring pressing reset.
 What are your system specs? If you wanna criticize, do it in a
 constructive manner so people can fix issues.

Really useful here would be the actual logs of the end of the fail and
the dmidecode of the box. Certainly we've got some cases of boxes hanging
on the final step of shutdown/reboot with current kernels and that isn't
a Fedora issue but a general kernel one.

Mind you I've also seen systemd fail the reboot service and get itself in
a right mess so it could be either.

  - The 'df' command has been rendered nearly useless due to the
 voluminous extraneous output.
 df | grep sda :)
  - The mount command, which was once useful, isn't any more.  It's
 simply unreadable.
 See above.

More to the point df is doing what it is required to do. Fedora now uses
tmpfs for a variety of temporary things. That is on the whole good
particularly on systems with slow storage.

  - The latest kernel, 3.1.7-1.fc16.x86_64, causes skype to crash
 unless it is run with strace, in which case it fails to fail.
 Go figure!

Probably a skype problem, however skype is impossible for anyone but
Skype to debug so please report it there. It's beyond even the usual
proprietary problems as its intentionally self encrypting and obfuscated
to prevent anyone reverse engineering their protocols.

  - The session manager for xfce seems unable to restart roxterm
 windows, but can handle xterm's fine.  Why?

session managers record what the app provides for restart. If roxterm
doesn't provide valid session data it won't restart.

  - Libreoffice insists on making files inaccessible via nfs.
 A workaround is to edit /usr/lib64/libreoffice/program/soffice to
 comment out these two lines:
   ## SAL_ENABLE_FILE_LOCKING=1 ## export SAL_ENABLE_FILE_LOCKING
 but this must be redone whenever a new update comes along.

Your NFS setup needs to have locking enabled. That's probably a
configuration error on your NFS server.

  - The microphone on one machine (but not others) wouldn't work until I
 added a cryptic line to the beginning of
 /etc/modprobe.d/dist-alsa.conf:
   options snd-hda-intel model=auto

dmidecode, lspci -vv and report to the alsa developers.

Alan
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Reading Linux files from Windows?

2012-01-12 Thread Reindl Harald


Am 12.01.2012 14:23, schrieb Timothy Murphy:
 I recently acquired a Samsung Smart TV (model D5520).
 This has a facility for looking at photos on a PC using Picasa.
 I tried briefly using Picasa under Wine,
 but this seemed to fail at both ends (Linux and TV)

i can not imagine how the TV will access a partition directly?

normally such things are done over network-services and
then the underlying filesystem does not matter



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fedora 16 instabilities

2012-01-12 Thread Roger K. Wells

On 01/11/2012 06:41 PM, Tom Horsley wrote:

The only real problems I've had with f16 is the one recently
discussed in another thread about the kernel problem with
heavy disk I/O from one process bogging down everything
else on the system. I was using mencoder the other day to
convert a .wmv file to a big .avi file for simpler editing,
and while writing the .avi everything on my system turned into
a useless lump.

I have seen this as well:

 * Thinkpad x220, fresh install of fedora 16 (3.1.7-1.fc16.x86_64)
 * 95 Gb tar file on a USB connected HDD
 * tar xvf tarfile where target location is also on the USB HDD
 * during operation mouse is responsive, but try to change focus or
   move a window and it takes many seconds
 * CPU load on all cores is negligible during operation, but system is
   unuseable
 * when operation completes system returns to normal responsiveness.

HTH


--
Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger.k.we...@saic.com

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Reading Linux files from Windows?

2012-01-12 Thread Emilio Lopez
 I recently acquired a Samsung Smart TV (model D5520).
 This has a facility for looking at photos on a PC using Picasa.
 I tried briefly using Picasa under Wine,

What about installing windows in virtualbox and using shared folder
functionality to allow windows to read your pictures folder

Emilio.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[solved] flashing wireless light

2012-01-12 Thread Brian Ericson

On the off-chance this might save someone else some time...

If you, like me, hate a flashing wireless light and have been relying on 
led_mode=1 to silence it, the option changed (for me, at least) with 
3.1.7.  I'd previously used options iwlagn led_mode=1 in 
/etc/modprobe.d/iwlagn.conf.  With 3.1.7, options iwlwifi led_mode=1 
in /etc/modprobe.d/iwlwifi.conf works.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


fedora 16 printer problem

2012-01-12 Thread Roger K. Wells

hello,

 * I have installed fedora 16 on a new TP X220 to replace fedora 14 on
   a TP X200.

 * The two systems are intended to be equivalent until I switch over
   exclusively to the X220.

 * Using the HPLIP Device Manager application I installed the same hp
   network connected printers, two wired (office), one wireless (home)

 * The printers are LaserJet 4350, Color Laserjet 4600, Photosmart 309g
   (the problem)
 * The two laserjets work fine.
 * The 309G scans, reports status, supplies, etc.  Ping, of course,
   sees it.
 * I noticed that the ppd file in /etc/cups/ppd for the 309g was
   different on the X200 so I copied it over to the X220
 * still the same but the related lines in /var/log/messages changed so
   I am reasonably confident that the ppd file is being read.
 * /var/log/messages:
   (before copying the ppd from the X200)
   Jan 10 21:00:01 rwells-f16 hp-setup: hp-setup[26735]: warning: No
   PPD found for model photosmart_premium_c309g-m using new algorithm.
   Trying old algorithm...
   (after copying the ppd from the X200)
   Jan 11 09:33:41 rwells-f16 hp-systray: hp-systray(hpdio)[24195]:
   error: Unable to communicate with device (code=12):
   hp:/net/Photosmart_Premium_C309g-m?ip=192.168.2.5
   (recall that HPLIP Device Manager reports, ink levels, status, etc. 
   So there must be some communications)

 * In both cases the HPLIP Device Manager reports the print job as
   stopped

Any thoughts will be appreciated.
thanks
roger wells

--
Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger.k.we...@saic.com

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: converting base64 emails back to text

2012-01-12 Thread Genes MailLists
On 01/11/2012 11:57 PM, g wrote:
On 01/10/2012 06:30 AM, Ed Greshko wrote:
 
 I've not searched for any existing utility since I keep all of my emails
 on an imap server and text based searches from email clients work just
 fine as the un-encoding is done behind the scenes and I've never found
 the need to directly search my messagestore with external tools.
 -=-
 
 having your own mail server running is an advantage that i have not seen
 great need for, considering what all i would have to go thru to set it
 up and then maintain it.
 

  He said imap server - not mail server - and setting up a local imap
server for storing mail is really trivial.

  install and start dovecot - add account to your mail client pointing
to your local imap server - use it to file your mail. thats it.

  Your approach of finding tools to transcode emails is way way way more
complex and error prone ...

  gene

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fedora 16 instabilities

2012-01-12 Thread Ed Greshko
Come on people..

Don't you just hate it when someone puts out a list of vague grievances
and then doesn't engage in the conversation they've created?

Isn't there a word for that?



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Power Button initiates immediate shutdown procedure

2012-01-12 Thread Felix Schwarz
Hi,

when I press the computer's power button my F16 system immediately starts the
shutdown procedure. Even if I'm logged in (Gnome3) all my programs are shut
down without further notice.


With F14 Gnome used to show a shutdown dialog where I could prevent the system
from powering down.

I tried to change some settings in dconf to get the old behavior by setting
all power-* keys in org.gnome.settings-daemon.plugins.power to interactive.
However this did not have any effect.


How can I either make Fedora to ignore the power button completely or show the
shutdown menu so I can cancel the shutdown?

Felix
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Purpose of /etc/passwd- and /etc/shadow- ?

2012-01-12 Thread Dr. Michael J. Chudobiak

he was speaking about /etc/shadow- and NOT /etc/shadow
and yes i am sure they are backups


Whoops, right you are!

- Mike

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


F16 concurrency problem between network and sshd service

2012-01-12 Thread Corinna Vinschen
Hi,

This is a problem which started to show up today.  After reboot, sshd
failed to listen on my local IPv6 address.

I have a static network configuration using the network init script.
I have a sshd configuration which defines various ListenAddresses
in /etc/ssh/sshd_config, like this:

  # localhost
  ListenAddress 127.0.0.1:22
  ListenAddress [::1]:22
  # local only addresses
  ListenAddress 192.168.1.1:22
  ListenAddress [fc00::1]:22
  # external address
  ListenAddress a.b.c.d:12345

The last time before today I rebooted the machine was 2 days ago.  This
was right after I updated to the new 3.1.7 kernel via yum.  Everything
worked fine.

Today I installed the last set of updates via yum and rebooted again.
This time I was not able to connect to that machine via IPv6.  So
I tried netstat:

  $ netstat -tnl | grep :22
  tcp   0  0 127.0.0.1:22  0.0.0.0:*   LISTEN  
  tcp   0  0 192.168.1.1:220.0.0.0:*   LISTEN  
  tcp   0  0 ::1:22:::*LISTEN  

Where is fc00::1?  ifconfig showed clearly that the fc00::1 address
was configured and ready.  `systemctl restart sshd.service' worked fine
and afterwards sshd was listening on fc00::1:22 as well.

I had a look into /var/log/secure:

  12:32:24 sshd[1360]: Server listening on a.b.c.d port 12345.
  12:32:24 sshd[1360]: error: Bind to port 22 on fc00::1 failed:
   Cannot assign requested address.
  12:32:24 sshd[1360]: Server listening on 192.168.1.1 port 22.
  12:32:24 sshd[1360]: Server listening on ::1 port 22.
  12:32:24 sshd[1360]: Server listening on 127.0.0.1 port 22.

Ok, so it was no problem to set up the listening sockets on any other
requested IP address, just trying to lsten on fc00::1 failed with
Cannot assign requested address.  So what about setting up the network?

  12:32:22 avahi-daemon[1092]: Registering new address record for
   fe80::6250:40ff:fe30:2010 on br0.*.
  12:32:22 avahi-daemon[1092]: Joining mDNS multicast group on interface
   br0.IPv4 with address 192.168.1.1.
  12:32:22 avahi-daemon[1092]: New relevant interface br0.IPv4 for mDNS.
  12:32:22 avahi-daemon[1092]: Registering new address record for
   192.168.1.1 on br0.IPv4.
  12:32:22 avahi-daemon[1092]: Registering new address record for
   a.b.c.d on br0.IPv4.
  12:32:22 avahi-daemon[1092]: Withdrawing address record for a.b.c.d on br0.
  12:32:22 avahi-daemon[1092]: Registering new address record for
   a.b.c.d on br0.IPv4.
  12:32:22 network[962]: Bringing up interface br0:  [  OK  ]
  12:32:24 avahi-daemon[1092]: Registering new address record for
   fc00::1 on br0.*.
  12:32:24 avahi-daemon[1092]: Withdrawing address record for
   fe80::6250:40ff:fe30:2010 on br0.

So the network is supposed to be up 2 seconds before sshd tries to
create a listener on these addresses.  There's no good reason that
it should fail for the IPv6 address, except that avahi-daemon
is apparently doing something with the IPv6 address at this time.
Could that be the problem?  And if so, why?  And does anybody know 
how to workaround this problem?


Thanks in advance,
Corinna
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fedora 16 instabilities

2012-01-12 Thread Rares Aioanei

On 01/12/2012 04:42 PM, Ed Greshko wrote:

Come on people..

Don't you just hate it when someone puts out a list of vague grievances
and then doesn't engage in the conversation they've created?

Isn't there a word for that?


Err...troll? Of course. Wasted time.

--
Rares Aioanei

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Power Button initiates immediate shutdown procedure

2012-01-12 Thread Richard Shaw
On Thu, Jan 12, 2012 at 8:46 AM, Felix Schwarz
felix.schw...@oss.schwarz.eu wrote:
 Hi,

 when I press the computer's power button my F16 system immediately starts the
 shutdown procedure. Even if I'm logged in (Gnome3) all my programs are shut
 down without further notice.


 With F14 Gnome used to show a shutdown dialog where I could prevent the system
 from powering down.

 I tried to change some settings in dconf to get the old behavior by setting
 all power-* keys in org.gnome.settings-daemon.plugins.power to interactive.
 However this did not have any effect.

You may be hitting this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=755412

It looks like power settings are currently getting ignored. I'll also
add that it doesn't appear to be limited to just power settings. On my
wife's laptop all of her mouse/touchpad settings are being ignored as
well. This REALLY needs to get fixed. WAF is dropping rapidly. I may
have to downgrade her back to F15.

She was getting the Oh Snap problem ever time as well and the only way
I found to fix it was to rm -rf ~/.gconf

Thanks,
Richard
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Power Button initiates immediate shutdown procedure

2012-01-12 Thread Matt Harrison
On Thu, Jan 12, 2012 at 9:46 AM, Felix Schwarz
felix.schw...@oss.schwarz.eu wrote:
 Hi,

 when I press the computer's power button my F16 system immediately starts the
 shutdown procedure. Even if I'm logged in (Gnome3) all my programs are shut
 down without further notice.


 With F14 Gnome used to show a shutdown dialog where I could prevent the system
 from powering down.

 I tried to change some settings in dconf to get the old behavior by setting
 all power-* keys in org.gnome.settings-daemon.plugins.power to interactive.
 However this did not have any effect.


 How can I either make Fedora to ignore the power button completely or show the
 shutdown menu so I can cancel the shutdown?

 Felix
 --


Wouldn't the power button action be controled by the Power Manager
settings?  I would check there first and see what is set for the
default action when the power button is pressed.  Could be wrong
though, been a while since I used gnome.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fedora 16 instabilities

2012-01-12 Thread Reindl Harald


Am 12.01.2012 15:42, schrieb Ed Greshko:
 Come on people..
 
 Don't you just hate it when someone puts out a list of vague grievances
 and then doesn't engage in the conversation they've created?
 
 Isn't there a word for that?

yes, it is known as buggy



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Purpose of /etc/passwd- and /etc/shadow- ?

2012-01-12 Thread Michael Cronenworth

Joachim Backes wrote:

Question: are these files only created for backup purposes, or is there
another reason for this?


$ man 5 shadow
...
   /etc/shadow-
   Backup file for /etc/shadow.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fedora 16 instabilities

2012-01-12 Thread Timothy Davis

On 01/12/2012 10:07 AM, Reindl Harald wrote:


Am 12.01.2012 15:42, schrieb Ed Greshko:

Come on people..

Don't you just hate it when someone puts out a list of vague grievances
and then doesn't engage in the conversation they've created?

Isn't there a word for that?

yes, it is known as buggy




Fedora works closely with upstream, so yes there will be bugs.
http://fedoraproject.org/wiki/Overview


--
Fedora, Ubuntu, Mint and Slackware user
Linux counter #386175

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Yum is updating /etc/shadow?

2012-01-12 Thread Chris Adams
Once upon a time, Marko Vojinovic vvma...@gmail.com said:
 On Thursday 12 January 2012 05:53:42 g wrote:
  if you compare /etc/shadow to /etc/shadow.rpmnew when it is there,
  you will see that yum/rpm has added a program's name to /etc/shadow
  when yum/rpm adds a new program that needs to be assigned an id.
  
  this also happens to /etc/group, /etc/gshadow, and /etc/passwd.
  
  why /etc/shadow.rpmnew was removed is hard to answer.
 
 AFAIK, yum/rpm can use the usual method of getting an id for a new program 
 (calling useradd or similar), which doesn't involve creating a shadow.rpmnew 
 file.

This has nothing to do with adding users.

The file /etc/shadow is owned by the setup RPM (it has the base
OS-defined users like root and mail).  When that RPM gets an update,
rpm will see that /etc/shadow has changed (because users have been
created) and not overwrite it.  It will instead write it to
/etc/shadow.rpmnew (and print a notification that it did that).  This is
no different than any other file marked as a configuration file in the
RPM.

Since /etc/shadow.rpmnew is meaningless, the setup RPM has a
post-install script to remove it.

-- 
Chris Adams cmad...@hiwaay.net
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: fedora 16 printer problem

2012-01-12 Thread Patrick O'Callaghan
Please don't hijack threads. Your message is unrelated to the one you
replied to. You should compose a fresh message rather than a reply.
Changing the Subject line is not enough.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: no internet connection with Fedora16

2012-01-12 Thread Patrick O'Callaghan
On 12/01/12 7:07 AM, Tim wrote:
 On Wed, 2012-01-11 at 10:13 -0430, Patrick O'Callaghan wrote:
 Note that you also need to configure NM to manage your interface,
 otherwise NM will report it as offline even when it's online
 
 Don't you mean deliberately configure network manager to be NOT managing
 an interface that it doesn't actually manage?
 
 If it's currently configured, even if not used, to say that network
 manager handles eth0, for example, then if network manager hasn't
 brought up eth0, network manager will say that eth0 is down, no matter
 what the real status of eth0 is (as network manager's statuses are
 notifications of what *it* has done, rather than what the interface's
 real status is), and regardless of whether network manager is suppose to
 be running or not.
 
 On the other hand, if network manager is configured to not manage eth0,
 then any query about its status shouldn't return an answer.
 
 At least, that's been my prior experience with avoiding network manager
 on one machine.

My (limited) understanding of NM is that it expects to manage all
interfaces, and if there's an interface it doesn't manage then that
interface has been disabled for some reason. In any case, the failing
apps (Firefox, Evolution, ...) simply ask NM and believe what it says,
and if NM doesn't manage the interface it's going to say that it's down,
no matter what the reality is.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: no internet connection with Fedora16

2012-01-12 Thread Patrick O'Callaghan
On 11/01/12 10:47 PM, John De Graw wrote:
 I have the computer wired to a hub which is wired to the router.  Three
 other computers (wireless  wired) are going through the same router and
 having no difficulties.  When I run the ifconfig command in terminal
 it says it is up and connected.  When I ran the ethtool em1 command I
 got the cannot get 'wake-on-lan settings: Operation not permitted' . 
 Netstat command results show connection also.  I can ping any website
 I want to with positive results. I just can't get a connection through
 Firefox or any other web browser I can download.  DoggoneBob.  
 
 On Tue, Jan 10, 2012 at 10:22 PM, Alchemist raimi...@gmail.com
 mailto:raimi...@gmail.com wrote:

Please don't top-post on this list. See the Guidelines.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: fedora 16 printer problem

2012-01-12 Thread Tim Waugh
On Thu, 2012-01-12 at 09:40 -0500, Roger K. Wells wrote:

   * Using the HPLIP Device Manager application

Did you install the hplip package supplied as part of Fedora, or did you
install it from HP's HPLIP website?

Some tips on diagnosing problems of the type you describe are on the
wiki:
  https://fedoraproject.org/wiki/Printing/Debugging

In particular, try using a different backend for that queue.

Tim.
*/



signature.asc
Description: This is a digitally signed message part
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: fedora 16 printer problem

2012-01-12 Thread Roger K. Wells

On 01/12/2012 10:34 AM, Patrick O'Callaghan wrote:

Please don't hijack threads. Your message is unrelated to the one you
replied to. You should compose a fresh message rather than a reply.
Changing the Subject line is not enough.

poc


oops, sorry. I didn't know that

--
Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger.k.we...@saic.com

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: fedora 16 printer problem

2012-01-12 Thread Roger K. Wells

On 01/12/2012 10:54 AM, Tim Waugh wrote:

On Thu, 2012-01-12 at 09:40 -0500, Roger K. Wells wrote:


   * Using the HPLIP Device Manager application

Did you install the hplip package supplied as part of Fedora, or did you
install it from HP's HPLIP website?

I did it as part of Fedora


Some tips on diagnosing problems of the type you describe are on the
wiki:
   https://fedoraproject.org/wiki/Printing/Debugging

In particular, try using a different backend for that queue.

I don't know exactly what you mean here.  I'll look at your link.
thanks

roger wells


Tim.
*/






--
Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger.k.we...@saic.com

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Setting SAMBA's file attribute on Selinux.

2012-01-12 Thread Lucélio Gomes de Freitas
Michael Schwendt,

Thank you for your reply.

Em 12-01-2012 04:35, Michael Schwendt escreveu:
 On Wed, 11 Jan 2012 22:19:52 -0500, LGDF (Lucélio) wrote:

 Trying to set extended attributes(samba_share_t ) to shared files on
 SAMBA for selinux to work, I decided to use
 policycoreutils-gui-2.1.4-3.fc16.x86_64 but:

 ==
 [Lucelio@MAQ01 ~]$ sudo yum install policycoreutils-gui-2.1.4-3.fc16.x86_64
 Normally, you would omit the version-release.arch and run just:

   sudo yum install policycoreutils-gui

 Error: Pacote: policycoreutils-gui-2.1.4-3.fc16.x86_64 (fedora)
Requer: policycoreutils-python = 2.1.4-3.fc16
Instalados: policycoreutils-python-2.1.4-13.fc16.x86_64
 (@updates)
policycoreutils-python = 2.1.4-13.fc16
Disponível: policycoreutils-python-2.1.4-3.fc16.x86_64 (fedora)
policycoreutils-python = 2.1.4-3.fc16
  Você pode tentar usar o parâmetro --skip-broken para contornar o problema
  Você pode tentar executar: rpm -Va --nofiles --nodigest
 [Lucelio@MAQ01 ~]$
 ==
 --skip-broken and rpm didn't work.

 Ps. How to select 2.1.4-3fc16 insted of installed 2.1.4-13.fc16?
 That's a strange question, because obviously you would need to downgrade
 other packages (dependencies!) then.
Yes, sorry, may be strange is my way of thinking: Where others see a
problem I see a chance/way of learning.
 Install the latest available package:

   sudo yum install policycoreutils-gui
Worked fine.  I did not omit the version-release.arch because, after a
man samba_selinux I found the tool:
==
[Lucelio@MAQ01 ~]$ yum whatprovides system-config-selinux
Plugins carregados: langpacks, presto, refresh-packagekit
policycoreutils-gui-2.1.4-3.fc16.x86_64 : SELinux configuration GUI
Repo: fedora
Resultado a partir de:
Nome de arquivo: /usr/bin/system-config-selinux
==
I did a copy and paste of the packagename to the command line.

Do you think that it is still necessary to file a bug?
 And if that doesn't work, file a bug report.

 # sudo yum list policycoreutils-gui
 Loaded plugins: langpacks, presto, refresh-packagekit
 Available Packages
 policycoreutils-gui.x86_64 2.1.4-13.fc16 
 updates
Thanks again.

-- 
Lucélio Gomes de Freitas
ETFCSF= U.G.F.= P.U.C.(RJ)
Engº, Analista Suporte(Free Mind).
Email: aa.luce...@gmail.com
Tel: 55 0XX 21 85964911

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Setting SAMBA's file attribute on Selinux.

2012-01-12 Thread Michael Schwendt
On Thu, 12 Jan 2012 14:44:52 -0500, LGDF (Lucélio) wrote:

  Install the latest available package:
 
sudo yum install policycoreutils-gui
 Worked fine.  I did not omit the version-release.arch because, after a
 man samba_selinux I found the tool:
 ==
 [Lucelio@MAQ01 ~]$ yum whatprovides system-config-selinux
 Plugins carregados: langpacks, presto, refresh-packagekit
 policycoreutils-gui-2.1.4-3.fc16.x86_64 : SELinux configuration GUI
 Repo: fedora
 Resultado a partir de:
 Nome de arquivo: /usr/bin/system-config-selinux
 ==
 I did a copy and paste of the packagename to the command line.

Smarter:  yum install /usr/bin/system-config-selinux

 Do you think that it is still necessary to file a bug?

Not necessary.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Reading Linux files from Windows?

2012-01-12 Thread Timothy Murphy
Reindl Harald wrote:

 I recently acquired a Samsung Smart TV (model D5520).
 This has a facility for looking at photos on a PC using Picasa.
 I tried briefly using Picasa under Wine,
 but this seemed to fail at both ends (Linux and TV)
 
 i can not imagine how the TV will access a partition directly?
 
 normally such things are done over network-services and
 then the underlying filesystem does not matter

As I understand from a quick look at the Smart Hub on the TV,
there is a specific Samsung application running on the TV,
and this looks at the Picasa setup on the PC.
It seems to assume one is running Windows on the PC.

But I'll see if one can get round this in some way.




-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Reading Linux files from Windows?

2012-01-12 Thread Timothy Murphy
Emilio Lopez wrote:

 I recently acquired a Samsung Smart TV (model D5520).
 This has a facility for looking at photos on a PC using Picasa.
 I tried briefly using Picasa under Wine,
 
 What about installing windows in virtualbox and using shared folder
 functionality to allow windows to read your pictures folder

Thanks for the response.
I thought about doing something like that,
but wasn't sure if my laptop (a Thinkpad T60) would support this.


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Reading Linux files from Windows?

2012-01-12 Thread Lucélio Gomes de Freitas
Hi timothy,

Em 12-01-2012 12:07, Timothy Murphy escreveu:
 Emilio Lopez wrote:

 I recently acquired a Samsung Smart TV (model D5520).
 This has a facility for looking at photos on a PC using Picasa.
 I tried briefly using Picasa under Wine,
 What about installing windows in virtualbox and using shared folder
 functionality to allow windows to read your pictures folder
 Thanks for the response.
 I thought about doing something like that,
 but wasn't sure if my laptop (a Thinkpad T60) would support this.


Have a look at mediatomb, works fine with Fedora-linux and is a free SW.
Not necessary Windows for this.
Wireless connection. At home, from my LG- LE425500 I see pictures and
films that are on my desktop HD, and also have Internet access from TV.

ok?

-- 
Lucélio Gomes de Freitas
ETFCSF= U.G.F.= P.U.C.(RJ)
Engº, Analista Suporte(Free Mind).
Email: aa.luce...@gmail.com
Tel: 55 0XX 21 85964911

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Reading Linux files from Windows?

2012-01-12 Thread Dave Stevens

Quoting Lucélio Gomes de Freitas aa.luce...@gmail.com:

More work to set up but very easy to use is something like this:

make a new partition using gparted

format the partition as NTFS, a Windows format

put your photos in the new partition

read them from windows as a new drive, E: or G: or whatever

This allows reading and writing from both Windows and Linux, however  
you set it up.


Dave



Hi timothy,



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Reading Linux files from Windows?

2012-01-12 Thread Pete Travis
On Jan 12, 2012 10:29 AM, Lucélio Gomes de Freitas aa.luce...@gmail.com
wrote:

 Hi timothy,

 Em 12-01-2012 12:07, Timothy Murphy escreveu:
  Emilio Lopez wrote:
 
  I recently acquired a Samsung Smart TV (model D5520).
  This has a facility for looking at photos on a PC using Picasa.
  I tried briefly using Picasa under Wine,
  What about installing windows in virtualbox and using shared folder
  functionality to allow windows to read your pictures folder
  Thanks for the response.
  I thought about doing something like that,
  but wasn't sure if my laptop (a Thinkpad T60) would support this.
 
 
 Have a look at mediatomb, works fine with Fedora-linux and is a free SW.
 Not necessary Windows for this.
 Wireless connection. At home, from my LG- LE425500 I see pictures and
 films that are on my desktop HD, and also have Internet access from TV.

 ok?

 --
 Lucélio Gomes de Freitas
 ETFCSF= U.G.F.= P.U.C.(RJ)
 Engº, Analista Suporte(Free Mind).
 Email: aa.luce...@gmail.com
 Tel: 55 0XX 21 85964911

 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 Have a question? Ask away: http://ask.fedoraproject.org

+1

Unless Samsung has done something funky, you should be able to do what you
want with any uPnP media server application.  Mediatomb is well documented
and has an intuitive interface, it should work great for your purposes. I
personally prefer 'fuppes' because of it's ability to transcode videos on
the fly using ffmpeg.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Dual boot on SSD. No Windows disks. How ?

2012-01-12 Thread Armelius Cameron
On Wednesday, January 11, 2012 01:25:40 PM linux guy wrote:
 It turns out the gparted can copy partitions.
 http://www.ghacks.net/2010/06/03/copy-partitions-with-gparted/
 
 I'm not 100% sure that I am going to need Windows.  I won't know until
 I buy a piece of software and attempt to run it under wine in a couple
 months.

You can check Wine database to see if the software is fully supported or not 
in Wine (provided the software is in the database):
http://appdb.winehq.org/

Another option is to use virtual machine running Windows on Linux. There's 
several solutions here; I've had good luck with VirtualBox in the past. VMWare 
may also work. Search online for instruction on how to convert an install to a 
virtual machine (I've done this but I can't remember what I did). That way you 
don't even need to dual boot and only run Windows in VM environment when 
needed.

 
 Does anyone see a problem with installing Linux on the SSD and using
 it for a few months, then, if I need to, copy it to a backup drive,
 installing Windows on the SSD and then copying the Linux install back
 to the SSD ?

One way you can do is to create an NTFS partition as the first partion from the 
beginning in the SSD. You can leave it unused. The install linux on the 
subsequent partition. If you do need to install Windows, just install it on 
the first partition. If you don't, then you can do other things to utilize the 
empty space (i.e. copy or expand the linux partition, etc).

Note that if you need to, you _can_ install Windows after Linux on the 
subsequent (i.e. not first) partition. So that's another option. The only thing 
you need to do is to trick Windows using GRUB to make it thinks that it's the 
first partition. I've done that too; look for instruction somewhere online (or 
if you really need to I can probably dig out my old grub config).

 
 What special things happen in a Linux install to make dual boot work ?

None. Linux is _very_ resilient and robust to hardware changes. It'll figure 
itself out. The only thing you need to worry is the GRUB install on the MBR 
and its configuration. This you can always do with any live-CD (doesn't even 
need to be the same distro) if you know what you're doing (e.g. make sure the 
root, boot partition is correct in the config, etc).
I've done things like pulling a drive with linux install for my home server 
from a hardware that had a mobo failure, and just put it into a different 
hardware that has different config (same arch though), and it just worked. I've 
also move an HD with linux install as primary, secondary, chain-loading it 
with Windows, etc, and it just worked. 

AC
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Dual boot on SSD. No Windows disks. How ?

2012-01-12 Thread Pete Travis
On Jan 12, 2012 11:13 AM, Armelius Cameron armeli...@gmail.com wrote:

 On Wednesday, January 11, 2012 01:25:40 PM linux guy wrote:
  It turns out the gparted can copy partitions.
  http://www.ghacks.net/2010/06/03/copy-partitions-with-gparted/
 
  I'm not 100% sure that I am going to need Windows.  I won't know until
  I buy a piece of software and attempt to run it under wine in a couple
  months.

 You can check Wine database to see if the software is fully supported or
not
 in Wine (provided the software is in the database):
 http://appdb.winehq.org/

 Another option is to use virtual machine running Windows on Linux. There's
 several solutions here; I've had good luck with VirtualBox in the past.
VMWare
 may also work. Search online for instruction on how to convert an install
to a
 virtual machine (I've done this but I can't remember what I did). That
way you
 don't even need to dual boot and only run Windows in VM environment when
 needed.

 
  Does anyone see a problem with installing Linux on the SSD and using
  it for a few months, then, if I need to, copy it to a backup drive,
  installing Windows on the SSD and then copying the Linux install back
  to the SSD ?

 One way you can do is to create an NTFS partition as the first partion
from the
 beginning in the SSD. You can leave it unused. The install linux on the
 subsequent partition. If you do need to install Windows, just install it
on
 the first partition. If you don't, then you can do other things to
utilize the
 empty space (i.e. copy or expand the linux partition, etc).

 Note that if you need to, you _can_ install Windows after Linux on the
 subsequent (i.e. not first) partition. So that's another option. The only
thing
 you need to do is to trick Windows using GRUB to make it thinks that it's
the
 first partition. I've done that too; look for instruction somewhere
online (or
 if you really need to I can probably dig out my old grub config).


  What special things happen in a Linux install to make dual boot work ?

 None. Linux is _very_ resilient and robust to hardware changes. It'll
figure
 itself out. The only thing you need to worry is the GRUB install on the
MBR
 and its configuration. This you can always do with any live-CD (doesn't
even
 need to be the same distro) if you know what you're doing (e.g. make sure
the
 root, boot partition is correct in the config, etc).
 I've done things like pulling a drive with linux install for my home
server
 from a hardware that had a mobo failure, and just put it into a different
 hardware that has different config (same arch though), and it just
worked. I've
 also move an HD with linux install as primary, secondary, chain-loading it
 with Windows, etc, and it just worked.

 AC
 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 Have a question? Ask away: http://ask.fedoraproject.org

Just a word of caution on this approach :

Always assume that the Windows installer will kill the bootloader on every
drive plugged into your system, as soon as the disc boots.  Its not an
accurate assumption, but a safe one, just like making backups before
replacing operating systems or manipulating partition tables.

If you think you might need it, and can't resize the existing partition, I
suggest starting from scratch with your desired partition scheme as the
very first task, and installing windows before Fedora. Never underestimate
that platform's propensity to break dual boot or anything foreign.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


How (or why) does this bash script snippet work?

2012-01-12 Thread Dean S. Messing

In a system script I find this snippet

  nodevs=$( /proc/filesystems fgrep rootfs)

and don't understand the syntax.  According to the bash man page,

$( file) is shorthand for $(cat file).  But then the above should read

  nodevs=$( /proc/filesystems | fgrep rootfs)

However, the latter leaves $nodevs empty whereas the former puts the
stuff that fgrep processes into nodevs as it should.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How (or why) does this bash script snippet work?

2012-01-12 Thread Anthony R Fletcher
On 12 Jan 2012 at 14:02:50, Dean S. Messing wrote:
 
 In a system script I find this snippet
 
   nodevs=$( /proc/filesystems fgrep rootfs)
 
 and don't understand the syntax.  According to the bash man page,
 
 $( file) is shorthand for $(cat file).  But then the above should read
 
   nodevs=$( /proc/filesystems | fgrep rootfs)
 
 However, the latter leaves $nodevs empty whereas the former puts the
 stuff that fgrep processes into nodevs as it should.


The command 
  /proc/filesystems fgrep rootfs

redirects the input from the file /proc/filesystems into the command
fgrep rootfs. You could rewrite this as
  fgrep rootfs  /proc/filesystems

nodevs=$( command ) takes the result of the command inside the
parentheses and assigns into the variable nodevs.

Anthony.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Reading Linux files from Windows?

2012-01-12 Thread Michael Cronenworth

Pete Travis wrote:

I personally prefer 'fuppes' because of it's ability to transcode videos
on the fly using ffmpeg.


Mediatomb also allows on-the-fly transcoding. I use it (with ffmpeg) to 
transcode FLAC to PCM and MKV to MPEG-TS for the playstation 3.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Reading Linux files from Windows?

2012-01-12 Thread Michael Cronenworth

Timothy Murphy wrote:

This has a facility for looking at photos on a PC using Picasa.
I tried briefly using Picasa under Wine,
but this seemed to fail at both ends (Linux and TV).


Have you not tried the native Linux version of Picasa provided by Google?

(native being in quotes because Google ships it with Wine)
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: fedora 16 printer problem

2012-01-12 Thread Roger K. Wells

On 01/12/2012 11:25 AM, Roger K. Wells wrote:

On 01/12/2012 10:54 AM, Tim Waugh wrote:

On Thu, 2012-01-12 at 09:40 -0500, Roger K. Wells wrote:


   * Using the HPLIP Device Manager application

Did you install the hplip package supplied as part of Fedora, or did you
install it from HP's HPLIP website?

I did it as part of Fedora

Some tips on diagnosing problems of the type you describe are on the
wiki:
   https://fedoraproject.org/wiki/Printing/Debugging

This is a very good link.  The foomatic-rip filter was missing.
Installing it fixed the problem.
roger wells


In particular, try using a different backend for that queue.

I don't know exactly what you mean here.  I'll look at your link.
thanks

roger wells

Tim.
*/






--
Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger.k.we...@saic.com





--
Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger.k.we...@saic.com

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Log not rotating in Fedora 16.

2012-01-12 Thread William Case
Hi;
I get the following warning on boot up The volume File system root
has only 249.6 MiB disk space remaining.  I think I have traced the
problem to syslog not rotating. Messages-x in /var/log/ is up to 1.4
+ GiB.  How would you suggest I get the proper log rotation?  Or, where
else do you suggest I look?
-- 
Regards Bill

Fedora 16, Gnome 3.2
Evo.3.2.2, Emacs 23.3.1

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Log not rotating in Fedora 16.

2012-01-12 Thread Sjoerd Mullender
On 2012-01-12 22:13, William Case wrote:
 Hi;
 I get the following warning on boot up The volume File system root
 has only 249.6 MiB disk space remaining.  I think I have traced the
 problem to syslog not rotating. Messages-x in /var/log/ is up to 1.4
 + GiB.  How would you suggest I get the proper log rotation?  Or, where
 else do you suggest I look?

Is crond enabled?  Try
systemctl status crond.service

When I upgraded from Fedora 14 to Fedora 15 (introduction of systemd),
crond was no longer enabled.  I noticed that many months (and megabytes)
later.

If it isn't enabled, enable it with
systemctl enable crond.service
systemctl start crond.service

-- 
Sjoerd Mullender



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Log not rotating in Fedora 16.

2012-01-12 Thread Richard Shaw
On Thu, Jan 12, 2012 at 3:36 PM, Sjoerd Mullender sjo...@acm.org wrote:
 On 2012-01-12 22:13, William Case wrote:
 Hi;
 I get the following warning on boot up The volume File system root
 has only 249.6 MiB disk space remaining.  I think I have traced the
 problem to syslog not rotating. Messages-x in /var/log/ is up to 1.4
 + GiB.  How would you suggest I get the proper log rotation?  Or, where
 else do you suggest I look?

 Is crond enabled?  Try
 systemctl status crond.service

 When I upgraded from Fedora 14 to Fedora 15 (introduction of systemd),
 crond was no longer enabled.  I noticed that many months (and megabytes)
 later.

 If it isn't enabled, enable it with
 systemctl enable crond.service
 systemctl start crond.service

WOW! Thanks!

I just checked and my /var/log/messages was up to 84MB! I'm not sure
what happened in my case as F15 was a fresh install (I think).

Thanks,
Richard
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Samsung printer won't print

2012-01-12 Thread Jim

Fedora 16-i386
Can't get Samsung printer to print, Error Log Messages below.
Samsung CLX3170.

D [12/Jan/2012:17:08:34 -0500] cupsdSetBusyState: newbusy=Dirty files, 
busy=Active clients and dirty files

D [12/Jan/2012:17:08:34 -0500] cupsdReadClient: 16 POST / HTTP/1.1
D [12/Jan/2012:17:08:34 -0500] cupsdSetBusyState: newbusy=Active 
clients and dirty files, busy=Dirty files
D [12/Jan/2012:17:08:34 -0500] cupsdAuthorize: No authentication data 
provided.

D [12/Jan/2012:17:08:34 -0500] cupsdReadClient: 16 1.1 Get-Jobs 1
D [12/Jan/2012:17:08:34 -0500] Get-Jobs ipp://localhost/printers/
D [12/Jan/2012:17:08:34 -0500] Returning IPP successful-ok for Get-Jobs 
(ipp://localhost/printers/) from localhost
D [12/Jan/2012:17:08:34 -0500] cupsdSetBusyState: newbusy=Dirty files, 
busy=Active clients and dirty files

D [12/Jan/2012:17:08:34 -0500] cupsdReadClient: 16 POST / HTTP/1.1
D [12/Jan/2012:17:08:34 -0500] cupsdSetBusyState: newbusy=Active 
clients and dirty files, busy=Dirty files
D [12/Jan/2012:17:08:34 -0500] cupsdAuthorize: No authentication data 
provided.

D [12/Jan/2012:17:08:34 -0500] cupsdReadClient: 16 1.1 Get-Jobs 1
D [12/Jan/2012:17:08:34 -0500] Get-Jobs ipp://localhost/printers/
D [12/Jan/2012:17:08:34 -0500] [Job 78] Loading attributes...
D [12/Jan/2012:17:08:34 -0500] [Job 79] Loading attributes...
D [12/Jan/2012:17:08:34 -0500] [Job 80] Loading attributes...
D [12/Jan/2012:17:08:34 -0500] [Job 81] Loading attributes...
D [12/Jan/2012:17:08:34 -0500] [Job 82] Loading attributes...
D [12/Jan/2012:17:08:34 -0500] [Job 83] Loading attributes...
D [12/Jan/2012:17:08:34 -0500] [Job 84] Loading attributes...
D [12/Jan/2012:17:08:34 -0500] Returning IPP successful-ok for Get-Jobs 
(ipp://localhost/printers/) from localhost
D [12/Jan/2012:17:08:34 -0500] cupsdSetBusyState: newbusy=Dirty files, 
busy=Active clients and dirty files

D [12/Jan/2012:17:08:34 -0500] cupsdReadClient: 16 POST / HTTP/1.1
D [12/Jan/2012:17:08:34 -0500] cupsdSetBusyState: newbusy=Active 
clients and dirty files, busy=Dirty files
D [12/Jan/2012:17:08:34 -0500] cupsdAuthorize: No authentication data 
provided.
D [12/Jan/2012:17:08:34 -0500] cupsdReadClient: 16 1.1 
Create-Printer-Subscription 1

D [12/Jan/2012:17:08:34 -0500] Create-Printer-Subscription /
D [12/Jan/2012:17:08:34 -0500] 
cupsdCreateSubscription(con=0x21a3afe8(16), uri=/)

D [12/Jan/2012:17:08:34 -0500] pullmethod=ippget
D [12/Jan/2012:17:08:34 -0500] notify-lease-duration=86400
D [12/Jan/2012:17:08:34 -0500] notify-time-interval=0
D [12/Jan/2012:17:08:34 -0500] cupsdAddSubscription(mask=17800, 
dest=(nil)(), job=(nil)(0), uri=(null))

D [12/Jan/2012:17:08:34 -0500] Added subscription #148 for server.
D [12/Jan/2012:17:08:34 -0500] cupsdMarkDirty(-S)
D [12/Jan/2012:17:08:34 -0500] cupsdSetBusyState: newbusy=Active 
clients and dirty files, busy=Active clients and dirty files
D [12/Jan/2012:17:08:34 -0500] Returning IPP successful-ok for 
Create-Printer-Subscription (/) from localhost
D [12/Jan/2012:17:08:34 -0500] cupsdSetBusyState: newbusy=Dirty files, 
busy=Active clients and dirty files

D [12/Jan/2012:17:08:36 -0500] cupsdReadClient: 16 POST / HTTP/1.1
D [12/Jan/2012:17:08:36 -0500] cupsdSetBusyState: newbusy=Active 
clients and dirty files, busy=Dirty files
D [12/Jan/2012:17:08:36 -0500] cupsdAuthorize: No authentication data 
provided.

D [12/Jan/2012:17:08:36 -0500] cupsdReadClient: 16 1.1 Get-Notifications 1
D [12/Jan/2012:17:08:36 -0500] Get-Notifications /
D [12/Jan/2012:17:08:36 -0500] cupsdIsAuthorized: 
requesting-user-name=mickey
D [12/Jan/2012:17:08:36 -0500] Returning IPP successful-ok for 
Get-Notifications (/) from localhost
D [12/Jan/2012:17:08:36 -0500] cupsdSetBusyState: newbusy=Dirty files, 
busy=Active clients and dirty files

D [12/Jan/2012:17:08:54 -0500] cupsdAcceptClient: skipping getpeercon()
D [12/Jan/2012:17:08:54 -0500] cupsdAcceptClient: 18 from localhost (Domain)
D [12/Jan/2012:17:08:54 -0500] cupsdReadClient: 18 POST 
/printers/Samsung-CLX-3170 HTTP/1.1
D [12/Jan/2012:17:08:54 -0500] cupsdSetBusyState: newbusy=Active 
clients and dirty files, busy=Dirty files
D [12/Jan/2012:17:08:54 -0500] cupsdAuthorize: No authentication data 
provided.

D [12/Jan/2012:17:08:54 -0500] cupsdReadClient: 18 1.1 Print-Job 1
D [12/Jan/2012:17:08:54 -0500] Print-Job 
ipp://localhost/printers/Samsung-CLX-3170

D [12/Jan/2012:17:08:54 -0500] [Job ???] Auto-typing file...
I [12/Jan/2012:17:08:54 -0500] [Job ???] Request file type is 
application/vnd.cups-banner.

D [12/Jan/2012:17:08:54 -0500] add_job: setting context of job to UNKNOWN SL
D [12/Jan/2012:17:08:54 -0500] cupsdMarkDirty(J-)
D [12/Jan/2012:17:08:54 -0500] cupsdSetBusyState: newbusy=Active 
clients and dirty files, busy=Active clients and dirty files

D [12/Jan/2012:17:08:54 -0500] add_job: requesting-user-name=mickey
D [12/Jan/2012:17:08:54 -0500] Adding default job-sheets values 
none,none...

I [12/Jan/2012:17:08:54 -0500] [Job 85] Adding start banner page none.
D 

Re: Support for onscreen keyboard

2012-01-12 Thread g

On 01/12/2012 07:25 PM, Kyle Pablo wrote:


hi kyle.

i wish i could help you with your problem, but i can not and leave
that to other readers of this 'tsl'.

to help you reach more subscribers, i will make a suggestion, put
list name, users@lists.fedoraproject.org, in To: field.

what ever you are doing to get To: undisclosed-recipients:; is
going to limit number of subscribers seeing your post because
undisclosed-recipients is what is in many spam emails and many
people, myself included filter emails with undisclosed-recipients
in To: field.

-- 

peace out.

tc.hago,

g
.

*please reply plain text only. html text are deleted*


in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
The installation instructions stated to install Windows 2000 or better.
So I installed Linux.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/




signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: no internet connection with Fedora16

2012-01-12 Thread Michael Hannon
 From: Joe Zeff j...@zeff.us
Sent: Wednesday, January 11, 2012 10:46 AM


Hi, Joe.

 My desktop doesn't use NM, and for a very good reason: it nuked my DNS
 numbers every time I rebooted until I permanently disabled it.  I've not had
 a single issue of that kind since I went back to using network.

I'm beginning to think that resistance is futile and have started to accept
the inevitability of NM.  OTOH, I run my own name server for my tiny home
network and was none too pleased to find NM wiping my name server out of
/etc/resolv.conf.

I was querying this list about a somewhat-related problem when somebody (don't
recall the name offhand) made the brilliant suggestion to mark resolv.conf as
immutable.  I've added the following to my resolv.conf to remind me of what
I did and how to undo it:

    #
    # I've marked this file as immutable via:
    #
    #    chattr +i resolv.conf
    #
    # To undo that:
    #
    #    chattr -i resolv.conf
    
I haven't been mugged by NM since I did this.

BTW, I did the same thing to my iptables file to keep some helpful system
utility (NM?) from messing with my configuration.

-- Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


F16 and firewalld

2012-01-12 Thread Paolo Galtieri
In F14 I'm used to editing /etc/sysconf/iptables, add my rules and run
service iptables restart to reload the rules.

I assumed that the way to do it now was systemctl reload iptables.service.
This of course was wrong.  So I did a little googleing.

There apparently is a new firewall daemon firewalld in F16.  Which
interstingly enough is not installed by default though iptables are.

So I install firewalld, enable the service and then start the service.  I
run iptables --list to see the current config.

I edit the /etc/sysconf/iptables file and enter systemctl reload
firewalld.service and much to my surprise I get the following

[root@virtualF16 sysconfig]# systemctl reload firewalld.service
Job failed. See system logs and 'systemctl status' for details.

[root@virtualF16 sysconfig]# systemctl status firewalld.service

firewalld.service - Firewall dynamic change handling daemon
  Loaded: loaded (/lib/systemd/system/firewalld.service; enabled)
  Active: active (running) since Thu, 12 Jan 2012 15:35:27 -0700; 9min
ago
 Process: 25110 ExecStart=/usr/sbin/firewalld $FIREWALLD_ARGS
(code=exited, status=0/SUCCESS)
Main PID: 25111 (firewalld)
  CGroup: name=systemd:/system/firewalld.service
  ��� 25111 /usr/bin/python /usr/sbin/firewalld
  ��� 25448 /usr/bin/python /usr/bin/firewall-cmd --reload

In /var/log/messages I see the following:

Jan 12 15:36:27 virtualF16 firewall-cmd[25448]:
ERROR:dbus.proxies:Introspect error on :1.387:/org/fedoraproject/FirewallD:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not
receive a reply. Possible causes include: the remote application did not
send a reply, the message bus security policy blocked the reply, the reply
timeout expired, or the network connection was broken.
Jan 12 15:37:32 virtualF16 systemd[1]: firewalld.service operation timed
out. Stopping.

However systemctl stop firewalld.service and systemctl start
firewalld.service work just fine.

However, I still have not found out how to modify /etc/sysconf/iptables and
get the new rules reloaded because firewalld does nothing with iptables.

I looked in the F16 System Administrators guide and there was nothing on
iptables there.

Any assistance is appreciated.

Paolo
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: no internet connection with Fedora16

2012-01-12 Thread Joe Zeff

On 01/12/2012 02:35 PM, Michael Hannon wrote:

I'm beginning to think that resistance is futile and have started to accept
the inevitability of NM.


Only if you're being Borged.  IMAO, it's far more accurate to shout, 
Resistance is USELESS! along with the Vogons.


Seriously, as I don't use it at all on my desktop, is there any reason 
to have it running?

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: no internet connection with Fedora16

2012-01-12 Thread T.C. Hollingsworth
On Wed, Jan 11, 2012 at 7:27 PM, Timothy Murphy gayle...@eircom.net wrote:
 Personally, I think NM tries to do too much;
 I would much prefer an application that just dealt with WiFi.

Really, wired connections require absolutely nothing extra that
NetworkManager wouldn't have to deal with for wifi connections, so why
not let it handle wired connections too?

I occasionally use a wired connection with my laptop that normally
uses wireless connections (usually to get a faster transfer rate to a
local machine, since I haven't felt the need to switch to 802.11n yet)
and it would be really annoying if I had to go mess around in
/etc/sysconfig to get it working every time.  With NetworkManager I
just plug in an ethernet cord and it just works.

-T.C.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Fc16 printer not running

2012-01-12 Thread david walcroft

I have just done a Fc16 x86_64 minimal install,I could not print
so I tried installing hplip for my HP psc2110,to my surprise it 
installed as I thought it was installed during the Fc16 minimal install.

 I get this error on using systemctl.

[david@reddwarf ~]$ su -c '/sbin/systemctl start cups.service'
Password:
bash: /sbin/systemctl: No such file or directory
[david@reddwarf ~]$ su -c systemctl start cups.service
su: user start does not exist
[david@reddwarf ~]$ su -c 'cupsctl LogLevel=debug2'
Password:
cupsctl: Unable to connect to server: Connection refused
[david@reddwarf ~]$

I also tried to enter Cups admin via http://localhost:631/admin; but 
received a 'cannot connect to server' error.


I tried -

[david@reddwarf ~]$ service cups restart
Redirecting to /bin/systemctl  restart cups.service
Failed to issue method call: Access denied

I also tried 'system config printer' but only had a 'start server' button

Thanks   david
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread david walcroft

On 01/13/2012 09:32 AM, david walcroft wrote:

I have just done a Fc16 x86_64 minimal install,I could not print
so I tried installing hplip for my HP psc2110,to my surprise it
installed as I thought it was installed during the Fc16 minimal install.
I get this error on using systemctl.

[david@reddwarf ~]$ su -c '/sbin/systemctl start cups.service'
Password:
bash: /sbin/systemctl: No such file or directory
[david@reddwarf ~]$ su -c systemctl start cups.service
su: user start does not exist
[david@reddwarf ~]$ su -c 'cupsctl LogLevel=debug2'
Password:
cupsctl: Unable to connect to server: Connection refused
[david@reddwarf ~]$

I also tried to enter Cups admin via http://localhost:631/admin; but
received a 'cannot connect to server' error.

I tried -

[david@reddwarf ~]$ service cups restart
Redirecting to /bin/systemctl restart cups.service
Failed to issue method call: Access denied

I also tried 'system config printer' but only had a 'start server' button

Thanks david


I have just tried :-

[david@reddwarf ~]$ wget http://localhost:631/admin/log/error_log
--2012-01-13 09:35:54--  http://localhost:631/admin/log/error_log
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:631... failed: Connection refused.
Connecting to localhost|127.0.0.1|:631... failed: Connection refused.
[1]+  Donesystem-config-printer
[david@reddwarf ~]$

Thanks   david
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread Joe Zeff

On 01/12/2012 03:32 PM, david walcroft wrote:

I have just done a Fc16 x86_64 minimal install,I could not print
so I tried installing hplip for my HP psc2110,to my surprise it
installed as I thought it was installed during the Fc16 minimal install.



The hplip package is only needed if you're using a printer from HP.  Why 
would you expect it to be included in a *minimal* installation?




[david@reddwarf ~]$ su -c systemctl start cups.service
su: user start does not exist


su -c 'systemctl start cups.service'

I've had it bashed into my head enough times that su will always 
misunderstand the rest of the command line if there's any spaces in it 
to make it automatic for me to enclose things in ticks.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread Ed Greshko
On 01/13/2012 07:38 AM, david walcroft wrote:
 On 01/13/2012 09:32 AM, david walcroft wrote:
 I have just done a Fc16 x86_64 minimal install,I could not print
 so I tried installing hplip for my HP psc2110,to my surprise it
 installed as I thought it was installed during the Fc16 minimal install.
 I get this error on using systemctl.

 [david@reddwarf ~]$ su -c '/sbin/systemctl start cups.service'
 Password:
 bash: /sbin/systemctl: No such file or directory
 [david@reddwarf ~]$ su -c systemctl start cups.service
 su: user start does not exist
 [david@reddwarf ~]$ su -c 'cupsctl LogLevel=debug2'
 Password:
 cupsctl: Unable to connect to server: Connection refused
 [david@reddwarf ~]$

 I also tried to enter Cups admin via http://localhost:631/admin; but
 received a 'cannot connect to server' error.

 I tried -

 [david@reddwarf ~]$ service cups restart
 Redirecting to /bin/systemctl restart cups.service
 Failed to issue method call: Access denied

 I also tried 'system config printer' but only had a 'start server'
 button

 Thanks david

 I have just tried :-

 [david@reddwarf ~]$ wget http://localhost:631/admin/log/error_log
 --2012-01-13 09:35:54--  http://localhost:631/admin/log/error_log
 Resolving localhost... ::1, 127.0.0.1
 Connecting to localhost|::1|:631... failed: Connection refused.
 Connecting to localhost|127.0.0.1|:631... failed: Connection refused.
 [1]+  Donesystem-config-printer
 [david@reddwarf ~]$

 Thanks   david

Have you noticed that you're getting basic errors in your command due to
bad formatting?

Anyway.

What do you get when you issue the command systemctl status cups.service?

-- 
A common mistake that people make when trying to design something
completely foolproof was to underestimate the ingenuity of complete
fools. -- Douglas Adams in Mostly Harmless



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread david walcroft

On 01/13/2012 09:47 AM, Ed Greshko wrote:

On 01/13/2012 07:38 AM, david walcroft wrote:

On 01/13/2012 09:32 AM, david walcroft wrote:

I have just done a Fc16 x86_64 minimal install,I could not print
so I tried installing hplip for my HP psc2110,to my surprise it
installed as I thought it was installed during the Fc16 minimal install.
I get this error on using systemctl.

[david@reddwarf ~]$ su -c '/sbin/systemctl start cups.service'
Password:
bash: /sbin/systemctl: No such file or directory
[david@reddwarf ~]$ su -c systemctl start cups.service
su: user start does not exist
[david@reddwarf ~]$ su -c 'cupsctl LogLevel=debug2'
Password:
cupsctl: Unable to connect to server: Connection refused
[david@reddwarf ~]$

I also tried to enter Cups admin via http://localhost:631/admin; but
received a 'cannot connect to server' error.

I tried -

[david@reddwarf ~]$ service cups restart
Redirecting to /bin/systemctl restart cups.service
Failed to issue method call: Access denied

I also tried 'system config printer' but only had a 'start server'
button

Thanks david


I have just tried :-

[david@reddwarf ~]$ wget http://localhost:631/admin/log/error_log
--2012-01-13 09:35:54--  http://localhost:631/admin/log/error_log
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:631... failed: Connection refused.
Connecting to localhost|127.0.0.1|:631... failed: Connection refused.
[1]+  Donesystem-config-printer
[david@reddwarf ~]$

Thanks   david


Have you noticed that you're getting basic errors in your command due to
bad formatting?

Anyway.

What do you get when you issue the command systemctl status cups.service?



[david@reddwarf ~]$ systemctl status cups.service

bash: systemctl status cups.service: command not found
[david@reddwarf ~]$

Thanks  david

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread david walcroft

On 01/13/2012 09:42 AM, Joe Zeff wrote:

On 01/12/2012 03:32 PM, david walcroft wrote:

I have just done a Fc16 x86_64 minimal install,I could not print
so I tried installing hplip for my HP psc2110,to my surprise it
installed as I thought it was installed during the Fc16 minimal install.



The hplip package is only needed if you're using a printer from HP. Why
would you expect it to be included in a *minimal* installation?



[david@reddwarf ~]$ su -c systemctl start cups.service
su: user start does not exist


su -c 'systemctl start cups.service'

I've had it bashed into my head enough times that su will always
misunderstand the rest of the command line if there's any spaces in it
to make it automatic for me to enclose things in ticks.



[david@reddwarf ~]$ su -c 'systemctl start cups.service'
Password:
[david@reddwarf ~]$ systemctl status cups.service
bash: systemctl status cups.service: command not found
[david@reddwarf ~]$

Thanks   david
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread Ed Greshko
On 01/13/2012 07:58 AM, david walcroft wrote:
 bash: systemctl status cups.service: command not found
 [david@reddwarf ~]$

 Thanks  david 

Sorry to confuse you with my use of 

Here is the actual example

[egreshko@meimei init.d]$ /bin/systemctl status cups.service

cups.service - CUPS Printing Service
  Loaded: loaded (/lib/systemd/system/cups.service; enabled)
  Active: active (running) since Wed, 11 Jan 2012 16:40:11
+0800; 1 day and 15h ago
Main PID: 2328 (cupsd)
  CGroup: name=systemd:/system/cups.service
  └ 2328 /usr/sbin/cupsd -f


-- 
A common mistake that people make when trying to design something
completely foolproof was to underestimate the ingenuity of complete
fools. -- Douglas Adams in Mostly Harmless



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F16 and firewalld

2012-01-12 Thread T.C. Hollingsworth
On Thu, Jan 12, 2012 at 3:50 PM, Paolo Galtieri pgalti...@gmail.com wrote:
 In F14 I'm used to editing /etc/sysconf/iptables, add my rules and run
 service iptables restart to reload the rules.

 I assumed that the way to do it now was systemctl reload iptables.service.
 This of course was wrong.  So I did a little googleing.

If the old way was service iptables restart, the new way would be
systemctl restart iptables.service.  systemd most certainly did not
change the meaning of stop, start, restart, or reload, so you
should continue to use the same verb with systemctl.  Incidentally,
service iptables restart will still work too.

The systemd unit file for iptables doesn't define a reload action,
presumably because the old initscript didn't either.  IIUC, there
isn't a way to reload iptables rules in the classic sense of the
word.  (It usually means reload configuration without restarting the
daemon, but iptables requires a restart to reload the configuration.)

IIRC, firewalld is supposed to fix this, but it isn't ready for prime
time yet, which is why it's not enabled by default and perhaps why
it's giving you grief.  I would just dispense with it for now and do
things as you always did.

 There apparently is a new firewall daemon firewalld in F16.  Which
 interstingly enough is not installed by default though iptables are.

 So I install firewalld, enable the service and then start the service.  I
 run iptables --list to see the current config.

 I edit the /etc/sysconf/iptables file and enter systemctl reload
 firewalld.service and much to my surprise I get the following

 [root@virtualF16 sysconfig]# systemctl reload firewalld.service
 Job failed. See system logs and 'systemctl status' for details.

 [root@virtualF16 sysconfig]# systemctl status firewalld.service

 firewalld.service - Firewall dynamic change handling daemon
       Loaded: loaded (/lib/systemd/system/firewalld.service; enabled)
       Active: active (running) since Thu, 12 Jan 2012 15:35:27 -0700; 9min
 ago
      Process: 25110 ExecStart=/usr/sbin/firewalld $FIREWALLD_ARGS
 (code=exited, status=0/SUCCESS)
     Main PID: 25111 (firewalld)
       CGroup: name=systemd:/system/firewalld.service
           ��� 25111 /usr/bin/python /usr/sbin/firewalld
           ��� 25448 /usr/bin/python /usr/bin/firewall-cmd --reload

 In /var/log/messages I see the following:

 Jan 12 15:36:27 virtualF16 firewall-cmd[25448]:
 ERROR:dbus.proxies:Introspect error on :1.387:/org/fedoraproject/FirewallD:
 dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not
 receive a reply. Possible causes include: the remote application did not
 send a reply, the message bus security policy blocked the reply, the reply
 timeout expired, or the network connection was broken.
 Jan 12 15:37:32 virtualF16 systemd[1]: firewalld.service operation timed
 out. Stopping.

 However systemctl stop firewalld.service and systemctl start
 firewalld.service work just fine.

 However, I still have not found out how to modify /etc/sysconf/iptables and
 get the new rules reloaded because firewalld does nothing with iptables.

 I looked in the F16 System Administrators guide and there was nothing on
 iptables there.

 Any assistance is appreciated.

 Paolo
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fedora 16 instabilities

2012-01-12 Thread Ian Malone
On 11 January 2012 20:00, David A. De Graaf d...@datix.us wrote:
 Here's why Fedora 16 isn't ready for prime time.
 Many of these have been BZ'd, without effect.


And most are not 'instabilities', not aware of any system release that
hasn't had some problems, some are problems with particular programmes
rather than platform problems.

 - Shutdown takes much too long, and often fails completely, like
  reboot.  This is quite annoying, especially with laptops.


I find shutdown pretty quick, faster than WinXP certainly. You may
have hardware or services that are being slow, possibly also related
to the mention of a machine not powering off.

 - Changing UID's to start at 1000 instead of 500 is just annoying.


Compatibility with other Linux systems, with different emphasis it's
*just* annoying.

 - The latest kernel, 3.1.7-1.fc16.x86_64, causes skype to crash
  unless it is run with strace, in which case it fails to fail.
  Go figure!


As others have said it's closed source and does funny stuff. It's also
now owned by MS. That said, Skype 2.2 here, static build on kernel
3.1.7-1.fc16.x86_64 is working fine.

 - On one laptop the NumLock will sometimes turn itself on.  This can
  be annoying if a password must be typed.

 - On one machine, the password had be typed quickly in a console.  The
  root password was too hard to type to meet that requirement.
  However, if it was entered by cut-and-paste, it was OK.
  In X, there was no problem.

 - On one machine (of seven) the CD drawer pops open at random times.

Weird list of things that sound more like hardware problems than anything else.


 - An older nvidia NV18 GeForce4 MX 440 card requires the earlier
  version of the nvidia driver - which is no longer supported.  The
  nouveau driver doesn't work nearly as well.  A perfectly functional
  video card is rendered disfunctional.

I used to have one of those, they pre-date nouveau. nvidia still
support it, rpmfusion probably didn't think anyone would still need to
use these 96.43.20. If you asked nicely they might put it back, or you
could investigate how to rpmbuild the package from the src.rpm and the
binary blob.

 - The rt2500usb driver for my DLink USB wireless transceiver won't
  work reliably unless I disable power management with:
    iwconfig wlan0 power off
  However, trying to do this automatically in a control file,
    /etc/NetworkManager/dispatcher.d/16-power
  only works sometimes.  Another puzzling and annoying randomness.


See https://bugzilla.redhat.com/show_bug.cgi?id=731672#c19 last
paragraph of that comment for a better fix. You're not doing it in a
place where it's reliably started in time.

 - A directory, ~/.gvfs, cannot be read even by root.  This should be
  impossible in a sane Linux system.  This unacceptable behaviour can
  be expunged by removing the gvfs-fuse package, which takes with it
  the shotwell, totem, and totem-nautilus packages.  So far, I haven't
  noticed any loss of functionality.


In my experience root should not expect to be able to read all points
on the filesystem, this is more obvious when you consider remote
filesystems, but also makes sense for virtual ones.

-- 
imalone
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread david walcroft

On 01/13/2012 10:05 AM, Ed Greshko wrote:

On 01/13/2012 07:58 AM, david walcroft wrote:

bash: systemctl status cups.service: command not found
[david@reddwarf ~]$

Thanks  david


Sorry to confuse you with my use of 

Here is the actual example

[egreshko@meimei init.d]$ /bin/systemctl status cups.service

cups.service - CUPS Printing Service
   Loaded: loaded (/lib/systemd/system/cups.service; enabled)
   Active: active (running) since Wed, 11 Jan 2012 16:40:11
+0800; 1 day and 15h ago
 Main PID: 2328 (cupsd)
   CGroup: name=systemd:/system/cups.service
   â”” 2328 /usr/sbin/cupsd -f






Thanks Ed,

[david@reddwarf ~]$  /bin/systemctl status cups.service
cups.service - CUPS Printing Service
  Loaded: loaded (/lib/systemd/system/cups.service; enabled)
  Active: active (running) since Fri, 13 Jan 2012 09:59:45 
+1000; 14min ago

Main PID: 9197 (cupsd)
  CGroup: name=systemd:/system/cups.service
  └ 9197 /usr/sbin/cupsd -f
[david@reddwarf ~]$

I can only print to file at the moment.

david

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread Ed Greshko
On 01/13/2012 08:17 AM, david walcroft wrote:
 [david@reddwarf ~]$  /bin/systemctl status cups.service
 cups.service - CUPS Printing Service
   Loaded: loaded (/lib/systemd/system/cups.service; enabled)
   Active: active (running) since Fri, 13 Jan 2012 09:59:45
 +1000; 14min ago
 Main PID: 9197 (cupsd)
   CGroup: name=systemd:/system/cups.service
   └ 9197 /usr/sbin/cupsd -f
 [david@reddwarf ~]$

And http://127.0.0.1:631/admin still gives an error?

-- 
A common mistake that people make when trying to design something
completely foolproof was to underestimate the ingenuity of complete
fools. -- Douglas Adams in Mostly Harmless



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread david walcroft

On 01/13/2012 10:17 AM, david walcroft wrote:

On 01/13/2012 10:05 AM, Ed Greshko wrote:

On 01/13/2012 07:58 AM, david walcroft wrote:

bash: systemctl status cups.service: command not found
[david@reddwarf ~]$

Thanks david


Sorry to confuse you with my use of 

Here is the actual example

[egreshko@meimei init.d]$ /bin/systemctl status cups.service

cups.service - CUPS Printing Service
Loaded: loaded (/lib/systemd/system/cups.service; enabled)
Active: active (running) since Wed, 11 Jan 2012 16:40:11
+0800; 1 day and 15h ago
Main PID: 2328 (cupsd)
CGroup: name=systemd:/system/cups.service
� 2328 /usr/sbin/cupsd -f






Thanks Ed,

[david@reddwarf ~]$ /bin/systemctl status cups.service
cups.service - CUPS Printing Service
Loaded: loaded (/lib/systemd/system/cups.service; enabled)
Active: active (running) since Fri, 13 Jan 2012 09:59:45 +1000; 14min ago
Main PID: 9197 (cupsd)
CGroup: name=systemd:/system/cups.service
â”” 9197 /usr/sbin/cupsd -f
[david@reddwarf ~]$

I can only print to file at the moment.

david



I now find I can log onto 'http://localhost:631/admin' but to add 
printers errors to 'forbidden'


david
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread Ed Greshko
On 01/13/2012 08:29 AM, david walcroft wrote:
 I now find I can log onto 'http://localhost:631/admin' but to add
 printers errors to 'forbidden' 

When you add printer you get a login dialog.  What user are you
entering?  I normally just use the root user for this.

-- 
A common mistake that people make when trying to design something
completely foolproof was to underestimate the ingenuity of complete
fools. -- Douglas Adams in Mostly Harmless



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread david walcroft

On 01/13/2012 10:33 AM, Ed Greshko wrote:

On 01/13/2012 08:29 AM, david walcroft wrote:

I now find I can log onto 'http://localhost:631/admin' but to add
printers errors to 'forbidden'


When you add printer you get a login dialog.  What user are you
entering?  I normally just use the root user for this.



No I used 'david', not root user.

thanks  david

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread Ed Greshko
On 01/13/2012 08:42 AM, david walcroft wrote:
 No I used 'david', not root user. 

Well, that is your problem.  A normal user isn't generally permitted to
make system wide configuration changes.

-- 
A common mistake that people make when trying to design something
completely foolproof was to underestimate the ingenuity of complete
fools. -- Douglas Adams in Mostly Harmless



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread david walcroft

On 01/13/2012 10:49 AM, Ed Greshko wrote:

On 01/13/2012 08:42 AM, david walcroft wrote:

No I used 'david', not root user.


Well, that is your problem.  A normal user isn't generally permitted to
make system wide configuration changes.

Can you tell me how to rectify my mistake and give me root privileges. 
I'm just a below average user.


Thanks  david

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread fred smith
On Fri, Jan 13, 2012 at 11:02:40AM +1000, david walcroft wrote:
 On 01/13/2012 10:49 AM, Ed Greshko wrote:
 On 01/13/2012 08:42 AM, david walcroft wrote:
 No I used 'david', not root user.
 
 Well, that is your problem.  A normal user isn't generally permitted to
 make system wide configuration changes.
 
 Can you tell me how to rectify my mistake and give me root privileges. 
 I'm just a below average user.
 
 Thanks  david

when you run the system-config-printer tool (which is what you get from
the gnome menus to add a printer) and it asks for authentication, just
type in root's password.

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us 
Do you not know? Have you not heard? 
The LORD is the everlasting God, the Creator of the ends of the earth. 
  He will not grow tired or weary, and his understanding no one can fathom.
- Isaiah 40:28 (niv) -
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread Ed Greshko
On 01/13/2012 09:02 AM, david walcroft wrote:
 Can you tell me how to rectify my mistake and give me root privileges.
 I'm just a below average user.

Close and Reopen your browser.  You'll get the login prompt again.

-- 
A common mistake that people make when trying to design something
completely foolproof was to underestimate the ingenuity of complete
fools. -- Douglas Adams in Mostly Harmless



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How (or why) does this bash script snippet work?

2012-01-12 Thread Mark LaPierre

On 01/12/2012 02:13 PM, Anthony R Fletcher wrote:

On 12 Jan 2012 at 14:02:50, Dean S. Messing wrote:


In a system script I find this snippet

   nodevs=$(  /proc/filesystems fgrep rootfs)

and don't understand the syntax.  According to the bash man page,

$(  file) is shorthand for $(cat file).  But then the above should read

   nodevs=$(  /proc/filesystems | fgrep rootfs)

However, the latter leaves $nodevs empty whereas the former puts the
stuff that fgrep processes into nodevs as it should.



The command
/proc/filesystems fgrep rootfs

redirects the input from the file /proc/filesystems into the command
fgrep rootfs. You could rewrite this as
   fgrep rootfs  /proc/filesystems

nodevs=$( command ) takes the result of the command inside the
parentheses and assigns into the variable nodevs.

Anthony.



or you could do:

nodevs=`fgrep rootfs /proc/filesystems`

The only problem is that putting the command inside ticks launches a 
child process that consumes additional resources.



--
_
   °v°
  /(_)\
   ^ ^  Mark LaPierre
Registerd Linux user No #267004
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Notecase for F-16 -

2012-01-12 Thread Bob Goodwin



   I've just installed F-16 but can't find a Notecase rpm for
   Fedora 16. I have a very extensives set of notes that I rely on
   in Notecase.

   What are my options?

   Bob


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running

2012-01-12 Thread david walcroft

On 01/13/2012 11:06 AM, Ed Greshko wrote:

On 01/13/2012 09:02 AM, david walcroft wrote:

Can you tell me how to rectify my mistake and give me root privileges.
I'm just a below average user.


Close and Reopen your browser.  You'll get the login prompt again.



Yes that worked,I have set up my printer and printed the test page.
Thank you for your help Ed.

david

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fc16 printer not running (Resolved)

2012-01-12 Thread david walcroft

On 01/13/2012 11:04 AM, fred smith wrote:

On Fri, Jan 13, 2012 at 11:02:40AM +1000, david walcroft wrote:

On 01/13/2012 10:49 AM, Ed Greshko wrote:

On 01/13/2012 08:42 AM, david walcroft wrote:

No I used 'david', not root user.


Well, that is your problem.  A normal user isn't generally permitted to
make system wide configuration changes.


Can you tell me how to rectify my mistake and give me root privileges.
I'm just a below average user.

Thanks  david


when you run the system-config-printer tool (which is what you get from
the gnome menus to add a printer) and it asks for authentication, just
type in root's password.

I ran system-config-printer again and got a response this time,printing 
is now up and running.


Thanks  david
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How (or why) does this bash script snippet work?

2012-01-12 Thread Dean S. Messing

On 12 Jan 2012 14:13:53, Anthony R Fletcher wrote:
 On 12 Jan 2012 at 14:02:50, Dean S. Messing wrote:
  
  In a system script I find this snippet
  
nodevs=$( /proc/filesystems fgrep rootfs)
  
  and don't understand the syntax.  According to the bash man page,
  
  $( file) is shorthand for $(cat file).  But then the above should read
  
nodevs=$( /proc/filesystems | fgrep rootfs)
  
  However, the latter leaves $nodevs empty whereas the former puts the
  stuff that fgrep processes into nodevs as it should.
 
 
 The command 
   /proc/filesystems fgrep rootfs
 
 redirects the input from the file /proc/filesystems into the command
 fgrep rootfs. You could rewrite this as
   fgrep rootfs  /proc/filesystems
 
 nodevs=$( command ) takes the result of the command inside the
 parentheses and assigns into the variable nodevs.

Ahh! A perfect explanation.   Thanks.

I did not realise (or, rather, think about) trying the entire command w/in 
$(...) on
the commandline.  The manpage says $( file) is equivalent
to $(cat file), so I made the mathematically naive assumption that 
 file is equivalent to cat file.

When  file didn't act like cat file on the commandline (which
I did try) I became confused.

Dean
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How (or why) does this bash script snippet work?

2012-01-12 Thread Dean S. Messing
On 12 Jan 2012 at 20:34:26, Mark LaPierre wrote:
 On 01/12/2012 02:13 PM, Anthony R Fletcher wrote:
  On 12 Jan 2012 at 14:02:50, Dean S. Messing wrote:
 
  In a system script I find this snippet
 
 nodevs=$(  /proc/filesystems fgrep rootfs)
 
  and don't understand the syntax.  According to the bash man page,
 
  $(  file) is shorthand for $(cat file).  But then the above should read
 
 nodevs=$(  /proc/filesystems | fgrep rootfs)
 
  However, the latter leaves $nodevs empty whereas the former puts the
  stuff that fgrep processes into nodevs as it should.
 
 
  The command
  /proc/filesystems fgrep rootfs
 
  redirects the input from the file /proc/filesystems into the command
  fgrep rootfs. You could rewrite this as
 fgrep rootfs  /proc/filesystems
 
  nodevs=$( command ) takes the result of the command inside the
  parentheses and assigns into the variable nodevs.
 
  Anthony.
 
 
 or you could do:
 
 nodevs=`fgrep rootfs /proc/filesystems`
 
 The only problem is that putting the command inside ticks launches a 
 child process that consumes additional resources.

Correct.

But I lied slightly.  What was actually in the script was:

  nodevs=$( /proc/filesystems awk ...)

where ... was complicated. I wanted to simply the issue so I subbed
something trivial for the command.

Dean

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How (or why) does this bash script snippet work?

2012-01-12 Thread Cameron Simpson
On 12Jan2012 20:34, Mark LaPierre marklap...@aol.com wrote:
| or you could do:
| 
| nodevs=`fgrep rootfs /proc/filesystems`
| 
| The only problem is that putting the command inside ticks launches a
| child process that consumes additional resources.

Shrug. So does:

  nodevs=$(fgrep rootfs /proc/filesystems)

The:

  foo command [args...]

form is handy for programmatically constructed pipelines, too.

Cheers,
-- 
Cameron Simpson c...@zip.com.au DoD#743
http://www.cskk.ezoshosting.com/cs/

When in doubt, gas it. It may not solve the problem, but it ends the suspense.
- Steve Moonitz (92 Ducati 900ss) ste...@ew.timeinc.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How (or why) does this bash script snippet work?

2012-01-12 Thread Dean S. Messing

On 13 Jan 2012 at 13:55:27, Cameron Simpson wrote:
snip
 The:
 
   foo command [args...]
 
 form is handy for programmatically constructed pipelines, too.

Sorry, I don't understand programmatically constructed pipelines.
Would you elaborate?  Thanks
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fedora 16 instabilities

2012-01-12 Thread Fedora User
On Wed, 11 Jan 2012 15:00:09 -0500
David A. De Graaf d...@datix.us wrote:

 Here's why Fedora 16 isn't ready for prime time. 
 Many of these have been BZ'd, without effect.
 
I was a tad frustrated with systemd for a time and realized that it was
just an old-dog-new-trick issue. I'm an old fart. Once you figure it
out, though, it makes perfect sense.

I have been at this since RH 7.2, Around FC-4 I stopped dual booting. I
clearly recall that, in FC1, just burning a CD was a challenge. What
has happened is that Linux has become enormously more complex than it
used to be. It does much more but we users who aren't complete geeks
have lost some control over our computers. 

I just got this new laptop and quickly remembered why I became
interested Linux in the first place. I formatted the entire disk to
ext4 and wiped out Windows.

May I suggest that you take a breath and then triage you numerous
issues. Resolve them one (and just one) at a time? They will get
resolved; they always do.

BTW, I was extremely disappointed with KDE3 to 4. However, I am
completely hooked, again. You might want to give it a try. I agree with
you regarding Gnome.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Notecase for F-16 -

2012-01-12 Thread Timothy Davis
On Thu, Jan 12, 2012 at 8:41 PM, Bob Goodwin bobgood...@wildblue.netwrote:



   I've just installed F-16 but can't find a Notecase rpm for
   Fedora 16. I have a very extensives set of notes that I rely on
   in Notecase.

   What are my options?

  Bob


 You can go to the website to download
http://www.notecasepro.com/download.php
-- 
Fedora, Ubuntu and Slackware user
Linux counter #386175
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Notecase for F-16 -

2012-01-12 Thread Fedora User
On Thu, 12 Jan 2012 20:41:22 -0500
Bob Goodwin bobgood...@wildblue.net wrote:

 
 
 I've just installed F-16 but can't find a Notecase rpm for
 Fedora 16. I have a very extensives set of notes that I rely
 on in Notecase.
 
 What are my options?
 
There are Fedora RPM's on the NotecasePro site. You MIGHT be able to
import your notes into tomboy - which I have not used in several years.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Wireless laptop connection spontaneously disconnects and reconnects

2012-01-12 Thread Dean S. Messing

Since loading F15 on a brand new Dell M4600 Precision a short time ago,
I'm seeing it spontaneously disconnect and reconnect to my home wireless
system. Below are a few hours of entries in /var/log/wpa_supplicant.log
from this afternoon.  There's no way to know the exact times because
there's no timestamps, but I cleared the file earlier and restarted
everything.  (Access Point MAC addrs are elided).

The disconnect is odd in that NM's wireless icon in the KDE panel shows
full power and the popup doesn't indicate that anything is wrong.  The
disconnects seem to last a couple of minutes.  Sometimes I see two or
three happen in the space of an hour.

The laptop is a new Dell M4600 Precision and the network hardware (from
lspci) is:

Network controller: Intel Corporation Centrino Advanced-N + WiMAX 6250 (rev 5e)

Any thoughts from the Wireless Wizards?

=== about 5 hours of entries from /var/log/wpa_supplicant.log ===
WPA: Group rekeying completed with ??:??:??:??:??:?? [GTK=TKIP]
CTRL-EVENT-DISCONNECTED bssid=??:??:??:??:??:?? reason=16
Trying to authenticate with ??:??:??:??:??:?? (SSID='whoopla' freq=2437 MHz)
Trying to associate with ??:??:??:??:??:?? (SSID='whoopla' freq=2437 MHz)
Associated with ??:??:??:??:??:??
WPA: Key negotiation completed with ??:??:??:??:??:?? [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to ??:??:??:??:??:?? completed (reauth) [id=0 
id_str=]
WPA: Group rekeying completed with ??:??:??:??:??:?? [GTK=TKIP]
WPA: Group rekeying completed with ??:??:??:??:??:?? [GTK=TKIP]
CTRL-EVENT-DISCONNECTED bssid=??:??:??:??:??:?? reason=16
Trying to authenticate with ??:??:??:??:??:?? (SSID='whoopla' freq=2437 MHz)
Trying to associate with ??:??:??:??:??:?? (SSID='whoopla' freq=2437 MHz)
Associated with ??:??:??:??:??:??
WPA: Key negotiation completed with ??:??:??:??:??:?? [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to ??:??:??:??:??:?? completed (reauth) [id=0 
id_str=]
WPA: Group rekeying completed with ??:??:??:??:??:?? [GTK=TKIP]
WPA: Group rekeying completed with ??:??:??:??:??:?? [GTK=TKIP]
CTRL-EVENT-DISCONNECTED bssid=??:??:??:??:??:?? reason=16
Trying to authenticate with ??:??:??:??:??:?? (SSID='whoopla' freq=2437 MHz)
Trying to associate with ??:??:??:??:??:?? (SSID='whoopla' freq=2437 MHz)
Associated with ??:??:??:??:??:??
WPA: Key negotiation completed with ??:??:??:??:??:?? [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to ??:??:??:??:??:?? completed (reauth) [id=0 
id_str=]

Dean
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How (or why) does this bash script snippet work?

2012-01-12 Thread Cameron Simpson
On 12Jan2012 19:07, Dean S. Messing de...@sharplabs.com wrote:
| On 13 Jan 2012 at 13:55:27, Cameron Simpson wrote:
| snip
|  The:
|  
|foo command [args...]
|  
|  form is handy for programmatically constructed pipelines, too.
| 
| Sorry, I don't understand programmatically constructed pipelines.
| Would you elaborate?  Thanks

Where one has a script that figures out a pipeline and assembles it.
So one might have a file conversion tool that goes:

  my-convert-script src-file dst-file change1 change2 change3 ...

which goes:

  src=$1; shift
  dst=$2; shift

  shcmd=\\$src\ cat
  for change
  do
case $change in
  a)conv=cmd-to-do-change-a ;;
  b)conv=some-other-command-to-do-change-b ;;
esac
shcmd=$shcmd | $conv
  done
  shcmd=$shcmd \\$dst\

  sh -c $shcmd

This builds a shell pipeline command, starting with the input
redirection, adding pipes to munge the data, then adding the output
redirection. (Obviously there's no error checking etc above, and the
cat can be optimised out, etc.)

Cheers,
-- 
Cameron Simpson c...@zip.com.au DoD#743
http://www.cskk.ezoshosting.com/cs/

And it is not our part here to take thought only for a season, or for a few
lives of Men, or for a passing age of the world.- Gandalf the grey
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org