Re: F18: new boot-up sequence, but old partitions still in /boot/grub2/grub.cfg !?!?!?
by Rob
Let me comment on my own message:
I believe I forgot to scrutinize the file /etc/default/grub.
This file is 'automagically' created when fedora (grub2 ?) is installed the very first time, and its contents is based on the boot conditions at that time.
When changing the boot conditions later, those changes are NOT 'automagically' progressed into a new /etc/default/grub. I guess this has to be done manually.
The "grub2-mkconfig -o /boot/grub2/grub.cfg" uses the settings in /etc/default/grub to create the grub.cfg file. Hence, without changing the default grub file, the old boot conditions still appear in the /boot/grub2/grub.cfg file.
I found many manual on the web about "how to make a new grub2 boot loader", but none mention to scrutinize the default grub file for old configuration settings.....
(I currently have no access to the troublesome PC, so I will try this later).
R.
On Thu Jan 23 01:10:13 UTC 2014 Chris Murphy <lists at colorremedies.com>
wrote:
>On Jan 22, 2014, at 1:23 AM, Stub <spamrefuse at yahoo.com> wrote:
>>Hi,
>>
>>I have F18 on an i686 PC.
>>
>>Why does the /boot/grub2/grub.cfg still have entries to the logical volumes?
>It's clearly confused, I think the chroot isn't correctly set up.
Thanks Chris Murphy for your feedback.
In fact, I do believe my basic idea was OK, of copying the system files from one disk on the logical volumes to another disk with regular partitions. I could do this safely while booted from a Live USB medium.
It turned out that /etc/default/grub was the culprit that stopped the boot process. This file contains the boot conditions as configured during that first install. The file is 'automagically' created by anaconda during the first full install of the OS. There is a python script in the anaconda package that is responsible for this, but it is (for me) unusable as a stand-alone module.
I you are changing the boot conditions later, then that file needs to be adjusted manually. Unfortunately there is very little information around about what changes should go in there for a given boot sequence......
Fortunately I have another fedora PC that boots from regular partitions and I copied the /etc/default/grub from that PC. After that I created a new /boot/grub2/grub.cfg and recreated the initramfs with dracut (I'm not sure the latter is really necessary).
Then the PC booted flawlessly.
I figured that /etc/default/grub is still a rather undocumented 'feature' of the new grub2 bootloader.....
Regards,
R.
10 years, 4 months
Trying to use mailx for logwatch
by Robert Moskowitz
And the mail is failing. Here is what I have done:
I determined that in: /usr/share/logwatch/default.conf/logwatch.conf
mailer = "/usr/sbin/sendmail -t"
so in: /etc/logwatch/conf/logwatch.conf
mailer = "/usr/bin/mailx -t"
In /etc/aliases I have:
# Person who should get root's mail
root: rgm
and I ran newaliases
'journalctl |grep -i logwatch' shows the following (along with other lines):
Jan 02 03:32:01 lx120e.htt-consult.com run-parts[16112]:
(/etc/cron.daily) starting 0logwatch
Jan 02 03:32:12 lx120e.htt-consult.com run-parts[16429]:
(/etc/cron.daily) finished 0logwatch
Jan 02 03:32:16 lx120e.htt-consult.com setroubleshoot[16427]: dbus
avc(node=lx120e.htt-consult.com type=AVC msg=audit(1388651532.024:734):
avc: denied { write } for pid=16425 comm="mailx" name="root"
dev="dm-0" ino=1308161
scontext=system_u:system_r:logwatch_mail_t:s0-s0:c0.c1023
tcontext=system_u:object_r:admin_home_t:s0 tclass=dir
node=lx120e.htt-consult.com type=SYSCALL msg=audit(1388651532.024:734):
arch=40000003 syscall=5 success=no exit=-13 a0=9b15128 a1=8441 a2=1b6
a3=809134c items=0 ppid=1 pid=16425 auid=0 uid=0 gid=0 euid=0 suid=0
fsuid=0 egid=0 sgid=0 fsgid=0 ses=15 tty=(none) comm="mailx"
exe="/usr/bin/mailx"
subj=system_u:system_r:logwatch_mail_t:s0-s0:c0.c1023 key=(null)
Jan 02 03:32:16 lx120e.htt-consult.com setroubleshoot[16427]:
AuditRecordReceiver.add_record_to_cache(): node=lx120e.htt-consult.com
type=AVC msg=audit(1388651532.24:734): avc: denied { write } for
pid=16425 comm="mailx" name="root" dev="dm-0" ino=1308161
scontext=system_u:system_r:logwatch_mail_t:s0-s0:c0.c1023
tcontext=system_u:object_r:admin_home_t:s0 tclass=dir
Jan 02 03:32:16 lx120e.htt-consult.com setroubleshoot[16427]:
AuditRecordReceiver.add_record_to_cache(): node=lx120e.htt-consult.com
type=SYSCALL msg=audit(1388651532.24:734): arch=40000003 syscall=5
success=no exit=-13 a0=9b15128 a1=8441 a2=1b6 a3=809134c items=0 ppid=1
pid=16425 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
ses=15 tty=(none) comm="mailx" exe="/usr/bin/mailx"
subj=system_u:system_r:logwatch_mail_t:s0-s0:c0.c1023 key=(null)
Jan 02 03:32:16 lx120e.htt-consult.com setroubleshoot[16427]:
analyze_avc()
avc=scontext=system_u:system_r:logwatch_mail_t:s0-s0:c0.c1023
tcontext=system_u:object_r:admin_home_t:s0 access=['write'] tclass=dir
tpath=/root
oh, here are the mail files:
# ls -ls /var/spool/mail/
total 8
0 -rw-rw----. 1 rgm mail 0 Jan 2 16:47 rgm
8 -rw-------. 1 root mail 5886 Dec 31 12:27 root
0 -rw-rw----. 1 rpc mail 0 Dec 25 13:27 rpc
The content in root mail is from when I had postfix installed. I have
since deleted it to work on getting mailx to work instead.
=================================
perhaps /var/spool/mail/root needs 660 permissions?
10 years, 4 months
Re: ARRGH: Anaconda F20: dumb Dumber DUMBEST!
by R. G. Newbury
On 23/01/14 12:49 PM, Chris Murphy <lists(a)colorremedies.com> wrote:
> On Jan 23, 2014, at 8:52 AM, R. G. Newbury <newbury(a)mandamus.org> wrote:
>> >Now this sort of blind stupidity really irritates the hell out of me.
>> >
>> >I was trying to do a stand-alone install of F20 on my laptop. The installer knows that I have an Intel 3965 wifi setup, but NetworkManager*would not connect* no matter what I tried. So I continued, without network access.
>> >
>> >Anaconda burped in the middle of the install with a fatal error: No more mirrors! I presume it was searching for an update (for PackageKit)... WTF???
>> >Whoever thought that requiring network access was a good idea needs to be taken out and spanked.
> This is what install media? DVD.iso, netinst.iso, live desktop iso? What is Installation Source set to when this happens? By default it's set to Local Media for DVD and live desktop. And by default in Installation Source the option "Don't install the latest available software updates" is checked. I've done numerous no network installs while QA'ing F20 and have never once encountered what you're reporting.
Hard drive started dieing on Tuesday night. Bought new drive a lunchtime
yesterday.
Using a DVD iso, installed on a USB stick using (iirc) dd.
This was probably the 20th or 30th install try, what with problems with
NetworkManager not connecting with wifi and KDE hanging on the kdm
splash page (*before* login). Finally gave up on KDE after about 4 hours
last night.
I was sitting at the dining room table (with the wireless router
approximately directly under my feet in the basement rafters) and no
wifi through a couple of tries. The network connection "wizard" was
playing clown, not wizard and refused to do anything.
I cold re-started, *ignored* attempting to connect and continued.
Installation source set to local media (or whatever it is called). On
this try I was attempting to install w LXDE as the DM,
It barfed.
At work, w network cable plugged in, it automagically connected and the
install proceeded.
Major pain, and another program is throwing a snit-fit too. If I could
reliably go back to F17 I would..... but I would be faced with the same
problem -> No more mirrors!!
Geoff
--
R. Geoffrey Newbury
Barrister and Solicitor
Suite 106, 150 Lakeshore Road West
Mississauga, Ontario, L5H 3R2
t905-271-9600 f905-271-1638
newbury(a)mandamus.org
10 years, 4 months
pdfnup on F20
by Ranjan Maitra
I am a little confused that my pdfnup does not work on F20 (it worked
just fine on F19).
Here is my command:
~$ pdfnup -nup 2x2 introduction.pdf
----
pdfjam: This is pdfjam version 2.08.
pdfjam: Reading any site-wide or user-specific defaults...
(none found)
pdfjam ERROR: no PDF/JPG/PNG file found at -nup
~$ ls introduction.pdf
introduction.pdf
So it does exist. So what is going on?
Many thanks!
Ranjan
____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!
10 years, 4 months
ARRGH: Anaconda F20: dumb Dumber DUMBEST!
by R. G. Newbury
Now this sort of blind stupidity really irritates the hell out of me.
I was trying to do a stand-alone install of F20 on my laptop. The
installer knows that I have an Intel 3965 wifi setup, but NetworkManager
*would not connect* no matter what I tried. So I continued, without
network access.
Anaconda burped in the middle of the install with a fatal error: No
more mirrors! I presume it was searching for an update (for
PackageKit)... WTF???
Whoever thought that requiring network access was a good idea needs to
be taken out and spanked.
Geoff
--
R. Geoffrey Newbury
10 years, 4 months
EXFat file system
by Mickey
I have a GoPro Camera that has formatted the SD Card to a ExFat file
system and Linux cannot read the sd card.
What do I have to do to be able to read card, I can only read it in
Windows 7.
10 years, 4 months
Any sound at all in Fedora 20?
by Tom Horsley
I submitted this bug last night about no sound on my home
system:
https://bugzilla.redhat.com/show_bug.cgi?id=1056833
Out of curiosity, I checked out sound on my f20 work system
today, and I see the same "dummy output" as the only
choice in the gnome sound control.
Does anyone have sound on their fedora 20 system?
These are two radically different machines.
Is there some system service I may have disabled
in my ignorance that needs to run in order to
have sound?
10 years, 4 months
IPv6 breakage in NetworkManager
by R. G. Newbury
On 01/22/2014 12:52 AM,
> From: Dan Irwin<rummymobile(a)gmail.com>
> Seeing significant issues with IPv6. After some time, IPv6 completely seems
> to stop working. IPv4 is unaffected.
>
> Re-connecting to wifi seems to restore IPv6 connectivity.
>
> However, various things (ssh, firefox) stop working completely. Open ssh
> sessions "freeze". Web page requests time out.
>
> At the same time, I can access IPv6 resources from other machines which do
> not run NetworkManager.
>
> Next time this occurs, I hope to have some time to diagnose this problem
> further. In the meantime, is anyone else seeing such breaking wrt IPv6?
>
> Something to note, I run numerous servers with IPv6, both physical and
> virtual. These servers run CentOS; None run NetworkManager, and all have
> working IPv6 connectivity.
I have been seeing similar issues with NM on IPv4 with an Intel 4965
wifi chipset.
It got so bad on F17 that I installed an Asus N-10 rtl8712u based USB stick.
SAME PROBLEM over the last two days attempting to install F20 and
actually get it to work (KDE problems).
The nm=applet would notify me that it was disconnected, but on opening
the applet, it would show it was still connected BUT there was actually
no connection. Sometimes I can get it to re-connect: about 30% of the time.
IF I can get F20 installed, I will disable NM and move to wicd which
seems to work.
R. Geoffrey Newbury
10 years, 4 months
Gnucash vs. Kmymoney
by Jonathan Ryshpan
It looks like Kmymoney is based on Gnucash, judging from today's update
notes. Is this correct? I'm trying to choose between them for keeping
track of my own finances, and this may simplify the choice. Any further
comments on either program are welcome.
jon
10 years, 4 months
GNOME Shell and password prompts
by Matthew Saltzman
What app is it now that prompts for passwords when Evolution decides it
needs one reentered?
I subscribe to a couple of gmail calendars that don't require passwords,
yet I am prompted frequently and unpredictably to enter passwords for
them. The prompts are the big black popups, not the old Evolution
popups, so I guess there is some utility that handles password requests
for GNOME. Then the question is, is it Evolution or the utility that
keeps bothering me?
--
Matthew Saltzman
Clemson University Math Sciences
mjs AT clemson DOT edu
10 years, 4 months