Re: systemd autofs

2011-06-03 Thread Jan Willies
2011/6/1 Neal Becker 

> I tried out
>
> systemd-analyze blame
>
> and found that
>  3084ms cups.service
>  1354ms autofs.service
>
> I hardly need autofs, and not for boot.  Is there some way to tell systemd
> autofs is not a dependency of anything else?
>

systemctl disable autofs.service

or link it to /dev/null in /etc/systemd/system/
-- 
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


Re: systemd autofs

2011-06-03 Thread Jan Willies
2011/6/3 Neal Becker 

> Jan Willies wrote:
>
> > 2011/6/1 Neal Becker 
> >
> >> I tried out
> >>
> >> systemd-analyze blame
> >>
> >> and found that
> >>  3084ms cups.service
> >>  1354ms autofs.service
> >>
> >> I hardly need autofs, and not for boot.  Is there some way to tell
> systemd
> >> autofs is not a dependency of anything else?
> >>
> >
> > systemctl disable autofs.service
> >
> > or link it to /dev/null in /etc/systemd/system/
>
> I don't want to disable it - I do use it.  I just don't need it at boot,
> and
> don't want it slowing down boot.
>

Read more about it here:
http://0pointer.de/blog/projects/three-levels-of-off
-- 
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


Re: systemd, complex?

2011-06-15 Thread Jan Willies
2011/6/15 Ed Greshko 

> I must admit that I've not spent much time to digest what advantages
> there are to moving to systemd.  However, it does seem to be quite a
> complex system with, as of yet, hard to locate documentation.  I've also
> not had to debug any start up failures...but wanted to learn more about
> systemctl.
>

http://0pointer.de/blog/projects/systemd-docs.html
-- 
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


Re: Custom init scripts and systemd

2011-09-12 Thread Jan Willies
2011/9/13 Alex Thomas 

> Hello I use an older Thinkpad R32 as my primary linux machine. I use it
> primarily for web / email / chat while working or gaming on main machine.
> Since it did not come with an internal wifi card, I have to use the pc card
> port.  This has always been interesting because if I did not have an
> explicit pccard eject script on run on shutdown it would reboot instead of
> power off. What is the correct way to do this with systemd?
>
Make the unit-file WantedBy=shutdown.target.
-- 
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


Re: Any Fedora that would run SANE/SSHD on an ancient 486sx with 8MB RAM?

2011-03-08 Thread Jan Willies
2011/3/8 Fernando Cassia :
> On Tue, Mar 8, 2011 at 7:41 AM,   wrote:
>> Why not a virtual machine with pci-delegation?
>
> I'm not following how that would work...
>
> The idea is to have the ancient scanner with automatic document
> feeder, inside a cabinet, connected through scsi to the 486sx, and SSH
> from my current destop to the 486sx, and initiate a scan...
>
> The cabinet is already wired with Ethernet...
>
> I don have any SCSI adapters on my system nor I want to buy any (or
> firewire-scsi or USB-scsi adapters for that matter). If I can make it
> work with what I have (486sx laptop sitting on a shelf), and
> pcmcia-scsi adapter, that'd be better. :)

You could try OpenWrt.
-- 
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


Re: ecryptfs and password

2011-04-25 Thread Jan Willies
2011/4/25 ssc1478 

> On Mon, Apr 25, 2011 at 6:48 AM, Steve Searle 
> wrote:
> > Around 10:34am on Monday, April 25, 2011 (UK time), Gregory Hosler
> scrawled:
> >
> >> putting the passphrase into /etc/crypttab does make it readily available
> (which
> >> reduces the effectiveness of encrypting to begin with).
> >>
> >> However ... crypttab has allowance of putting the passphrase into a
> file. By
> >> doing so, and then chown root:root combined with chmod 400, only the
> root user
> >> has availability of the passphrase. This allows the partition to be
> persistently
> >> mounted at boot time w/o directly compromising the passphrase.
> >>
> >> Should someone crack the root account, you probably have more serious
> problems
> >> than worrying about the encrypted password...
> >
> > I see encryption's value aparticularly tparticularly  defending against
> > data loss because the computer has been stolen, where it could then be
> > booted at run level 1. And possibly against access by an intruder into
> > the building.
> >
> > So not sure what value there is in setting up the encryption password in
> > /etc/crypttab - or have I misunderstood something?
> >
> > Steve
>
> This is exactly why I encrypt the home directory - to defend against
> theft.  But entering the passphrase at every boot each time is not all
> that friendly.


I have the same setup - but I let GDM autologin into Gnome. So, on a
cold-boot, I still have to enter just one password.
-- 
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


Re: F 15. 64 bit versus 32 bit.

2011-05-24 Thread Jan Willies
2011/5/24 Rahul Sundaram 

> On 05/24/2011 08:57 PM, Bill Davidsen wrote:
> > What? Are you saying that KVM support is out of the PAE 32bit kernel?
> Because
> > libvirt, virt-manager, etc, are definitely shown as available packages.
> As far
> > as limitations and performance go, unless you have applications which
> push the
> > 4GB memory limit of PAE, you will be essentially the same in either case,
> but
> > will have a harder time finding third party applications for 64 bit.
>
> I was talking *only* about RHEL support but here are the details if you
> want to know
>
> http://www.redhat.com/rhel/server/virtualization_support.html


SPICE is only available for x86_64
-- 
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


Re: Set inittab to 3 -

2011-05-25 Thread Jan Willies
2011/5/25 Bob Goodwin 

>New install F-15: When I attempted to change the inittab setting
>from 5 to 3 as I normally do I was told that was no longer the way.
>
>I should do ln -s ...
>
>That told me the file already existed so I deleted it and ran
>the command again with the appropriate changes.
>
>Now I can no longer boot. I get the blue screen with the egg in
>the center which grows slowly to perhaps 90% and the process
>stops. Now I can't boot so I can't repair things. Do I need to
>reinstall F-15?
>

Your can boot with systemd.unit=emergency.target and fix it.
-- 
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


Re: Set inittab to 3 -

2011-05-25 Thread Jan Willies
2011/5/25 Bob Goodwin 

> On 25/05/11 05:33, Jan Willies wrote:
> > 2011/5/25 Bob Goodwin 
> >
> >New install F-15: When I attempted to change the inittab
> > setting
> >from 5 to 3 as I normally do I was told that was no longer
> > the way.
> >
> >I should do ln -s ...
> >
> >That told me the file already existed so I deleted it and ran
> >the command again with the appropriate changes.
> >
> >Now I can no longer boot. I get the blue screen with the egg
> in
> >the center which grows slowly to perhaps 90% and the process
> >stops. Now I can't boot so I can't repair things. Do I need to
> >reinstall F-15?
> >
> >
> > Your can boot with systemd.unit=emergency.target and fix it.
>
> Where do I put that command, in the grub screen I assume but where?
>

In the kernel-line, where you did put '3'.

'3' should translate to 'systemd.unit=multi-user.target', see
http://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet
-- 
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


Re: Set inittab to 3 -

2011-05-25 Thread Jan Willies
2011/5/25 Jan Willies 

> 2011/5/25 Bob Goodwin 
>
>> On 25/05/11 05:33, Jan Willies wrote:
>> > 2011/5/25 Bob Goodwin 
>> >
>> >New install F-15: When I attempted to change the inittab
>> > setting
>> >from 5 to 3 as I normally do I was told that was no longer
>> > the way.
>> >
>> >I should do ln -s ...
>> >
>> >That told me the file already existed so I deleted it and ran
>> >the command again with the appropriate changes.
>> >
>> >Now I can no longer boot. I get the blue screen with the egg
>> in
>> >the center which grows slowly to perhaps 90% and the process
>> >stops. Now I can't boot so I can't repair things. Do I need
>> to
>> >reinstall F-15?
>> >
>> >
>> > Your can boot with systemd.unit=emergency.target and fix it.
>>
>> Where do I put that command, in the grub screen I assume but
>> where?
>>
>
> In the kernel-line, where you did put '3'.
>

Ah sorry, you edited /etc/inittab. Yes, in the grub screen at the end of the
'kernel-line'
-- 
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


Re: Set inittab to 3 -

2011-05-26 Thread Jan Willies
2011/5/25 Bob Goodwin 

> On 25/05/11 05:48, Jan Willies wrote:
> > Ah sorry, you edited /etc/inittab. Yes, in the grub screen at the end
> > of the 'kernel-line'
>
> Once I was able to boot F15 again it would produce an error
>message instead of starting xfce. Reinstalling is a lot faster
>than troubleshooting at this point so I elected to reinstall a
>third time and start over.
>
>That done I am back at the same impasse. It seems to me that I
>should not have to jump through all these hoops just to
>accomplish what has always been a simple configuration change. I
>do not consider this an improvement.
>
>The starting point, bringing /etc/inittab up in a text editor
>produces:
>
># inittab is no longer used when using systemd.
>#
># ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
>#
># Ctrl-Alt-Delete is handled by
>/etc/systemd/system/ctrl-alt-del.target
>#
># systemd uses 'targets' instead of runlevels. By default, there
>are two main targets:
>#
># multi-user.target: analogous to runlevel 3
># graphical.target: analogous to runlevel 5
>#
># To set a default target, run:
>#
># ln -s /lib/systemd/system/.target
>/etc/systemd/system/default.target
>#
>
>So I Think I have done what it says I should do:
>
>
>[bobg@box6]$ ln -s /lib/systemd/system/multi-user.target
>/etc/systemd/system/default.target
>ln: failed to create symbolic link
>`/etc/systemd/system/default.target': File exists
>
>And this is where I got in trouble before. What must I do to fix
>this?
>

You can first try to boot with systemd.unit=multi-user.target before making
any permament change.

See the other replies for the symlinking issue.
-- 
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


Re: Set inittab to 3 -

2011-05-26 Thread Jan Willies
2011/5/26 Bob Goodwin 

> On 26/05/11 03:15, Jan Willies wrote:
> >
> >
> > You can first try to boot with systemd.unit=multi-user.target before
> > making any permament change.
> >
> > See the other replies for the symlinking issue.
>
>
>I can enter "a" at the grub screen and then
>"systemd.unit=multi-user.target" and get a text log-in screen.
>
>Can I put "systemd.unit=multi-user.target" in grub.conf?
>

You can put it in /boot/grub/menu.lst

It should have the same effect as "ln -sf
/lib/systemd/system/multi-user.target /etc/systemd/system/default.target"
-- 
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


Re: Set inittab to 3 -

2011-05-26 Thread Jan Willies
2011/5/26 Bob Goodwin 

> On 26/05/11 11:19, Jan Willies wrote:
> > 2011/5/26 Bob Goodwin 
> >
> >     On 26/05/11 03:15, Jan Willies wrote:
> > >
> > >
> > > You can first try to boot with systemd.unit=multi-user.target
> before
> > > making any permament change.
> > >
> > > See the other replies for the symlinking issue.
> >
> >
> >I can enter "a" at the grub screen and then
> >"systemd.unit=multi-user.target" and get a text log-in screen.
> >
> >Can I put "systemd.unit=multi-user.target" in grub.conf?
> >
> >
> > You can put it in /boot/grub/menu.lst
> >
> > It should have the same effect as "ln -sf
> > /lib/systemd/system/multi-user.target /etc/systemd/system/default.target"
>
> But where to put it?
>
>#boot=/dev/sda
>default=0
>timeout=10
>splashimage=(hd0,1)/grub/splash.xpm.gz
>
>title Fedora (2.6.35.13-91.fc14.i686.PAE)
> root (hd0,1)
> kernel /vmlinuz-2.6.35.13-91.fc14.i686.PAE ro
>root=/dev/mapper/vg_box9-lv_root rd_LVM_LV=vg_box9/lv_root


kernel /vmlinuz-2.6.35.13-91.fc14.i686.PAE
ro root=/dev/mapper/vg_box9-lv_root
rd_LVM_LV=vg_box9/lv_root systemd.unit=multi-user.target

(one line)
-- 
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


Re: Set inittab to 3 -

2011-05-26 Thread Jan Willies
2011/5/26 Bob Goodwin 

> On 26/05/11 11:34, Jan Willies wrote:
> > 2011/5/26 Bob Goodwin 
> >
> >     On 26/05/11 11:19, Jan Willies wrote:
> > > 2011/5/26 Bob Goodwin 
> > >
> > > On 26/05/11 03:15, Jan Willies wrote:
> > > >
> > > >
> > > > You can first try to boot with systemd.unit=multi-user.target
> > before
> > > > making any permament change.
> > > >
> > > > See the other replies for the symlinking issue.
> > >
> > >
> > >I can enter "a" at the grub screen and then
> > >"systemd.unit=multi-user.target" and get a text
> > log-in screen.
> > >
> > >Can I put "systemd.unit=multi-user.target" in grub.conf?
> > >
> > >
> > > You can put it in /boot/grub/menu.lst
> > >
> > > It should have the same effect as "ln -sf
> > > /lib/systemd/system/multi-user.target
> > /etc/systemd/system/default.target"
> >
> >But where to put it?
> >
> >#boot=/dev/sda
> >default=0
> >timeout=10
> >splashimage=(hd0,1)/grub/splash.xpm.gz
> >
> >title Fedora (2.6.35.13-91.fc14.i686.PAE)
> > root (hd0,1)
> > kernel /vmlinuz-2.6.35.13-91.fc14.i686.PAE ro
> >root=/dev/mapper/vg_box9-lv_root rd_LVM_LV=vg_box9/lv_root
> >
> >
> > kernel /vmlinuz-2.6.35.13-91.fc14.i686.PAE
> > ro root=/dev/mapper/vg_box9-lv_root
> > rd_LVM_LV=vg_box9/lv_root systemd.unit=multi-user.target
> >
> > (one line)
>
>
> Ok, did that and it works as desired. However when the kernel is
>replaced I suspect that will have to be re-entered. But I can
>live with that for now.
>

No need, it should be carried over.
-- 
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


Re: F15 long boot time

2011-05-27 Thread Jan Willies
2011/5/27 Dr. Michael J. Chudobiak 

> On 05/26/2011 06:05 PM, Bob Goodwin wrote:
> >  On a new F15 install replacing F14. The boot process pauses at
> >  "Start LSB: The cups scheduler" for 60 seconds before going on
> >  to the text log-in. I don't know what the cups scheduler is or
> >  what to do with it.
> >
> >  Does anyone know what I need to do to fix this?
>
> My boot process often pauses at that point, but it isn't because of cups
> (even if that is the last message). It's because of the next message.
>
> Check your boot logs carefully to see what comes after the cups message.
>
> In my case, it is waiting for a NFSv4 mount to come alive. I am not sure
> why that takes so long.
>

noauto,comment=systemd.automount in /etc/fstab should help

see
http://www.happyassassin.net/2011/05/12/cute-systemd-trick-of-the-day-auto-mounting-remote-shares/
-- 
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


Re: F15 connection sharing

2011-05-31 Thread Jan Willies
2011/5/29 Pasha R 

> I'm trying to figure out the connection sharing option in F15. I
> connect to internet using PPPoE, and, till now, I used "old" network
> configuration (and disabled network manager) to setup a static IP
> address and PPPoE connection, and then used masquerading to share
> connection to other computers on the network.
> In F15 I can't find a way to make such configuration and also can't
> find  an option in NM to enable connection sharing for DSL connection.
> Is there anything I'm missing?
>

http://blogs.fedoraproject.org/wp/mclasen/2011/05/26/share-your-network-with-gnome-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


Re: f15 kernel on f14?

2011-06-01 Thread Jan Willies
2011/6/1 Alex 

> Hi all,
>
> Is it possible to use the fc15 kernel on fc14, and if so, how would
> you go about doing that?
>

I'm using the one from koji, works fine.
-- 
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