[sles-beta] SLES12 Beta9 autoyast tmpfs bug

Joerg.Reisenweber at btc-it-services.com Joerg.Reisenweber at btc-it-services.com
Wed Jun 25 04:54:37 MDT 2014


Hi Ronny,

isn’t postpartitioning-scripts „(after partitioning and mounting to /mnt but before RPM installation—since openSUSE 11.2 and SLES11 SP3)” just what you were looking for? http://doc.opensuse.org/projects/autoyast/configuration.html#postpartitioning-install.scripts

Jörg

Von: sles-beta-bounces at lists.suse.com [mailto:sles-beta-bounces at lists.suse.com] Im Auftrag von Datacenter/DFS
Gesendet: Mittwoch, 25. Juni 2014 08:54
Cc: sles-beta at lists.suse.com
Betreff: Re: [sles-beta] SLES12 Beta9 autoyast tmpfs bug

Hello Darren,

If creating the /tmp partition in the post install script there might be leftover files from the installation in the /tmp directory on the ROOT partition. (No real problem but not nice anyway)

Thus it would be safer to create the tmpfs partition together with all other partitions before installing any files/rpms. As far as I know there is no script that runs right after yast’s partitioning and before installing.

Anyway the script is a good workaround. Thank you

Ronny


Von: Darren Thompson [mailto:darrent at akurit.com.au]
Gesendet: Dienstag, 24. Juni 2014 22:45
An: Datacenter/DFS
Cc: sles-beta at lists.suse.com<mailto:sles-beta at lists.suse.com>
Betreff: Re: [sles-beta] SLES12 Beta9 autoyast tmpfs bug

Team

Just speculating...

Wouldn't it be easier to setup the /tmp tmpfs thing in a 'post install' autoyast script?

forgive my crude example:
echo "tmpfs /tmp tmpfs rw,nosuid,nodev,relatime,mode=755 0 0" >> /etc/fstab

Just a thought..

Darren

On 25 June 2014 01:43, Datacenter/DFS <Datacenter at dfs.de<mailto:Datacenter at dfs.de>> wrote:
Hello,

>
> On Jun 24 08:31 Michael Baensch wrote (excerpt):
> > ... the generated file /root/autoinst.xml does not contain ...
>
> See
> https://bugzilla.novell.com/show_bug.cgi?id=882982
>
> How was /root/autoinst.xml generated?
>
> Automatically at the end of the installation or manually by calling "yast2 --ncurses
> clone_system" (or any equivalent GUI way you like and know that it works ;-)
>
> That makes a huge difference - at least for me, see
> https://bugzilla.novell.com/show_bug.cgi?id=882982#c4

For the tmpfs issue it makes no difference how the xml file is created.
I manually installed sles12 beta9 and configured /tmp as tmpfs.
This works fine.
Then I called yast2 --ncurses clone_system
The resulting xml file does not contain any tmpfs entry.

What I actually want to achieve: I want the xml "example" file for a tmpfs partition. Maybe someone can post an autoyast.xml extract with a tmpfs partition. I was unable to find a tmpfs example in the documentation.


Ronny



DFS Deutsche Flugsicherung GmbH
Am DFS-Campus
D - 63225 Langen

Tel.: +49-(0)6103-707-0

Sitz der Gesellschaft: Langen/Hessen
Zuständiges Registergericht: AG Offenbach am Main, HRB 34977
Vorsitzender des Aufsichtsrates: Michael Odenwald
Geschäftsführer: Prof. Klaus-Dieter Scheurle (Vors.), Robert Schickling, Dr. Michael Hann

Internet: http://www.dfs.de
Public-Key der DFS: http://www.dfs.de/dfs/public_key.asc <http://www.dfs.de/dfs/public_key.asc>
_______________________________________________
sles-beta mailing list
sles-beta at lists.suse.com<mailto:sles-beta at lists.suse.com>
http://lists.suse.com/mailman/listinfo/sles-beta



--

Darren Thompson

Professional Services Engineer / Consultant

 [cid:image001.jpg at 01CF9074.9F605390]

Level 3, 60 City Road

Southgate, VIC 3006

Mb: 0400 640 414

Mail: darrent at akurit.com.au<mailto:steve at akurit.com.au>
Web: www.akurit.com.au<http://www.akurit.com.au/>

DFS Deutsche Flugsicherung GmbH
Am DFS-Campus
D - 63225 Langen

Tel.: +49-(0)6103-707-0

Sitz der Gesellschaft: Langen/Hessen
Zuständiges Registergericht: AG Offenbach am Main, HRB 34977
Vorsitzender des Aufsichtsrates: Michael Odenwald
Geschäftsführer: Prof. Klaus-Dieter Scheurle (Vors.), Robert Schickling, Dr. Michael Hann

Internet: http://www.dfs.de
Public-Key der DFS: http://www.dfs.de/dfs/public_key.asc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.suse.com/mailman/private/sles-beta/attachments/20140625/39f0d616/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3692 bytes
Desc: image001.jpg
URL: <http://lists.suse.com/mailman/private/sles-beta/attachments/20140625/39f0d616/attachment.jpg>


More information about the sles-beta mailing list