Re: autofs mount point on same box?
by Frank Murphy
On Sun, 5 May 2013 15:36:37 +0100
Frank Murphy <frankly3d(a)gmail.com> wrote:
Apology for self-reply.
it is suggested that a bind mount,
may be more stable than an automount,
so it may be the way to go.
--
Regards,
Frank - I check for new mail app 20min
www.frankly3d.com
10 years, 11 months
Re: autofs mount point on same box?
by Reindl Harald
Am 05.05.2013 16:54, schrieb Frank Murphy:
> On Sun, 05 May 2013 16:51:24 +0200
> Reindl Harald <h.reindl(a)thelounge.net> wrote:
>>
>> why would anybody mount it only on access to make the setup
>> useless more fragile?
>
> Free resources for the nfs connected
> clients who will be reading
> the /shareyumcache
what do you image happens if they read it and you
use on-access mount? it get's mounted anyway because
that is the definition of "on access"
do what you want, i have enough expierience to not
use such things if the are not HARDLY needed and had
even crashes on virtual servers due backup-snapshots
with automounts, but your game
https://www.google.com/search?q=systemd+automount
10 years, 11 months
Re: autofs mount point on same box?
by Reindl Harald
Am 05.05.2013 16:46, schrieb Frank Murphy:
> On Sun, 05 May 2013 16:41:23 +0200
> Reindl Harald <h.reindl(a)thelounge.net> wrote:
>
>> why would anybody do this?
>
> To only have /md2 mounted as necessary,
> without clicking/typing anything..
>
>> a bind-mount on your /etc/fstab is your friend
>>
>> /shareyumcache /var/cache/yum none bind
>>
>
> Would this allow it to be only mounted when accessed
> I'm not familiar with using bind.
> man bind has just brought up 982 lines of confusion currently
bind is not a command, bind is a mount-type
look again at the line i posted!
why would anybody mount it only on access to make the setup
useless more fragile? this is a simple local alias!
http://docs.1h.com/Bind_mounts
_____________________________
my bind-mounts in /etc/fstab and /mnt/data is /dev/md2
# BIND-Mounts
/mnt/data/home /home none bind
/mnt/data/.tmp /tmp none bind
/mnt/data/.tmp /var/tmp none bind
/mnt/data/www/thelounge.net /Volumes/dune/www-servers none bind
/mnt/data/www/phpincludes /Volumes/dune/www-servers/phpincludes none bind
_____________________________
[root@srv-rhsoft:~]$ mount | grep /dev/md2
/dev/md2 on /mnt/data type ext4 (rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256)
/dev/md2 on /Volumes/dune/www-servers type ext4
(rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256)
/dev/md2 on /var/tmp type ext4 (rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256)
/dev/md2 on /tmp type ext4 (rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256)
/dev/md2 on /home type ext4 (rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256)
/dev/md2 on /Volumes/dune/www-servers/phpincludes type ext4
(rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256)
/dev/md2 on /mnt/data/www/thelounge.net/phpincludes type ext4
(rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256)
10 years, 11 months
autofs mount point on same box?
by Frank Murphy
Can a autofs mountpoint be used on the same pc?
man autofs if from 1997, still talks about ~/init*
Box has:
/md0 (boot,/)
/md1 (home)
/md2 (/shareyumcache)
/dev/sdg (swap) [can't see a benefit in raiding swap]
I want to use autofs to mount /md2
into "/var/cache" so the result is:
/var/cache/yum/...
autofs.shareyum
yum (mount options) 127.0.0.1://shareyumcache
would that be correct?
--
Regards,
Frank - I check for new mail every 20min
www.frankly3d.com
10 years, 11 months
Using Chromium instead of Chrome?
by Anthony
Hello Everyone,
I have both Chrome and Chromium installed on my machine. I have Chromium
set up as the default browser which usually has worked as expected.
However, when I click a link in Thunderbird, it opens up in regular
Chrome instead of Chromium. Any idea how I can change this behavior?
I've already looked at the "Preferred Applications" section of the
Settings Manager and it says Chromium is set as the default browser. Do
I need to change something else?
Using Fedora 18 with XFCE.
Thanks,
Anthony
10 years, 11 months
Re: yum installed name only?
by David
On 5/4/2013 4:26 PM, Reindl Harald wrote:
>
> Am 04.05.2013 22:22, schrieb David:
>> On 5/4/2013 4:17 PM, Frank Murphy wrote:
>>> On Sat, 4 May 2013 13:42:35 -0400 Rahul Sundaram
>>> <metherid(a)gmail.com> wrote:
>>>
>>>
>>>>> yum list installed ?
>>>>>
>>> But, how can it be shortened to NAME only? ConsoleKit.x86_64...
>>> 0.4.5-3.fc18... installed Haven't found an ideal grep
>>> option as yet.
>>>
>> Does this do what you want?
>>
>> rpm -qa | grep <put file name here>
>>
>> per you example: rpm -qa | grep ConsoleKit
>
> what did you not understand in "NAME only"?
>
> rpm -qa --queryformat "%{name}\n"
>
> as i answered hours ago, but hey someone decided to moderate my
> messages again because i am not that nice guy always and this
> idiotic list is misconfigured because on others you are notfied
> that your message received at least the server
>
I did not reply to you. But ignoring your smart a$$ reply. I can see
why you are being moderated.
I have been using an 'rpm based' Linux since 1996 or so. To the best
of my knowledge what you want has never be able to do.
I, personally, have added an alias to my .bashrc and named it rpmq
that calls this feature. example rpmq ConsoleKit.
I'm sorry I offered to help. I promise to never try again.
Have a great day.
--
David
10 years, 11 months
Re: yum installed name only?
by David
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 5/4/2013 4:57 PM, Reindl Harald wrote:
>
>
> Am 04.05.2013 22:52, schrieb David:
>> On 5/4/2013 4:26 PM, Reindl Harald wrote:
>>>
>>> Am 04.05.2013 22:22, schrieb David:
>>>> On 5/4/2013 4:17 PM, Frank Murphy wrote:
>>>>> On Sat, 4 May 2013 13:42:35 -0400 Rahul Sundaram
>>>>> <metherid(a)gmail.com> wrote:
>>>>>
>>>>>
>>>>>>> yum list installed ?
>>>>>>>
>>>>> But, how can it be shortened to NAME only?
>>>>> ConsoleKit.x86_64... 0.4.5-3.fc18... installed Haven't
>>>>> found an ideal grep option as yet.
>>>>>
>>>> Does this do what you want? per you example: rpm -qa | grep
>>>> ConsoleKit
>>> what did you not understand in "NAME only"?
>>>
>>> rpm -qa --queryformat "%{name}\n"
>>>
>>> as i answered hours ago, but hey someone decided to moderate
>>> my messages again because i am not that nice guy always and
>>> this idiotic list is misconfigured because on others you are
>>> notfied that your message received at least the server
>>>
>> I have been using an 'rpm based' Linux since 1996 or so. To the
>> best of my knowledge what you want has never be able to do.
>>
>> I, personally, have added an alias to my .bashrc and named it
>> rpmq that calls this feature. example rpmq ConsoleKit
>
> can never LIST alle installed packages without version / arch
> because this does by definition not refer to a single package and
> that was the question
>
What I wrote will list every package with the search term in it's name.
rpm -qa | grep kernel
will list all the kernels, the kernel-development packages (if
installed), along with the kernel-headers.
If you have both i686 and x86_64 packages, such a libs, it lists both
(all). No need search with version or arch.
Other than the part of the question that does not work was that not
the solution to OP's question?
BTW. Why are you Cc: replying to the list and directly replying To: me?
- --
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJRhXh6AAoJEI7mbDIOYu+os5YQAMHTS6gdZoN66C4jwKVH+Yl4
wU8AjYgwhFbQdZjRjtnnvY2pTy5JfRUd8bmDHyHSpjNjGiX9ztMW6l9nWWnNO9qs
sDYJRpbJj55PiGKR5qvJk8NMeitdCoa3yziw5LWjimzV/xt+BLLFdQYB/qdLo3CB
aTLLuMJ+St6gI0jXb3ZwE2/tobIUi13ulh9fXgBjFvku8OArXX/NP6i92ZJJFqRI
wMUovwCi2DLMPaIphqR3Wsoho097skG2Meeyj7QYtNNgRfkra4+JhlymL4F4V2gK
oAlXPaTI5J3dhCnKAyUOVK4kTKC8yoYoNfyOS1tLg/+JVB+HlksOybm7GTS2BfSJ
+xkzTBL6rC5zaCM/sO+FgE5+BW3fFd3hnqp7OBtjXMKMollc0tPi2wdYsaPYI1iv
CUvU0WRUB+U3LFJuCYFTjcXLM/OPnGdg4+fo2Xz6e4vkJJ8uYC6PuetlT8NwTKGN
G7wCE6ogZSYE1dE7QGbRGKLtBGGcQXm88FlHNG83oMq03tgNCiZjACDHQWgpFv9t
Gq49cO41dOvslOLha0d8nmzeyEVvU+GcAubv7W23Fq2en4+kxcJ5tau425XeYIf3
RBLVphgGUPvyd2dMA6oVwsAiDZrH/8ZyYSzMUQXce4Kx/aLoTBD3bB8Bxh+MBbVN
3DWMZXU3A9Dhl8Vd5Ru7
=+dRO
-----END PGP SIGNATURE-----
10 years, 12 months
F17: grub2 not honoring default
by sean darcy
On F17, grub2-2.0-0.39.fc17.x86_64
On a remote machine, I'm trying to boot 3.8.8-100, but I keep getting
3.8.11-100. I set the default to 3, which given the 0 based counting,
means the 4th stanza:
/etc/default/grub:
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Fedora"
GRUB_DEFAULT=3
GRUB_CMDLINE_LINUX="rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=us
SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8"
Which is reflected in grub.cfg, but it still boots 3.8.11-100. I've also
tried default "4". Still 3.8.11-100.
It's a remote machine, so I can't see the console.
sean
/boot/grub2/grub.cfg:
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="3"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5
--hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5'
fff44737-3862-4f57-8931-fee302065237
else
search --no-floppy --fs-uuid --set=root
fff44737-3862-4f57-8931-fee302065237
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora' --class fedora --class gnu-linux --class gnu --class
os $menuentry_id_option
'gnulinux-simple-fff44737-3862-4f57-8931-fee302065237' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3
--hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'
d7937ba8-8976-40b7-9b4b-afec232d7369
else
search --no-floppy --fs-uuid --set=root
d7937ba8-8976-40b7-9b4b-afec232d7369
fi
echo 'Loading Linux 3.8.11-100.fc17.x86_64 ...'
linux /vmlinuz-3.8.11-100.fc17.x86_64
root=UUID=fff44737-3862-4f57-8931-fee302065237 ro rd.md=0 rd.lvm=0
rd.dm=0 KEYTABLE=us SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.8.11-100.fc17.x86_64.img
}
submenu 'Advanced options for Fedora' $menuentry_id_option
'gnulinux-advanced-fff44737-3862-4f57-8931-fee302065237' {
menuentry 'Fedora, with Linux 3.8.11-100.fc17.x86_64' --class fedora
--class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-3.8.11-100.fc17.x86_64-advanced-fff44737-3862-4f57-8931-fee302065237'
{
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3
--hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'
d7937ba8-8976-40b7-9b4b-afec232d7369
else
search --no-floppy --fs-uuid --set=root
d7937ba8-8976-40b7-9b4b-afec232d7369
fi
echo 'Loading Linux 3.8.11-100.fc17.x86_64 ...'
linux /vmlinuz-3.8.11-100.fc17.x86_64
root=UUID=fff44737-3862-4f57-8931-fee302065237 ro rd.md=0 rd.lvm=0
rd.dm=0 KEYTABLE=us SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.8.11-100.fc17.x86_64.img
}
menuentry 'Fedora, with Linux 3.8.11-100.fc17.x86_64 (recovery mode)'
--class fedora --class gnu-linux --class gnu --class os
$menuentry_id_option
'gnulinux-3.8.11-100.fc17.x86_64-recovery-fff44737-3862-4f57-8931-fee302065237'
{
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3
--hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'
d7937ba8-8976-40b7-9b4b-afec232d7369
else
search --no-floppy --fs-uuid --set=root
d7937ba8-8976-40b7-9b4b-afec232d7369
fi
echo 'Loading Linux 3.8.11-100.fc17.x86_64 ...'
linux /vmlinuz-3.8.11-100.fc17.x86_64
root=UUID=fff44737-3862-4f57-8931-fee302065237 ro single rd.md=0
rd.lvm=0 rd.dm=0 KEYTABLE=us SYSFONT=latarcyrheb-sun16 rd.luks=0
LANG=en_US.UTF-8
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.8.11-100.fc17.x86_64.img
}
menuentry 'Fedora, with Linux 3.8.8-100.fc17.x86_64' --class fedora
--class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-3.8.8-100.fc17.x86_64-advanced-fff44737-3862-4f57-8931-fee302065237'
{
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3
--hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'
d7937ba8-8976-40b7-9b4b-afec232d7369
else
search --no-floppy --fs-uuid --set=root
d7937ba8-8976-40b7-9b4b-afec232d7369
fi
echo 'Loading Linux 3.8.8-100.fc17.x86_64 ...'
linux /vmlinuz-3.8.8-100.fc17.x86_64
root=UUID=fff44737-3862-4f57-8931-fee302065237 ro rd.md=0 rd.lvm=0
rd.dm=0 KEYTABLE=us SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.8.8-100.fc17.x86_64.img
}
10 years, 12 months
Re: OpenJRE or Oracle Jre
by poma
On 04.05.2013 09:59, Reindl Harald wrote:
>
>
> Am 04.05.2013 03:19, schrieb poma:
>> On 04.05.2013 00:41, Reindl Harald wrote:
>>>
>>>
>>> Am 04.05.2013 00:26, schrieb poma:> On 04.05.2013 00:01, Jim wrote:
>>>>> Fedora 18 ,is there openJRE instead of Oracles JRE ?
>>>>>
>>>>> What Packages would I download ?
>>>>
>>>> alternatives --config java ;)
>>>
>>> is not a package isn't it?
>>> please do not answer if you do not have one
>>
>> Please don't tell me or anyone else what to do and how to do,
>> señor Bernardo Gui. ;)
>
> someone needs to do if the question is "which package" and you
> answer with a irrelevant command
Irrelevant, for someone with a narrow perspective, certainly. :)
>>> "yum install java-1.7.0-openjdk" is the answer
>>> "yum install icedtea-web" is the answer for the browser plugin
>> […]
>>
>> Aren't you the one who wrote such beautiful words just for this
>> package[1]. :)
>> [1] http://lists.fedoraproject.org/pipermail/users/2013-February/431767.html
>
> yes, and in my reply written long before yours i explicitly said
> do NOT install it if you have no very good reason
Justify it anyway you want. ;)
poma
10 years, 12 months