Re: Failed to open device file /dev/tpm0: Permission denied

2019-01-13 Thread Dave Mitchell
On Sun, Jan 13, 2019 at 11:36:24AM -0800, Samuel Sieb wrote: > On 1/13/19 9:22 AM, Dave Mitchell wrote: > > journalctl -f shows the following lines appearing in the log every five > > seconds. Can anyone tell me whether this is important, and if so how to > > fix it, and if

Failed to open device file /dev/tpm0: Permission denied

2019-01-13 Thread Dave Mitchell
Fedora 29. journalctl -f shows the following lines appearing in the log every five seconds. Can anyone tell me whether this is important, and if so how to fix it, and if not, how to stop this noise filling the journal up? Jan 13 17:12:13 woody systemd[1]: tpm2-abrmd.service: Service RestartSec=5

Re: OT: backing up a DVD

2018-09-11 Thread Dave Mitchell
On Tue, Sep 11, 2018 at 10:19:44AM +0800, Ed Greshko wrote: > Are you using only "dd" or are you also using "tar"?  I only ask since I've > not seen > the message coming from "dd" but recall seeing it from "tar". To expand on that: $ strings `which dd` | grep shrank $ strings `which ta

Re: sed and grep stopped working!

2018-08-17 Thread Dave Mitchell
On Fri, Aug 17, 2018 at 12:17:26AM -0700, Todd Chester wrote: > Hi All, > > grep and sed stopped working! I dnf re-installed them > both. No joy Maybe your PATH and/or aliases settings are causing the wrong commands to be chosen. Does $ /usr/bin/echo "abc" | /usr/bin/grep "a" work? If not,

Re: 4% battery; dpesn't suspend

2018-05-30 Thread Dave Mitchell
On Tue, May 29, 2018 at 08:12:39PM +0200, Wolfgang Pfeiffer wrote: > > On Mon, May 28, 2018 at 10:38:58PM +0100, Dave Mitchell wrote: > > On Tue, Apr 17, 2018 at 10:26:22PM +0200, Wolfgang Pfeiffer wrote: > > OP here - my UPower settings are the same as yours, and when I found t

Re: 4% battery; dpesn't suspend

2018-05-28 Thread Dave Mitchell
On Tue, Apr 17, 2018 at 10:26:22PM +0200, Wolfgang Pfeiffer wrote: > On Tue, 17 Apr 2018 10:53:09 -0700 > Samuel Sieb wrote: > > > On 04/17/2018 04:55 AM, Wolfgang Pfeiffer wrote: > > >Trying 'upower -d' here results in the display of current power > > > settings ... > > > > So that's why

Re: after F27->F28 upgrade, hangs at end of boot

2018-05-14 Thread Dave Mitchell
On Sun, May 13, 2018 at 05:43:04PM -0700, Samuel Sieb wrote: > On 05/13/2018 02:02 PM, Dave Mitchell wrote: > > But now near the end of the boot sequence (filling-up teardrop turning > > into a fedora logo), the cursor appears in the middle of the screen, but > > doesn't

after F27->F28 upgrade, hangs at end of boot

2018-05-13 Thread Dave Mitchell
I recently upgraded an 11 year old laptop from F27 to F28. (This machine has previously worked fine with many releases from FC6 onwards.) The upgrade went apparently smoothly. But now near the end of the boot sequence (filling-up teardrop turning into a fedora logo), the cursor appears in the mid

4% battery; dpesn't suspend

2018-04-16 Thread Dave Mitchell
F27. I ran a new laptop battery down to 4% (as claimed by gnome) and my laptop didn't auto-suspend, nor hibernate. In settings / power, the only option for battery power these days seems to be to automatically suspend after a set time period; not at a certain battery level. So a) did I imagine i

Re: perl updates

2018-02-28 Thread Dave Mitchell
On Wed, Feb 28, 2018 at 12:31:55PM -0500, Jeffrey Ross wrote: > I got a bunch of perl updates that came down today and they seem to have > caused some problems with exim's script exiqsumm > > Use of uninitialized value $ARGV[0] in string eq at /usr/sbin/exiqsumm line > 48. > > I'm using the foll

Re: can't reclaim disk space on F26 install

2017-08-13 Thread Dave Mitchell
On Sun, Aug 13, 2017 at 07:18:51AM +0930, Tim wrote: > I booted the live image, used its gparted tool to obliterate my entire > hard drive, then ran the install to hard drive routine, successfully. Thanks for the suggestions guys. In the end from a terminal in the live image, I did # dd if=/

can't reclaim disk space on F26 install

2017-08-12 Thread Dave Mitchell
I'm trying to install F26 on an i386 system with a single 119Gb SSD. It previously had F22 installed, with a straightforward partitioning scheme: sda1 ext4 500Mb /boot sda2 LVMencrypted, and containing /, swap, /home I booted off Fedora-Workstation-Live-i386-26-1.5.iso, and in the

Re: [OT] bash help

2017-02-20 Thread Dave Mitchell
On Sun, Feb 19, 2017 at 02:12:35PM -0800, Joe Zeff wrote: > On 02/19/2017 05:22 AM, Mike Wright wrote: > > dir="$1" > > mkdir -p "$dir" > > cd "$dir" <-- never executes > I'm not sure why this doesn't work but you're doing it the hard way. > > mkdir -p $1 > cd $1 > > is much simpler, and

Re: Odd behaviour for GREP

2016-10-02 Thread Dave Mitchell
On Sun, Oct 02, 2016 at 09:15:36PM +1100, Philip Rhoades wrote: > On F25 x86_64 as user "fedora" with default environment I get: > > grep Cock application.html.erb > > Provider for the National Disability Insurance Trial Site in Kwinana/ > Cockburn > > grep Cock * > > grep: *: No such file

Re: Problem with dd and /dev/sr0

2016-03-14 Thread Dave Mitchell
On Mon, Mar 14, 2016 at 11:11:31AM -0600, jd1008 wrote: > Hi all, > time dd if=/dev/sr0 of=Our_Group_Picnic.iso bs=64M skip=5888 > conv=noerror,notrunc oflag=append > dd: ‘/dev/sr0’: cannot skip: Invalid argument > 0+0 records in > 0+0 records out > 0 bytes (0 B) copied, 0.000301689 s, 0.0 kB/s >

Re: non ascii file

2015-11-24 Thread Dave Mitchell
On Tue, Nov 24, 2015 at 08:43:24PM +0100, Patrick Dupre wrote: > Hello, > > I am an non ascii file (ISO-8859 text executable), > how can I get the lines containing non ascii characters? perl -ne'print if /[^\x00-\x7f]/' infile > outfile -- This is a great day for France! -- Nixon at Charle

Re: perl/XS

2015-08-10 Thread Dave Mitchell
On Sun, Aug 09, 2015 at 08:35:20PM +0200, Patrick Dupre wrote: > I still have some issues: > I check all my libraries, but probably I missed something: > > perl -MFitter -e 1 > Can't load > '/home/pdupre/perl_lib/i386-linux-thread-multi/auto/Fitter/Fitter.so' for > module Fitter: libperl.so.5.18

Re: perl/XS

2015-08-09 Thread Dave Mitchell
On Sun, Aug 09, 2015 at 12:21:23AM +0200, Patrick Dupre wrote: > Hello, > > I updated fedora 20 to fedora 22. > Now, I am in trouble with my perl library. > I tried to understand, but I cannot find any explanation. Hence, I am > think if there is not an issue with the perl library > > I got: > Ca

Re: F21 - perl broken? 5.16 vs. 5.18 API problem.

2015-03-12 Thread Dave Mitchell
On Thu, Mar 12, 2015 at 04:22:00PM +0100, Martin Møller Skarbiniks Pedersen wrote: > I am trying to build a rpm but now I got a perl problem ? > It looks like my perl installation is somehow broken currently. > Pleas advise. > This is perl 5, version 18, subversion 4 (v5.18.4) built for > x

Re: What happens to parent process, when a child process is created using vfork() and killed before calling exec

2014-10-29 Thread Dave Mitchell
On Tue, Oct 28, 2014 at 11:01:31AM +, Kevin Peterson wrote: > Hi, > > When a process is created using vfork() child process is created and > starts running in the parent process address space, until exit() or > exec() is called. > > What happens to the parent process, if some one kills the

Re: no such file or directory using "-" character

2014-08-03 Thread Dave Mitchell
On Sun, Aug 03, 2014 at 12:03:35PM +0300, Angelo Moreschini wrote: > I tried > ls -d notebook* | od -tx1 > > the result is : > 000 62 6f 74 65 42 6f 6f 6b5f 696e 73 74 61 6c 6c > 020 61 74 69 6f 6e 0a > 026 That makes no sense. Did you cut-and-paste that, or type it in by hand? If the

Re: Updated to F20, now perl can't find installed modules

2014-04-01 Thread Dave Mitchell
On Tue, Apr 01, 2014 at 02:34:22PM -0400, Sean Darcy wrote: > $ perl -e 'use strict; print "ok"' > Can't locate strict.pm: Permission denied at -e line 1. > BEGIN failed--compilation aborted at -e line 1. As I've pointed out on perlmonks where you cross-posted your question, http://www.perl

F20: fail to suspend with ext monitor, and backlight off

2014-04-01 Thread Dave Mitchell
I've a laptop that was fine under F18, but since upgrading to F20 over the weekend, now has difficulties with suspending, and with turning the laptop's backlight on again. The symptoms are: On a freshly booted system, login, and where I *haven't* yet connected my external monitor, closing and op

Re: export which is correct syntax

2014-01-04 Thread Dave Mitchell
On Sat, Jan 04, 2014 at 04:08:17PM +0100, Suvayu Ali wrote: > On Sat, Jan 04, 2014 at 10:37:48PM +1030, Tim wrote: > > Frank Murphy: > > > > 1: export TMPDIR=/var/tmp > > > > 2: export TMPDIR=$TMPDIR:/var/tmp > > > > Suvayu Ali: > > > Depends on what you want to do. If you want to overwrite the v

fedup F18 => F20 failed, can't find (encrypted) partitions

2013-12-31 Thread Dave Mitchell
I just tried doing a fedup F18 to F20; the fedup itself worked fine (apart from from a few warnings about GPG keys), but booting from the 'System Upgrade' grub entry failed early on, not being able to find any of my system's filesystems. I suspect this is due to them being LUKS encrypted (these fil

Re: fedup 18->19 and GRUB upgrade several seconds

2013-12-09 Thread Dave Mitchell
On Sun, Dec 08, 2013 at 10:42:19AM -0700, Chris Murphy wrote: > > On Dec 8, 2013, at 3:56 AM, Dave Mitchell wrote: > > > On Sat, Nov 23, 2013 at 04:35:28PM +, Dave Mitchell wrote: > >> I'm currently preparing to fedup an F18 system to F19, looking at these >

Re: fedup 18->19 and GRUB upgrade several seconds

2013-12-08 Thread Dave Mitchell
On Sat, Nov 23, 2013 at 04:35:28PM +, Dave Mitchell wrote: > I'm currently preparing to fedup an F18 system to F19, looking at these > instructions: > > http://docs.fedoraproject.org/en-US/Fedora/19/html/Installation_Guide/ch18s02.html > > The bit about updating the

fedup 18->19 and GRUB upgrade several seconds

2013-11-23 Thread Dave Mitchell
I'm currently preparing to fedup an F18 system to F19, looking at these instructions: http://docs.fedoraproject.org/en-US/Fedora/19/html/Installation_Guide/ch18s02.html The bit about updating the GRUB bootloader has got gotten me confused. My system is a newish x86_64 laptop, with F18 as the only

Re: grep by paragraph

2013-08-30 Thread Dave Mitchell
On Fri, Aug 30, 2013 at 10:50:31AM +0200, Timothy Murphy wrote: > that will print out a whole paragraph - > defined as the section between two blank lines - > containing a given word or phrase? > > Such as the above 4 lines. > If not, can anyone suggest a simple script that will do this? The perl

Re: combining files and testing results

2013-05-15 Thread Dave Mitchell
On Tue, May 14, 2013 at 12:31:42PM -0430, Patrick O'Callaghan wrote: > If not, then "cat *.list|sort -u" is enough. Or even just sort -u *.list -- Spock (or Data) is fired from his high-ranking position for not being able to understand the most basic nuances of about one in three sentences

GNOME battery display doesn't agree with /sys data

2013-04-01 Thread Dave Mitchell
My laptop, which is running F18 and GNOME, has been plugged in all day. I've just noticed that the battery level indicator on the top bar is indicating that the battery is being charged, and is only at 39%. However: # cd /sys/class/power_supply/BAT0 # cat energy_full_design 5720

Re: F18, Gnome: displays failing to span

2013-01-18 Thread Dave Mitchell
On Fri, Jan 18, 2013 at 10:39:24AM +, Dave Mitchell wrote: > On Thu, Jan 17, 2013 at 10:53:50PM +0000, Dave Mitchell wrote: > > I have a new laptop that I've just installed F18 on. I've plugged an > > external VGA monitor in, and used System Settings / Displays to

Re: F18, Gnome: displays failing to span

2013-01-18 Thread Dave Mitchell
On Thu, Jan 17, 2013 at 10:53:50PM +, Dave Mitchell wrote: > I have a new laptop that I've just installed F18 on. I've plugged an > external VGA monitor in, and used System Settings / Displays to > position the external screen above the laptop screen. This works as fa

F18, Gnome: displays failing to span

2013-01-17 Thread Dave Mitchell
I have a new laptop that I've just installed F18 on. I've plugged an external VGA monitor in, and used System Settings / Displays to position the external screen above the laptop screen. This works as far as the mouse is concerned: I can move the cursor above the top of the laptop LCD and it appea

Re: F18 rpmfusion x86_64 key missing?

2013-01-15 Thread Dave Mitchell
On Tue, Jan 15, 2013 at 11:07:28PM +0100, Reindl Harald wrote: > Am 15.01.2013 22:59, schrieb Dave Mitchell: > > I'm trying to install a bunch of stuff from rpmfusion for Fedora 18 x86_64, > > and am getting this error: > > > > GPG key retrieval failed: [Errno 1

F18 rpmfusion x86_64 key missing?

2013-01-15 Thread Dave Mitchell
I'm trying to install a bunch of stuff from rpmfusion for Fedora 18 x86_64, and am getting this error: GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-18-x86_64 From the rpm -ql output shown below, I suspect it's a file missing f

Re: preserving partitions during reinstall

2012-09-11 Thread Dave Mitchell
On Tue, Sep 11, 2012 at 03:38:06PM +0200, Suvayu Ali wrote: > On Tue, Sep 11, 2012 at 11:39:23AM +0100, Dave Mitchell wrote: > > > > I expect an option within anaconda that will *inspect* the existing > > partitioning layout of a device, and present that to me as the new >

Re: preserving partitions during reinstall

2012-09-11 Thread Dave Mitchell
On Tue, Sep 11, 2012 at 09:04:05AM -0500, Aaron Konstam wrote: > I am not sure why you could not do what you want to do with a variation > of the following process. tar up the partition you want to save before > you install the new version. Then after installation restore the saved > material using

Re: preserving partitions during reinstall

2012-09-11 Thread Dave Mitchell
On Tue, Sep 11, 2012 at 12:47:25AM +0200, Suvayu Ali wrote: > On Mon, Sep 10, 2012 at 10:08:47PM +0100, Dave Mitchell wrote: > > > > The point is that *none* of the Ananconda install options: > > Use all space > > Replace Existing Linux System(s) > >

Re: preserving partitions during reinstall

2012-09-10 Thread Dave Mitchell
On Sat, Sep 08, 2012 at 10:32:16AM -0600, JD wrote: > > On 09/09/2012 01:22 PM, Dave Mitchell wrote: > >On Sat, Sep 08, 2012 at 05:12:31AM -0600, JD wrote: > >>On 09/09/2012 12:33 PM, Dave Mitchell wrote: > >>>I just did a re-install of a F14 system to bring it

Re: preserving partitions during reinstall

2012-09-09 Thread Dave Mitchell
On Sat, Sep 08, 2012 at 05:12:31AM -0600, JD wrote: > > On 09/09/2012 12:33 PM, Dave Mitchell wrote: > >I just did a re-install of a F14 system to bring it up to F17. > >I wanted to keep the separate /home partition untouched (i.e. keep the > >data), but there didn&#x

preserving partitions during reinstall

2012-09-09 Thread Dave Mitchell
I just did a re-install of a F14 system to bring it up to F17. I wanted to keep the separate /home partition untouched (i.e. keep the data), but there didn't seem to be any option to achieve this in the installer. None of the options seemed to be able to recognise or preserve the partitioning info

Re: question regarding ls w/ colors and capturing to file

2012-07-31 Thread Dave Mitchell
On Tue, Jul 31, 2012 at 10:10:22AM -0700, Joe Zeff wrote: > On 07/31/2012 12:45 AM, Ed Greshko wrote: > >At the moment, I can't think of what editor would retain the colors. :-( > > If it's too long, run it through either more or less. I think the complete command that would satisfy the OP is:

Re: F17: gnome fallback with intel 855GM

2012-07-06 Thread Dave Mitchell
On Sat, Jun 09, 2012 at 11:50:03PM +0100, Dave Mitchell wrote: > Just installed F17 on an old laptop. Gnome 3 is coming up in fallback; > is there any way to get Gnome shell instead? > > My Googling on on the subject seems to indicate that: > > * the Intel 8xx graphics hav

F17: gnome fallback with intel 855GM

2012-06-09 Thread Dave Mitchell
Just installed F17 on an old laptop. Gnome 3 is coming up in fallback; is there any way to get Gnome shell instead? My Googling on on the subject seems to indicate that: * the Intel 8xx graphics have buggy 3D, so are blanket disabled in Gnome 3; * but that starting in F17, Gnome Shell should b

Re: perlTk

2012-03-08 Thread Dave Mitchell
On Thu, Mar 08, 2012 at 03:07:55PM +, Patrick Dupre wrote: > My understanding is that there is 2 Tk installed: > perl-Tk-804.028-12.fc14.i686 > in /usr/lib/perl5 > and one in > /usr/local/lib/perl5 > which probably due to cpan > Tk-804.029-pvHDks > Some perl packages are not available > from fe

Re: perlTk

2012-03-08 Thread Dave Mitchell
On Thu, Mar 08, 2012 at 01:58:46PM +, Patrick Dupre wrote: > No, it does help. > This 2 variables are just set to be able to call my own perl libraries > I have the same issue without setting them. Ok, in that case, could you run the following script, using the perl you're having trouble with:

Re: perlTk

2012-03-08 Thread Dave Mitchell
On Thu, Mar 08, 2012 at 12:13:30PM +, Patrick Dupre wrote: > On Thu, 8 Mar 2012, Dave Mitchell wrote: > > This means that the version number in the perl file Tk.pm doesn't match > > the version number in the compiled binary Tk.so. Why they differ is > > probably down

Re: perlTk

2012-03-08 Thread Dave Mitchell
On Wed, Mar 07, 2012 at 03:20:20PM +, Patrick Dupre wrote: > Hello, > > How would you fix such an error: > Tk object version 804.028503 does not match $Tk::XS_VERSION 804.029 > at /usr/lib/perl5/DynaLoader.pm line 223 This means that the version number in the perl file Tk.pm doesn't match the

Re: perl

2012-02-20 Thread Dave Mitchell
On Mon, Feb 20, 2012 at 12:48:33PM +, John Pilkington wrote: > On 20/02/12 12:22, Dave Mitchell wrote: > >On Mon, Feb 20, 2012 at 10:42:06AM +, Patrick Dupre wrote: > >>How can I fix the file Config.pm ? > > > >You can't. The default search paths are

Re: perl

2012-02-20 Thread Dave Mitchell
On Mon, Feb 20, 2012 at 10:42:06AM +, Patrick Dupre wrote: > After an update fedora 13 to fedora 14, it looks like that perl has been > installed properly. > Linux teucidide 2.6.35.14-106.fc14.x86_64 #1 SMP Wed Nov 23 13:07:52 > UTC 2011 x86_64 x86_64 x86_64 GNU/Linux > > This is perl 5, versi

Re: Remote access

2011-10-14 Thread Dave Mitchell
On Sat, Oct 15, 2011 at 01:03:49AM +1030, Tim wrote: > Quite how you come to that conclusion, I don't know. If you're refused > permission, then that's the *opposite* from being legitimate to try to > do so. Not only did you originally discover that it was blocked, you're > being outright told th

Samsung Genio photos not uploadable on F14

2011-07-14 Thread Dave Mitchell
I have a Samsumg B5310 phone, and under F13, connecting it with a USB cable caused gphoto to be launched, which then allowed me to transfer photos from the phone to my laptop. Sometime during the last two months I have lost that ability; most likely when I upgraded from F13 to F14. Now, gphoto is

Re: F13->F14 upgrade + relabel = logins hosed: entrypoint access denied

2011-06-02 Thread Dave Mitchell
On Wed, Jun 01, 2011 at 09:27:44AM -0400, Daniel J Walsh wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 05/31/2011 05:17 PM, Dave Mitchell wrote: > > I just tried to upgrade a F13 system to F14 using preupgrade. > > It seemed to go well, but I was getting

F13->F14 upgrade + relabel = logins hosed: entrypoint access denied

2011-05-31 Thread Dave Mitchell
I just tried to upgrade a F13 system to F14 using preupgrade. It seemed to go well, but I was getting a lot of AVC denials for NM and polkitd, and NM wasn't working properly. So I tried a 'touch /.autorelabel' and reboot. It seemed to work, but now I can't login. Any login attempt (via gdm or F2 c

Re: find the origin of a process

2010-10-20 Thread Dave Mitchell
On Wed, Oct 20, 2010 at 09:12:10AM +1100, L wrote: > Hi > Look at the below processes. DavMail started at boot up. This is not > proper because User's desktop does not start. I want DavMail started > after user login to the desktop. > > I need to stop this process from auto starting. I need to fin

Re: Seeking a grep-like script

2010-06-10 Thread Dave Mitchell
On Thu, Jun 10, 2010 at 01:36:07PM +0100, Timothy Murphy wrote: > I'm looking for a grep-like script that searches for a given word, > and returns the paragraphs in which it appears (rather than the lines), > where a paragraph is defined as the material between 2 blank lines. perl -ne 'BEGIN { $/=

Re: diagnosing OOM issue

2010-04-16 Thread Dave Mitchell
On Fri, Apr 16, 2010 at 03:40:51PM +0200, Oliver Falk wrote: > You should not run a Linux system without swap. If a process tries to > allocate memory and no more real memory is available and also no swap OOM > will start killing. > It's a workstation I guess? yes The point being that I'm *now

diagnosing OOM issue

2010-04-16 Thread Dave Mitchell
I've recently upgraded my F11 system's RAM from 1Gb to 2Gb, and at the same time removed the swap device from /etc/fstab. Since then I'm getting the OOM killer killing off random processes after a few days' use, even when memory usage is (apparently) low. Can anyone advise me what's causing this?

Re: Strange msgs from restore;

2010-04-06 Thread Dave Mitchell
On Sun, Apr 04, 2010 at 10:46:59PM -0400, Gene Heskett wrote: > Dump/restore is a very poor tool to use unless the drives are identical. Huh? -- All wight. I will give you one more chance. This time, I want to hear no Wubens. No Weginalds. No Wudolf the wed-nosed weindeers. -- Life of Brian

Re: Risks of backing up live mounted filesystems using dump(8)

2010-03-02 Thread Dave Mitchell
On Tue, Mar 02, 2010 at 02:40:14PM +1100, Cameron Simpson wrote: > On 01Mar2010 21:30, Mike McCarty wrote: > | Yes, it is. I suspect he meant a files based backup. With > | dump, what one gets is a dump of the file system itself, > | as opposed to the data it contains. With a files based > | backu